ID: 31653
User updated by: hunreal at gmail dot com
Reported By: hunreal at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: *General Issues
Operating System: FreeBSD 4.11
PHP Version: 5CVS-2005-01-22 (dev)
New Comment:
The win32 build work correctly with both unix path and windows path.
But the src build in *nix is only work with basename(unix path)
Previous Comments:
------------------------------------------------------------------------
[2005-01-22 07:57:41] hunreal at gmail dot com
Description:
------------
basename() error
Reproduce code:
---------------
<?
echo basename('C:\Backup\My Documents\My Pictures\Diablotin.jpg');
?>
Expected result:
----------------
result
------------
Diablotin.jpg
------------
Actual result:
--------------
result
----------
C:\Backup\My Documents\My Pictures\Diablotin.jpg
----------
It also make the file upload function run incorrectly.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31653&edit=1