fwrite($fp,$text); dont work
Posted by: Digo (---.versanet.de)
Date: January 20, 2006 07:12PM

<?
$fn="test.txt";
$text="This text will be written inside the test.txt.";

$fp=fopen($fn,"w"winking smiley;
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

Options: ReplyQuote


Sorry, only registered users may post in this forum.