Ver Mensaje Individual
  #3 (permalink)  
Antiguo 09/11/2006, 11:51
Avatar de SidP
SidP
 
Fecha de Ingreso: febrero-2006
Ubicación: /etc/php.ini
Mensajes: 129
Antigüedad: 19 años
Puntos: 2
no me sale

Saludos y gracias por responder

hice esto con lo que me dijiste pero aun no me sale, no se que estare hciendo mal
Código PHP:
 $fecha="{FECHA}";
    
$y=date("l \\t\h\e jS");
    
$file=fopen("jemplo.txt","w+");             
    while(!
feof($file)) {
      
//Lee el fichero línea por línea dentro de la variable
      
$output $output fgets($file4096);
     }
    if(
ereg($fecha$output) ) { 
    
$texto="".str_replace($y,$fecha,$output)."";  
    echo 
$texto;     
    }else{
    echo
"nada";
    } 

Gracias de antemano