Search unanswered questions...
Enter a question here...

What is the best way to read large files in PHP?

In: PHP
[Edit]

Answer

Using the standard file() function to read large text files (say greater than 10 Mb) may give problems. You should use fopen() fread() fgets() instead.

Improve Answer Discuss the question "What is the best way to read large files in PHP?" Watch Question

First answer by Pandoga. Last edit by Pandoga. Contributor trust: 104 [recommend contributor]. Question popularity: 17 [recommend question]

Research your answer:

Answers.com > Wiki Answers > Categories > Technology > Computers > Computer Programming > PHP > What is the best way to read large files in PHP?

Our contributors said this page should be displayed for the questions below. (Where do these come from)
If any of these are not a genuine rephrasing of the question, please help out and edit these alternates.
Open php files?  How do you attachment a files in php?  How do you delet files in a read-only CD?