Wed Jul 25, 2007 2:31 pm
<?
$myname="DATA TO WRITE";
$fh = fopen("f.txt", 'w') or die("Can't open $file for writing: $php_errormsg");
if (-1 == fwrite($fh, $myname)) { die("Can't write to $file:
$php_errormsg"); }
fclose($fh) or die("Can't close $file: $php_errormsg");
?>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.