F
fercez
Guest
Hi,
I just want to run this php script, but it works very slow on plesk, any ideas?
<?
$date=date("d/m/Y", time() );
/* Addressee */
$recipient .= "USER<[email protected]>";
/* Mail Subject */
$subject = "Web site contact form";
/* Message */
$message .= "Contact form of your web site:\n\n";
$message .= " USER - http://www.domain.com\n";
$message .= " Date: " . $date . "\n\n";
$message .= "------------------------------------------------\n\n";
$message .= "Name: " . $Name . "\n";
$message .= "Mail: " . $Mail . "\n";
$message .= "Phone: " . $Phone . "\n\n";
$message .= "Subject: \n" . $Comments . "\n\n";
$message .= "------------------------------------------------\n\n";
$headers .= "From: $Name<$Mail>\n";
mail($recipient, $subject, $message, $headers);
header('Location: contact.php?SEND=1');
?>
Cheers
I just want to run this php script, but it works very slow on plesk, any ideas?
<?
$date=date("d/m/Y", time() );
/* Addressee */
$recipient .= "USER<[email protected]>";
/* Mail Subject */
$subject = "Web site contact form";
/* Message */
$message .= "Contact form of your web site:\n\n";
$message .= " USER - http://www.domain.com\n";
$message .= " Date: " . $date . "\n\n";
$message .= "------------------------------------------------\n\n";
$message .= "Name: " . $Name . "\n";
$message .= "Mail: " . $Mail . "\n";
$message .= "Phone: " . $Phone . "\n\n";
$message .= "Subject: \n" . $Comments . "\n\n";
$message .= "------------------------------------------------\n\n";
$headers .= "From: $Name<$Mail>\n";
mail($recipient, $subject, $message, $headers);
header('Location: contact.php?SEND=1');
?>
Cheers