Go4Expert

Go4Expert (http://www.go4expert.com/)
-   PHP (http://www.go4expert.com/forums/php/)
-   -   URL Mapping !! (http://www.go4expert.com/forums/url-mapping-t13796/)

Bhullarz 13Sep2008 09:30

URL Mapping !!
 
Hi ! how to map url in php ?

if the url is given:
Code:

www.example.com/e2
I want that a PHP page should receive e2 as parameter. Is it possible in PHP ?

codestorm 18Sep2008 16:44

Re: URL Mapping !!
 
You'll need to use mod_rewrite, google for mod_rewrite.

Bhullarz 18Sep2008 21:50

Re: URL Mapping !!
 
Quote:

Originally Posted by codestorm
You'll need to use mod_rewrite, google for mod_rewrite.

I think its server dependent. But usually free Hosting services don't provide such features. I am thinking of a function, a string function to do so. whenever i prepare this, i will post it here. Till then, if anybody have any other idea, please come and post here. thanks anyways.

codestorm 19Sep2008 10:47

Re: URL Mapping !!
 
http://sitepoint.com/article/guide-url-rewriting


All times are GMT +5.5. The time now is 15:02.