| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
Re: Curl works in command-line but not on web...
From: Ralph Mitchell <ralphmitchell_at_gmail.com>
Date: Fri, 6 Oct 2006 04:26:09 -0500
On 10/6/06, Rune Fjellheim <rf_at_ghsdk.dk> wrote:
Could you su to whatever userid Apache is using and try the command
Try changing the url, as well. I just tried this:
curl_setopt($ch, CURLOPT_URL, "file:///etc/hosts");
and got this response:
INFOArray
RESULT1
CURLERR0
CURLVERSIONArray
along with my whole hosts file. You might also try:
curl_setopt($ch, CURLOPT_URL, "http://127.0.0.1");
That might as least help to pinpoint where things are breaking down...
Ralph Mitchell
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info