Hi all,
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:
$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:
Apologies for my ignorance and thanks in advance for any response,
Cole
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.getima gesize]: php_network_get addresses: getaddrinfo failed: No such host is known. in C:\Apache\Apach e2\htdocs\map\i mage.php on line 4
Warning: getimagesize(ht tp://www.coflein.gov .uk/wales_thumbnail s/CD2003_645_013. jpg) [function.getima gesize]: failed to open stream: No error in C:\Apache\Apach e2\htdocs\map\i mage.php on line 4
[PHP]$imageSize = getimagesize($i mgUrl);[/PHP]Warning: getimagesize(ht tp://www.coflein.gov .uk/wales_thumbnail s/CD2003_645_013. jpg) [function.getima gesize]: failed to open stream: No error in C:\Apache\Apach e2\htdocs\map\i mage.php on line 4
$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,
Cole
Comment