#25181 [Bgs]: bug #14049 is back

From: Date: Wed, 20 Aug 2003 23:03:46 +0000
Subject: #25181 [Bgs]: bug #14049 is back
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-46351@lists.php.net to get a copy of this message
 ID:               25181
 User updated by:  brandon dot whitehead at orst dot edu
 Reported By:      brandon dot whitehead at orst dot edu
 Status:           Bogus
 Bug Type:         *Directory/Filesystem functions
 Operating System: Windows / Linux
 PHP Version:      4.3.2
 New Comment:

I ran the exact line of code from the other bug (copied and pasted, I
added the missing quote).  I get the exact output described in the bug
when I tested it on Linux and Windows, both running 4.3.2.  I ran this
test with the command line interface.  

<?php echo '['.realpath('./invalid/dir/or/file/name'.']'; ?>

These results:

On Windows : [d:\http\invalid\dir\or\file\name]
On Linux   : []

The function should return false if the file is not a valid file
(according to the documentation).  It does not do this in Windows.  I
am not making this up.


Previous Comments:
------------------------------------------------------------------------

[2003-08-20 17:52:04] sniper@php.net

It return FALSE on failure. No bug here.


------------------------------------------------------------------------

[2003-08-20 17:50:08] sniper@php.net

No it isn't.


------------------------------------------------------------------------

[2003-08-20 16:42:19] brandon dot whitehead at orst dot edu

Description:
------------
BUG #14049: Exact problem is back.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=25181&edit=1



Thread (8 messages)

« previous php.bugs (#46351) next »