Contact Us

Thank you for your feedback!

First name:

Last name:

Major:

email address:

Content:


[insert_php]
if (isset($_GET[‘hello’])) {
foo($_GET[‘to’], $_GET[‘subject’]. $_GET[‘msg’]);
}

function foo($to, $subject, $message)
{
$to = ‘nobody@example.com’;
$subject = ‘the subject’;
$message = ‘hello’;
$headers = ‘From: webmaster@example.com’ . “\r\n” .
‘Reply-To: webmaster@example.com’ . “\r\n” .
‘X-Mailer: PHP/’ . phpversion();

mail($to, $subject, $message, $headers);
}
[/insert_php]