![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
02/06/2014, 06:56
|
![Avatar de Italico76](http://static.forosdelweb.com/customavatars/avatar175649_11.gif) | | | Fecha de Ingreso: abril-2007
Mensajes: 3.303
Antigüedad: 17 años, 10 meses Puntos: 292 | |
Respuesta: elimnar datos de un archivo en php
Código PHP:
Ver original$f = 'archivo.txt'; $pattern = "@\[([0-9]{1,5}),[0-9]{1,5},[0-9]{1,5},(\'[a-z]{1,30}\')\]@i";
Luego lo guardas de nuevo:
__________________ Salu2! |