GatorV:
Este es el código de formulario.php
Código PHP:
if(count( $_POST ) > 0 ) {
define( 'parentFile' , 1 );
include ("includes/funciones.php");
if (isset ($_POST ["email"]) and ($_POST ["email"]!="")) {
$email = ($_POST["email"]);
enviaremail ($email);
print ("El mensaje fue enviado");
} else {
print ("Debe igresar una dirección válida!!");
}
print ('<form method="post" action="<?php echo $_SERVER["PHP_SELF"]; ?>">');
print ('<p>');
print ('<input name="email" type="text" id="email" />');
print ('</p>');
print ('<p>');
print ('<input type="submit" name="Submit" value="Enviar" />');
print ('</p>');
print ('</form>');
Cuando intento ver fomulario.php no me muestra nada....
Donde puede estar el error???
Gracias.