Wierd query strings

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Wierd query strings

Post by josh »

On a website I use that is written in php the URL at the top looks like this:
http://website.com/settings
http://website.com/profile
but I know the only php file it is reading is http://website.com/index.php and they are some how takeing the /settings and gettting rid of the / and storeing it in a variable

for instance when i go to edit my settings the URL it takes me to is http://www.website.com/user/edit/jshpro2/
and I know they do not have 7,000 folders in the edit folder...

How is this acheived?
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

google for mod_rewrite
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Post by josh »

Cool, thanks
Post Reply