Read the entire file into a variable
How to do this? I tried so:
PHP Code:
|
Re: Read the entire file into a variable
Have you tried reading it as text instead of as binary?
Maybe a better question is why do you need to read so much data at one time? Aka What are you trying to do? |
Re: Read the entire file into a variable
Is no longer necessary. I thought that reading the file will take less time than when using fgets but I was wrong.
|
Re: Read the entire file into a variable
You could do it like this:
Code:
Code:
|
| All times are GMT -4. The time now is 23:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.