Posted this query on the PHP zone but as it might be a server issue thought I would also check here to see if anyone could help me out.
Am trying to work with remote images in PHP but get the following message:
Warning: getimagesize() [function.getimagesize]: php_network_getaddresses: getaddrinfo failed: No such host is known. in C:ApacheApache2htdocsmapimage.php on line 4
Warning: getimagesize(http://www.coflein.gov.uk/wales_thumbnails/CD2003_645_013.jpg) [function.getimagesize]: failed to open stream: No error in C:ApacheApache2htdocsmapimage.php on line 4
[PHP]$imageSize = getimagesize($imgUrl);[/PHP]
$imgUrl being the location of the image. Am running Apache 2.0 with PHP 5.04 locally on a WinXP box.
My prime suspects are:
It is a problem with the Apache server configuration
It is a firewall issue
Result of running Apache locally
Apologies for my ignorance and thanks in advance for any response,
Alex from y8