I liked the warm thanks, made my morning.
curl is very powerfull and it is a tool to have in your arsenal. The problem
is that many hosts have it disabled.
Petros Ziogas
http://www.royalblue.gr
On Thu, May 7, 2009 at 5:26 PM, Leam Hall wrote:
> Brent, you are a wonderful person! No matter what
Brent, you are a wonderful person! No matter what Hans, Mitch, David,
and maybe a few others say...:)
Wasn't able to change anything that would allow file_get_contents but
the curl code you provided works like a charm! This is a growth point
for me so it's nice to be successful for a chang
You should file_get_contents to retrieve URLs, which is what you seem
to be trying to do. It doesn't handle failures (i.e. timeout,
redirects) very well at all. You should use curl if you need to
retrieve a remote file.
$url = 'http://yourfile.com';
$ch = curl_init();
curl_s
On Wed, May 6, 2009 at 7:13 AM, Leam Hall wrote:
> I have a file_get_contents working on my laptop/dev box, but when I put it
> on the hosting server it comes back with an error.
>
> URL file-access is disabled in the server configuration
>
> My guess is that there's a way to ini_set this t
I have a file_get_contents working on my laptop/dev box, but when I put
it on the hosting server it comes back with an error.
URL file-access is disabled in the server configuration
My guess is that there's a way to ini_set this to allow it, but the
closest thing I found was allow_url_