Hi, i’ve been wondering for a while how its done but have always put it down to being a different programming language.
Today i see it again in the Zend Framework website but now i know for sure that its PHP: URLs that end with no file name or directory e.g.
[url]http://framework.zend.com/behind-the-site
If you put ‘.php’ at the end then it’s not a file, if you put ‘/index.php’ then you find its not a directory – so what is it, how is it done?
Also, killing two birds with one stone, on my home server if i have a file at /dir/filename.php and i access it like so /dir/filename then it still works. I have not seen this before either and it does not appear to work on any other servers – what setting allows that to happen? (Apache servers on Linux btw)
Thanks in advance