Newbie question:
I try to modify a txt-file but get "not writable" error.
(just like in http://www.php.net/manual/en/function.fwrite.php )
Here is the code, stripped to the original, straight from the tutorial.
And I can't get it work. What's wrong here?
$somecontent = 'PERKELE\n';
$filename = 'teksti.txt';
$handle = fopen($filename, 'wb');
fwrite($handle, $somecontent);
fclose($handle);
I've tried this in two totally different servers, today I'll try on the
third one.
All help absolutely welcome!
Paul Dunkel
--
pdunkel.nic.fi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php