How is: index.php/somepage/anotherpage

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
evilcoder
Forum Contributor
Posts: 345
Joined: Tue Dec 17, 2002 5:37 am
Location: Sydney, Australia

How is: index.php/somepage/anotherpage

Post by evilcoder »

how is this done? i've seen it around alot lately.

Currently i'm using a system where my index page has no extension and i use htaccess to give it ForceType PHP usage.

eg: mydom.com/index/file

where "file" calls a function.

I'd be interested to know.

Thanks guys
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

a lot of servers do some checks on each "directory" in the path... basically seeing if it's an (executable) script/file.. if found, it'll call that with the full url data..
Post Reply