View Single Post
  #1   (View Single Post)  
Old 21st September 2009
cksraj cksraj is offline
Real Name: Crew Kasy Raj
Port Guard
 
Join Date: Mar 2009
Posts: 12
Default PHP read file contents - Maximum file size

Hi Team

I am trying to read a file contents (CSV file) size of 78MB using PHP. But my code is not working. It is breaking in the below line;

$fcontents = file($import->getCSVName());

But if I read other files which is of size 32MB then it is working fine.

How can I come out of this problem? Is there any limit for file size to read? If so what is the maximum size? Please advice.

Thanks,
Crew Kasy Raj
Reply With Quote