#31653 [NEW]: basename return error

From: Date: Sat, 22 Jan 2005 06:57:41 +0000
Subject: #31653 [NEW]: basename return error
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-72651@lists.php.net to get a copy of this message
From: hunreal at gmail dot com Operating system: FreeBSD 4.11 PHP version: 5CVS-2005-01-22 (dev) PHP Bug Type: *General Issues Bug description: basename return error 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 bug report at http://bugs.php.net/?id=31653&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31653&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31653&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31653&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31653&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31653&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31653&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31653&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31653&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31653&r=support Expected behavior: http://bugs.php.net/fix.php?id=31653&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31653&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31653&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31653&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31653&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31653&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31653&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31653&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31653&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31653&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31653&r=mysqlcfg

« previous php.bugs (#72651) next »