RE: [PHP] parsing /'s in urls

2004-11-12 Thread Dennis Seavers
The link offers a CGI error, which is admittedly an uninteresting result. 
I think you'll need to indicate what your previous results were and, if
different, what your desired results are.

Dennis


 [Original Message]
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Date: 11/11/2004 11:58:10 PM
 Subject: [PHP] parsing /'s in urls

 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

 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] parsing /'s in urls

2004-11-11 Thread leehro
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php