#18623 [NEW]: touch, fopen, fwrite don't work

From: Date: Mon, 29 Jul 2002 14:17:49 +0000
Subject: #18623 [NEW]: touch, fopen, fwrite don't work
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15497@lists.php.net to get a copy of this message
From: nohn@php.net Operating system: Compaq Tru64/Alpha PHP version: 4CVS-2002-07-29 PHP Bug Type: Filesystem function related Bug description: touch, fopen, fwrite don't work touch("reports/test.txt"); $fp = fopen("reports/test.txt","w"); fwrite($fp, $wddx); fclose($fp); Fails on Compaq Tru64/Alpha: Warning: Unable to access reports/test.txt in test.php on line 76 Warning: Unable to access reports/test.txt in test.php on line 77 Warning: fopen("reports/test.txt ") - No such file or directory in test.php on line 77 Warning: fwrite(): supplied argument is not a valid File-Handle resource in test.php on line 78 Warning: fclose(): supplied argument is not a valid File-Handle resource in test.php on line 79 Works fine with PHP 4.2.0 on the same machine. -- Edit bug report at http://bugs.php.net/?id=18623&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18623&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18623&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18623&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18623&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18623&r=support Expected behavior: http://bugs.php.net/fix.php?id=18623&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18623&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18623&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18623&r=globals

« previous php.bugs (#15497) next »