The following "write-to-file" routine works on HP-UX, but not on SuSE Linux:
<?php
$record = "${name}:${age}:${race}:${gender}:${status}\n";
$fp = fopen("/tmp/form.out","a"
fputs($fp,$record,strlen($record));
fflush($fp);
fclose($fp);
?>
Any explanations as to why it works on HP-UX, and not on Linux, would be greatly appreciated...
TIA
Joe
<?php
$record = "${name}:${age}:${race}:${gender}:${status}\n";
$fp = fopen("/tmp/form.out","a"
fputs($fp,$record,strlen($record));
fflush($fp);
fclose($fp);
?>
Any explanations as to why it works on HP-UX, and not on Linux, would be greatly appreciated...
TIA
Joe