[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > hi there i have a little problem writing files on a php3 server this code > worked yesterday but isnt > > $handle = fopen("/www_tools/apache/htdocs/phptest/temp_real/test.inc",'a');
Test your $handle to see if you successfully opened the file. if (! $handle) { // check permissions die('croak: can't open the file'); } > $buffer = "test"; > echo fwrite($handle,$buffer,4000); > fclose($handle); > > i get a filesize of 0 and nothing writes to it what could it be ? > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php