| Welcome to WebmasterWorld Guest from 220.127.116.11 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|How to read URL Segments?|
Passing parameters to a PHP script via the URL is normally done by using the question mark:
However, I've seen some sites usa a different URL structure:
How does Apache behave in this case? Does it call the index.php file, and does it then pass the "/foo/stuff" string to it?
Does Apache need any special configuration to do this, or it does this by default? If so, how then can I catch such string "/foo/stuff" in my PHP script?
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved