Просмотр файла EmailToMe/send.php

Размер файла: 0.98Kb
<?php
/*	*
	*
**************************************
	*				      *
	* Made by:  SallSon		      *
	* WAP Site: http://sallson.surfs.it   *
	* Version:  1.0			      *
	*				      *
		***************************************
					      *
					      *
*/
include('config.php');
require_once('header.php');

echo"<small>";

$date = date("d.m.Y");
$clock = date("H:i:s");
$browser = explode ('/', $HTTP_USER_AGENT);
$user = $browser[0];
$ip = $REMOTE_ADDR;

if ($from=="" or $text=="")
	{
echo "Please fill your name and message!
<br/><br/><br/>
----------<br/>
<a href=\"index.php\">&lt;&lt; Back</a><br/>";
	}
else
	{
$message = "Message from $from\n----------\n$text\n----------\n\nEmail: $tvojmejl\nDate: $date\nTime: $clock\nBrowser: $user\nIP: $ip\n";
mail ($myemail, $subject, $message);
echo "Thanks $from! Your message has been sent to $myemail";}

echo "</small><br/><br/>----------<br/>
<a href=\"$home\">Home</a><br/><br/>";

echo "</p>
</card>
</wml>
";
?>