File Manager
Viewing File: sendcontact.php
<?php
$to = 'support@legaltradesignals.com';
$subject = $_REQUEST['subject'] ;
$name = $_REQUEST['fname'] ;
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
$body = "From: $email \n\n Dear admin \n\n $name need your support in $subject \n\n The complain is $message \n\n Please send reply to $email" ;
$sent = mail($to, $subject, $body) ;
if($sent)
{echo "<script language=javascript>window.location = 'feedback.html';</script>";}
else
{echo "<script language=javascript>window.location = 'feedback.html';</script>";}
?>