<?
$fn="test.txt";
$text="This text will be written inside the test.txt.";
$fp=fopen($fn,"w"
![winking smiley winking smiley](./mods/smileys/images/smilie3.gif)
;
fwrite($fp,$text);
fclose($fp);
?>
this is the demo for the fwrite-function ... but it will not work.
i've using WinXP Home SP2 with Wamp5 on it..
I cant set the fileattributes for test.txt to 777 so what can i do???
PLZ HELP THX