Ver Mensaje Individual
  #2 (permalink)  
Antiguo 21/01/2002, 18:42
Avatar de Aleph
Aleph
 
Fecha de Ingreso: agosto-2001
Ubicación: Kenolandia
Mensajes: 1.061
Antigüedad: 22 años, 8 meses
Puntos: 3
Re: Ficheros fgets

Primero "apuntas" el archivo:

$arch = fopen ("algo.txt", "r");

luego quitas la linea:

$linea = fgets($arch, 50);

luego cerras el archivo:

fclose ($arch);

Para mas detalles consulta el manual de php.

SALUD:)S

<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td align="right"><a href="http://www.cicpm.org" target="_blank"><img src="http://www.amsystems.com.ar/imagenes/fw/firma04.gif" border="0"></a></td></tr></table>