Im trying to make my script so that it sends the text from 2 text boxes to the top, but i can only get it to bottom
the send.php
$thedate = date("F d, Y");
$filename = "downloads.php";
$user = $_GET["name"];
$message = $_GET["message"];
$out = fopen($filename, "a");
if (!$out)
{
print("Could not append to file");
exit;
}
fputs ($out,implode,("\n"));
fwrite($out,"$thedate - $name
");
fclose($out);
?>
in html file to send to code:
Admin Add Download
2007-02-28
15:45:03
·
3 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design