Re: PHP 5 file_get_contents() problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sun, March 30, 2008 5:03 pm, php wrote:
> Thanks Greg...I am aware of the allow_url_fopen/allow_url_include
> relationship.
>
> Your suggestion to look into curl was implemented and there still
> seems to
> be something else afoot.
>
> I created a simple set of curl functions which just printed a remote
> url to
> the browser window. This tested well on an alternate test site which
> has PHP
> 5 running.
>
> However back on the hosting client I'm having problems with, curl
> throws the
> following error message:
> CURLE_COULDNT_RESOLVE_HOST (6)
>
> Couldn't resolve host. The given remote host was not resolved.
>
> A second test script, uses the popular PayPal Instant Payment
> Notification
> scheme which opens up a socket connection with the paypal server. Even
> this
> method of remote communition was defeated.
>
> So I'm lead to believe there is some other PHP configuration (or
> server
> configuration) which is stopping PHP from connecting with remove
> services.

Can you SSH into the box and "ping" other domain names?

If that box has messed up DNS, there is NO WAY php can fix it...

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux