
27/02/2006, 06:59
|
| | Fecha de Ingreso: septiembre-2004 Ubicación: Montevideo
Mensajes: 346
Antigüedad: 20 años, 5 meses Puntos: 0 | |
Dejo aqui un codigo que funciona:
$file = "file.txt
$fd = fopen($file,"r");
$content = fread($fd,filesize($file));
$content = str_replace("reemplazaresto","poresto",$content);
$fd = fopen($file,"w");
fwrite($fd,$content);
fclose($fd);
Se que este post estaq totlamente viejo ,pero tal vez a alguien le sirva.
Saludos
__________________ Liber |