From: [EMAIL PROTECTED]
Operating system: Windows NT
PHP version: 4.1.1
PHP Bug Type: Filesystem function related
Bug description: fopen to a URL containing spaces fails
Using fopen to access a remote file will fail if the URL path contains
spaces.
A server contains the following files:
/Test Dir/default.asp
/TestDir/default.asp
The following fopen will succeed:
$f = fopen ("http://server/TestDir/default.asp", "r");
while this one will fail:
$f = fopen ("http://server/Test Dir/default.asp", "r");
I have tried replacing them with "%20" and escaping the spaces "\ " but
neither succeed.
The above fails on both IIS and PWS.
--
Edit bug report at http://bugs.php.net/?id=16510&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16510&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16510&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16510&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16510&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16510&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16510&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16510&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16510&r=submittedtwice