Close Window
Use a Form to send a text message
<?
if (!isset($chg)) { $chg = " ";}
if ($chg = "y") {
$logdate=date("Y/m/d H:i");
$message = "$textmsg";
$subject = "IM from $REMOTE_ADDR";
$headers = "From:anyone@anydomain.com\n";
$recipient = "email@address.net";
mail($recipient, $subject, $message, $headers);
$chg=" ";
}
?>
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<Meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>flipnation</title>
</head>
<!--(Body)==========================================================-->
<body bgcolor="#ff66ff">
<?
include('zzmenu.php');
?>
<center>
<h1>Text me</h1>
<Form action="aaptext.php" method="post">
<Input type="Text" size="60" maxlength="60" name="textmsg">
<Input type="Submit" value="Send message">
<Input type="Hidden" name="chg" value="y">
</Form>
Close Window