Re: Re: CURL questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

on 03/30/2007 12:38 AM Chris said the following:
>>> I 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.
> 
> Actually it does.
> 
> http://www.php.net/manual/en/function.curl-setopt.php
> 
> See CURLOPT_VERBOSE

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?


-- 

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux