if($_POST) { $keys_post = array_keys($_POST); foreach ($keys_post as $key_post) { $$key_post = $_POST[$key_post]; error_log("variable $key_post viene desde $ _POST"); } } if($_GET) { $keys_get = array_keys($_GET); foreach ($keys_get as $key_get) { $$key_get = $_GET[$key_get]; error_log("variable $key_post viene desde $ _POST"); } } //if($consulta) { //if (sendmail("pepe@fotoniclas.com","Consulta desde la web","$nombre\n$email\n$consulta\n","pepe@fotoniclas.com",'',$bcc='',$xpriority=false)){ //$txresulta="
Hemos recibido correctamente su consulta. En breve contactaremos con usted.
"; //} if($consulta) { if(mail("pepe@fotoniclas.com","Consulta desde la web","Nombre: $nombre\nEmail: $email\nConsulta: $consulta\n","FROM: fotoniclas.comHemos recibido correctamente su consulta. En breve contactaremos con usted.
"; } } include("gestion/funciones.php"); include("gestion/variables.php"); ?>