Page 1 of 1

Wierd query strings

Posted: Tue Nov 16, 2004 2:25 pm
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?

Posted: Tue Nov 16, 2004 2:31 pm
by kettle_drum
google for mod_rewrite

Posted: Tue Nov 16, 2004 2:37 pm
by josh
Cool, thanks