Bug #18257: fopen prob
| From: | no at internet dot de | Date: | Wed, 10 Jul 2002 07:22:34 +0000 |
| Subject: | Bug #18257: fopen prob | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-13692@lists.php.net to get a copy of this message | ||
From: no@internet.de
Operating system: RedHat 7.3
PHP version: 4CVS-2002-07-10
PHP Bug Type: Filesystem function related
Bug description: fopen prob
In latest CVS something like this is broken:
$out=fopen("file","w") || die ("file won't
open");
in such a condition the file will never be created ... and instead you get
something like "PHP Warning: fwrite(): supplied argument is not a valid
File-Handle resource in ..." when you try an fwrite afterwards (but the
file has been created correctly...)
--
Edit bug report at http://bugs.php.net/?id=18257&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18257&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18257&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18257&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18257&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18257&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18257&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18257&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18257&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18257&r=globals