Richard Dobson wrote:
We've headed way off topic here ;) My point was simply that PHP might be issuing redirects in the same way that Apache does when given an URL without the trailing slash. I don't know if PHP does this, but I imagine it is possible, especially if using existing libraries of other people's PHP code...I still dont understand what you are on about here, these silent apache redirects have nothing to do with PHP since they happen at a higher level in the server before PHP will even be executed.
One case where I could see this happening is when PHP is used to format/display a heirarchy of data - eg. you have a script living at http://myserver.com/phpscript and you sent a request for http://myserver.com/phpscript/foo/bar. Then the script runs with PATH_INFO set to "/foo/bar"... but maybe bar is a directory, and the PHP routine might chose to return a redirect to the full URL instead:
http://myserver.com/phpscript/foo/bar/file.xml
-Ralph
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev
