From:             axelr3 at btinternet dot com
Operating system: Windows 2k
PHP version:      4.3.2
PHP Bug Type:     Filesystem function related
Bug description:  basename failing on UNC paths

Description:
------------
All running on Windows 2k with Apache 1.3.27 where DocumentRoot in Apache
configuration was set to '//w2kserver/data/website/root'

<?php
  $file = basename(__FILE__);
  echo $file;
?>

$file was being set to '\\w2kserver\data\website\root\test.php'

Mapped the drive to N: so it now looks like 'n:/website/root' and update
the Apache config and $file is now 'test.php'




-- 
Edit bug report at http://bugs.php.net/?id=24318&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=24318&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=24318&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24318&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24318&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24318&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24318&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24318&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24318&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24318&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24318&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24318&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24318&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24318&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24318&r=gnused

Reply via email to