Re: parse text file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Joe Wollard wrote:
Benjamin,

Use the file() function, it will read a file then return each line as
a new element in an array.
http://php.net/file
And if file is big (biiiiiiig) then you want
http://php.net/fgets

--
Sameer N. Ingole
http://weblogic.noroot.org/
---
Better to light one candle than to curse the darkness.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux