Ver Mensaje Individual
  #3 (permalink)  
Antiguo 31/05/2006, 04:51
zonder
 
Fecha de Ingreso: mayo-2006
Mensajes: 99
Antigüedad: 17 años, 11 meses
Puntos: 0
gracias Nefertiter, he dado con una solucion un poco rustica pero weno!! ejeje
pero ke funcionar funciona
gracias investigare esas funciones
Código PHP:
 $dactdate"j");
     
$mactdate("m");
     
$aactdate("Y");
    
$ano=$_GET['nuevo_ano'];
     
$mes=$_GET['nuevo_mes'];
     
$dia=$_GET['dia'];
    
$fecha2=$dia."-".$mes."-".$ano;
     if(
$ano>$aact)
    {
        echo 
"<h3>SOLO PUEDE INSERTAR HORAS EN DIAS YA VIVIDOS</H3>";
        
header('refresh:3; url= donde sea);
    }
    else
        if($mes>$mact)
        {
            echo "<h3>SOLO PUEDE INSERTAR HORAS EN DIAS YA VIVIDOS</H3>";
            header('
refresh:3urldonde sea);        }
        else
            if(
$dia>$dact)
            {
                echo 
"<h3>SOLO PUEDE INSERTAR HORAS EN DIAS YA VIVIDOS</H3>";
                
header('refresh:3; url= donde sea);            }
            else
            {
                                header('
refresh:3urldonde sea);
            }