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] [EMAIL PROTECTED]

It return FALSE on failure. No bug here.


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

[2003-08-20 17:50:08] [EMAIL PROTECTED]

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

Reply via email to