getaddrinfo failed. help needed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cole007
    New Member
    • Nov 2006
    • 2

    getaddrinfo failed. help needed

    Hi all,
    New to this forum so thought would start off with a query that has been causing me some problems. Trying to work with remote images using gd libraries and 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]
    $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 server configuration
    • It is a firewall issue
    • Result of running Apache locally

    Apologies for my ignorance and thanks in advance,

    Cole
Working...