Menu
WHy wont my text file update?
this says that there is a connect error.. I have tried fwrite().. everything.. it all wont write to the file.. the only thing that works is if i read and echo…
THIS WORKS
[QUOTE]
<?php
$news = file(“file.txt”);
echo $news[0]. “<br>”;
echo $news[1] . “<br>” . $news[2]
?>
But this doesn’t???
[QUOTE]
<?php
$file = fopen(“test.txt”,”w”);
echo fwrite($file,”Hello World. Testing!”);
fclose($file);
?>
Does this mean that my php server doesn’t allow it?? b/ci have a huge forum on my site… [url]www.106clan.org