--------------
This message was sent using oil.dominica-weekly.com's Send to Friend Service.
%s's IP = %s
Please report abuse of this service to alex@balin.su.
http://www.oil.dominica-weekly.com";
if( isset($_POST['to']) && isset($_POST['to_name']) && isset($_POST['from']) && isset($_POST['from_name']) && isset($_POST['url']) ){
/* mail(
$_POST['to'],
"User ".$_POST['from_name']." is invites you to the site Dominica-Oil.com",
sprintf($message,
'http://www.oil.dominica-weekly.com'.$_POST['url'],
$_POST['message'],
$_POST['from_name'],
$_POST['from'],
$_POST['from_name'],
$_SERVER['REMOTE_ADDR']
),
"From: ".$_POST['from_name']." <".$_POST['from'].">\r\n"
);
*/
$sended = 1;
}
?>
Send url to a friend