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
Clean URL with $_SERVER without mod_rewrite?
Moderator: General Moderators
-
lauthiamkok
- Forum Contributor
- Posts: 153
- Joined: Wed Apr 01, 2009 2:23 pm
- Location: Plymouth, United Kingdom
Clean URL with $_SERVER without mod_rewrite?
Last edited by lauthiamkok on Mon Apr 20, 2009 3:31 pm, edited 1 time in total.
Re: Clean URL with $_SERVER without mod_rewrite?
***** 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
u wanna use md_rewirte u only need $_SERVER['PHP_SELF'] to get a cleaner url which i answerd in ur last post