parsing /'s in urls
| From: | leehro at bellsouth dot net | Date: | Fri, 12 Nov 2004 05:11:16 +0000 |
| Subject: | parsing /'s in urls | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-201823@lists.php.net to get a copy of this message | ||
My host recently upgraded PHP. I had a script, download.php, that would
work like this
http://www.myhost.com/download.php/30/file.torrent
the download.php script would take the 30, look up the real filename in the
database, and readfile() it back. this was a great setup because the
browser just thought it was accessing a direct link to a file.
But now download.php/30/file.torrent results in a 404.
Is this something I can change back?
Dan