Sorry i have a questione...can i connect with mysql to another space out of freepgs?
thx
thx
The "Support Requests" forum is now viewable by guests.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menuif(ereg("^(.+)@(.+)\\.(.+)$",$to))
{
}else{
echo("You must supply a valid (TO) address<br>");
echo("<script>alert(\"Error:Click Here To Go Back\");history.go(-1)</script>");
exit;
}
// Removes html tags and whitespace from input data
$to =strip_tags(trim($to));
$subject =strip_tags(trim($subject));
$body =strip_tags(trim($body));
$from ="Computerman Site" ;
// formats the headers section DO NOT ALTER OR MAKE ANY CHANGES
$headers ="Mime-Version: 1.0\r\nContent-Type:text/plain charset=\"ISO-8859-1\"\r\n";
$headers .="Content-Transfer-Encoding: 7bit\r\n";
$headers .="X-Priority: 3\r\n";
$headers .="X-PHP-Mail-Priority: Normal\r\n";
$headers .="X-Mime-OLE: Produced by MS MimeOLE v5.00.3000.100\r\n";
$headers .="X-Mailer: PHP Mail generated by:PHPMailer v1.0\r\n";
$headers .= "Computerman Site";
// formats the input and sends the email
$send=mail($to,$subject,$message);
// prints success or failure to the user
if($send==1){
echo("<html><head><title>SUCCESS...Email Spedita</title></head><body>");
echo("<center><h2>Success....</h2><br><p>La tua email è stata spedita!<br>");
echo("<a href=\"form.php\">Clicca qui per spedire un'altra email</a></p></center>");
echo("</body></html>");
}else{
echo("<html><head><title>FAILURE...L'email non è stata spedita</title></head><body>");
echo("<center><h2>Sorry....</h2><br><p>There appears to have been a problem<br>");
echo("in processing your email<br>Please try again later...<br>");
echo("<a href=\"form.php\">PHPMAILER</a><br>");
echo("Thank You for using PHP Mailer v1.0</p></center>");
echo("</body></html>");
}
// finally everything OK, exit the script
exit();