Page 1 of 1

Clean URL with $_SERVER without mod_rewrite?

Posted: Mon Apr 20, 2009 3:29 pm
by lauthiamkok
Hi,

I have posted a thread before about cleaning URL with $_SERVER['PATH_INFO'], and knowing it is not a good one to clean URL. Which indices of $_SERVER is the best for cleaning URL then?

After all, does any one know what the idea behind using $_SERVER to clean the URL? I still cant get it yet after reading a few tips online...

These are the source I came across so far, does any one know of a better source or tutorial about cleaning the URL without actually has to worry about mod_rewrite?

http://www.tutorio.com/tutorial/php-alt ... y-urls.htm

Many thanks,
Lau

Re: Clean URL with $_SERVER without mod_rewrite?

Posted: Mon Apr 20, 2009 3:30 pm
by jazz090
***** Please use complete words in your posts. We want everyone to be able to read all posts. *****

u wanna use md_rewirte u only need $_SERVER['PHP_SELF'] to get a cleaner url which i answerd in ur last post