Thu Jul 26, 2007 8:47 am
<?
$myname="DATA TO WRITE";
$fh = fopen("f.txt", 'a') 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.