ssl - PHP function getimagesize() gives "Read error" when trying to get https url -


i trying use getimagesize url , http fine. when trying use function on https url getting "read error" notice , false result. checked , have openssl 0.98 installed on server (so should working https well). know can download image first , use seems me should work , missing something. please provide me solution (other downloading image first , opening it) ?

thank in advance.

you can use file_get_contents() alternate solution..

<?php $filename='something'; file_put_contents($filename,file_get_contents($url)); $size = getimagesize($filename); var_dump($size); 

Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -