katten
08-26-2008, 05:05 PM
Well my problem is that i want to convert urls into friendly ones thus removing the .php
so i have my application http://localhost/dev/public_html
and in the public_html folder i have multiple files such as chat.php/index.php/article.php etc
what i want to do is to remove .php from the url
thus having http://localhost/dev/public_html/chat instead of http://localhost/dev/public_html/chat.php
I dont want to write a condition for each page
And i also dont know how many paramters each page might have
so i have my application http://localhost/dev/public_html
and in the public_html folder i have multiple files such as chat.php/index.php/article.php etc
what i want to do is to remove .php from the url
thus having http://localhost/dev/public_html/chat instead of http://localhost/dev/public_html/chat.php
I dont want to write a condition for each page
And i also dont know how many paramters each page might have