note 2444 deleted from fwrite by ronabop
| From: | ronabop@php.net | Date: | Fri, 18 Aug 2000 05:07:20 +0000 |
| Subject: | note 2444 deleted from fwrite by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2423@lists.php.net to get a copy of this message | ||
When I try to write to the end of the file it doesn't.
I made a file which writes 25 bytes to the end of the file, but when I reload
the page, then it just rewrites the same place.
Here's my file:
<pre>
<?
$html_fail = "kirjutamis_fail.txt";
$fp = fopen( $html_fail,"a+");
$k_hulk = 26;
printf("<br>kirjutamine: %d", fwrite( $fp, "12345678901234567890123456",
$k_hulk) );
fclose($fp);
?>
</pre>