Re: PHP 5 file_get_contents() problems
| From: | Richard Lynch | Date: | Tue, 01 Apr 2008 14:12:57 +0000 |
| Subject: | Re: PHP 5 file_get_contents() problems | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-272389@lists.php.net to get a copy of this message | ||
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?