Ver Mensaje Individual
  #12 (permalink)  
Antiguo 18/03/2008, 12:17
Avatar de EmaD
EmaD
 
Fecha de Ingreso: marzo-2008
Mensajes: 93
Antigüedad: 16 años, 1 mes
Puntos: 2
Re: Un problemita con funcion mail()

Gracias jaronu no es la mejor solucion pero qeudo andando , lo hice asi.


Código PHP:
?php

if (isset($_POST['url']) && isset($_POST['enviar'])){
$tuemail $_POST['tuemail'];
$tunombre $_POST['tunombre'];

// el que recibe
$sunombre $_POST['sunombre'];
$suemail $_POST['suemail'];

if(
$tunombre==NULL|$sunombre==NULL|$tuemail==NULL|$suemail==NULL) { 
$url_recomendado$_SERVER['HTTP_REFERER'];
    echo 
"<html><body bgcolor='#000000' text='#FFFFFF'><center>";
        echo 
"<b>Algun campo esta vacio Por Favor Presta Atencion.<b><br>"
        echo 
"<a href='javascript:history.back();'>volver</a>";
         
    }else{ 


//El resto del codigo 
Salu2 Gracias gente nuevamente , muy buena onda.