Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/05/2008, 14:58
Avatar de eft0
eft0
 
Fecha de Ingreso: junio-2003
Ubicación: Santiago - Chile
Mensajes: 635
Antigüedad: 20 años, 9 meses
Puntos: 9
Respuesta: como abro un archivo para contar sus lineas??

Código PHP:
$file "archivo.txt";
$lines count(file($file));
echo 
"El archivo $file tiene $lines lineas"
__________________
eft0's stuff! - http://estebanfernandez.net