PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
This script only echos part of the page it was pointed to, as if there is some limit to how much data can be stored.
The counter script that it is pointed to is just a list of bytes-- i was trying to see if there is any logical limit to what it would store (like some whole number of bytes).
Does php, by default, limit the size of the returned string when using fread() or fopen()?
[php_man]file_get_contents()[/php_man] does a [php_man]fopen()[/php_man] and total [php_man]fread()[/php_man] loop until the entire file is read, or your memory is exhausted.