asmith Posted May 10, 2009 Share Posted May 10, 2009 Hi, I'm doing something like this to get some data from some files : <?php $neededData = substr(current(explode('FFFFFFFF',substr(bin2hex(file_get_contents('file.ext')),36))),0,-80); ?> It works fine with small sizes, like 200kb . But when I try a file with 1.4 mb it just fails. says nothing and fails. Any idea? Link to comment https://forums.phpfreaks.com/topic/157578-big-size-affects-file-put-content/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.