cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: curl not working from browser

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 4 Jun 2004 13:04:52 +0200 (CEST)

On Thu, 3 Jun 2004, Scott Poarch wrote:

> We've got a couple of RH9 boxes running with:

...

> curl-7.9.8-5

This is insanely old stuff.

> from both of these we can run a very simple test script from the command
> line:
>
> php u.php
>
> and it returns output correctly.
>
> BUT, from one of the boxes that same script will work in a browser, but in
> the other it just hangs.

I fail to understand how this is a curl issue at all.

> We can't find any errors anywhere to tell us why it would fail from the
> browser and not on a command line.

Something in your system setup is likely to differ when you use your command
line as opposed to when Apache runs it. In my eyes, this is more of a PHP
issue than a curl issue.

I'm sorry I can't offer any more specific advice.

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-06-04