Clean URL with $_SERVER without mod_rewrite?
Posted: Mon Apr 20, 2009 3:29 pm
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
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