[wplug] PHP help
Mike
techmike at gmail.com
Thu Jan 5 08:43:26 EST 2006
<?php
$fname = "yourfile.html";
$mycontent = "Blah Blah Blah";
$fp = fopen($fname,"w");
$blah = fwrite($fp,$mycontent);
fclose($fp);
?>
Something like this should work..
Don't forget to chmod yourfile.html to be writable by PHP..
-mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.wplug.org/pipermail/wplug/attachments/20060105/776bda60/attachment.html
More information about the wplug
mailing list