Reputation: 103
echo file_get_contents("result.png");
allow_url_fopen = On
php 5.3.13 raw data
?PNG \0\0\0 IHDR\0\0\02\0\0\0f\0\0\0? ?P\0\0?IDATx^?y?]?u??????Rk
r??\\?\"?l??]?W
php 5.2.6(work fine) raw data
?PNG IHDR2f? ?P?IDATx^?y?]?u??????Rk
r??\?"?l??]?W
php 5.2.6 => php 5.3.13
=>\0
\ => \
" => \"
so i removed \0 ,
replaced \\ with \
and \" with " but it's doesn't solve the problem.
thank you for any suggestion.
Upvotes: 0
Views: 777