PHP operate file(fseek)

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

 



Hey All,

I want to seek file pointer to some line in a huge file with fseek().
I know that can use fgets() to locate, but this line is uncertain, for example end of the file or in the middle of the file.
Use fgets () loop to read may not be high efficiency.
I need your help.Thanks.
2011-09-26 



yzang 

[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