fwrite/fopen

From: Date: Fri, 10 Jun 2005 23:03:01 +0000
Subject: fwrite/fopen
Groups: php.general 
Request: Send a blank email to php-general+get-216832@lists.php.net to get a copy of this message
Hi, I having a problem at the moment, I open a file, try to write in it, and then remove the file if the write goes wrong (if write count != of my initial buffer length). But I still get some empty file (and then a blank page). Could possibly fopen (with a 'wb' flag, and under freebsd 4.11) failed but still create that empty file ? Where could I get more info on the behavior of fopen/fwrite ? Thanks for your help.

« previous php.general (#216832) next »