getimagesize()
-
Hello!
I’ve been trying to use function to get image height, but it doesn’t work:
list($width, $height, $type, $attr) = getimagesize(“img.jpg”);
Error in the log is:
PHP Warning: getimagesize(http://xxxx/1401455209.jpg): failed to open stream: Connection refused in xxxx/new/wp-content/plugins/allow-php-in-posts-and-pages/allowphp.php(420) : eval()’d code on line 77, referer: http://xxx/new/
How can I solve this?
Thnx
The topic ‘getimagesize()’ is closed to new replies.