note 59969 deleted from ref.mail by nlopess

From: Date: Wed, 21 Dec 2005 20:03:16 +0000
Subject: note 59969 deleted from ref.mail by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-100537@lists.php.net to get a copy of this message
Note Submitter: Matt ---- Nikka, you are using post as your method of sending the form in your html ( method="post" ) but PHP is thinks you're using the GET method. The correct php code is: <? $email = $_POST['email']; $message = $_POST['message']; mail("name@myemail.com", "Email Subject", $message, "From: $email", Nombre: $nombre", Telefono: $telefono"); print("Su mensaje ha sido enviado."); ?>

« previous php.notes (#100537) next »