Ver Mensaje Individual
  #4 (permalink)  
Antiguo 27/01/2011, 17:34
Avatar de spider_boy
spider_boy
 
Fecha de Ingreso: diciembre-2003
Ubicación: Chile
Mensajes: 1.855
Antigüedad: 21 años, 3 meses
Puntos: 89
Respuesta: Eliminar 9 primeras líneas de un archivo

También podrías hacer algo como esto :

Código PHP:
Ver original
  1. $texto = file_get_contents('archivo.txt');
  2. $xmlpos = strpos($texto, '<?xml');
  3. $xml = substr($texto, $xmlpos);
  4. echo $xml;
__________________
Nunca te olvidaré mi negra hermosa. Te extraño demasiado.