PHP getimagesize returns nothing?

the following call to getimagesize has worked for years.
nothing has changed that i know of.

below the two lines of code is the results of the debugging echo statement
(this is used in a larger context, but excerpted to just the essence)

can someone spot what is wrong or suggest additional debugging?    THANK YOU!


	  $ImgSize = @getimagesize($ImageURL);
	  echo "\n\n<!-- $ImageURL; $ImgSize = {$ImgSize[0]} / {$ImgSize[1]}  / {$ImgSize[3]}; [".count($ImgSize)."] -->\n\n";

<!-- http://blogs.salemnews.com/ashorething/wp-content/uploads/2011/06/brink.jpg;  =  /   / ; [1] -->

Open in new window

willsherwoodAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ray PaseurCommented:
For starters, let's try data and message visualization.  Remove the @ from the function call.  Use var_dump() to print out the contents $ImageURL and $ImgSize.  Please post those here along with any messages you get.

In my test case NTF,DNF:
http://www.laprbass.com/RAY_temp_willsherwood.php

<?php // RAY_temp_willsherwood.php 2013-10-11
error_reporting(E_ALL);

$url = 'http://blogs.salemnews.com/ashorething/wp-content/uploads/2011/06/brink.jpg';
$dat = getimagesize($url);
var_dump($url, $dat);

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
willsherwoodAuthor Commented:
perfect - thanks!
here was the answer:
URL file-access is disabled in the server configuration

evidently the server parameter changed recently!

always appreciate your patient help!!
0
Ray PaseurCommented:
Great!  Glad you found the culprit ;-)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.