RE: [PHP] Potential bug?

From: Date: Sat, 04 Aug 2001 21:27:55 +0000
Subject: RE: [PHP] Potential bug?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-61272@lists.php.net to get a copy of this message
I have the same problem running Win98, Apache 1.3.17 and PHP 4.0.6 as an Apache Module. It doesn't return the source, but it's strange... -----Original Message----- From: Anthony Lieuallen [mailto:arantius@yahoo.com] Sent: 22 July 2001 16:30 To: php-general@lists.php.net Subject: [PHP] Potential bug? I've just discovered a weird quirk in PHP. I'd first like to check if it is a known bug/weird feature/something else already known. I've not yet tested it much, except I see it doesn't happen on every script, but either of the two results are quite strange to me. Suituation: file myscript.php exists, directory myscript/ does not. If I browse to http://myhost/myscript.php all is well. But http://myhost/myscript/ does return something, where I expect a '404 not found'. Sometimes it just returns myscript.php. BUT sometimes it returns the PHP source (minus PHP comments). Aslo, http://myhost/myscript/anything/anything/bla.bla.bla returns the same. I was running PHP 4.0.4pl1 on RedHat Linux 6.2, kernel 2.4.6. I upgraded to PHP 4.0.6 and still see this behavior. P.S. For the curious I discovered this because a personal site I have uses directory/admin.php for site admin, while another site I am developing at work uses directory/admin/ and I typed the wrong one at home :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#61272) next »