Re: Re: CURL questions
| From: | Chris | Date: | Fri, 30 Mar 2007 04:24:06 +0000 |
| Subject: | Re: Re: CURL questions | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-251715@lists.php.net to get a copy of this message | ||
Manuel Lemos wrote:
Hello, on 03/30/2007 12:38 AM Chris said the following:Set CURLOPT_RETURNTRANSFER and it should return *untested*. Also http://php.net/curl_error can get the error :) -- Postgresql & php tutorials http://www.designmagick.com/Interesting. I was not aware of that option. It seems to send some output to stderr. stderr usually goes to Web server error log. But how can we capture that output from a PHP script and display it?Actually it does. http://www.php.net/manual/en/function.curl-setopt.php See CURLOPT_VERBOSEI get a 500 Internal server error, not sure why as this page being called just inserts a word into a database. Could the cause be something else network related? What else can I troubleshoot? or is my code incorrect?It is hard to tell because curl does not output any debugging information.