Re: Question about the HTTP_Request2 Package
| From: | Michael Gauthier | Date: | Thu, 10 Jan 2013 20:50:11 +0000 |
| Subject: | Re: Question about the HTTP_Request2 Package | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-31694@lists.php.net to get a copy of this message | ||
I didn't see any CURLOP_* constants in the git repo.
I agree with Ken's suggestion to check your PHP version and cURL version.
Mike
On 2013-01-07 19:59, Ken Guest wrote:
Marshall, That should be CURLOPT_ENCODING - I hope that typo is yours and not a mistake in the HTTP_REQUEST2 package! That constant became available with the curl 7.10 library - what versions of PHP and curl are you using? Ken -- Sent from my Android phone. On Jan 7, 2013 8:30 p.m., "Marshall Sumwalt" <marshall@reflectivegroup.com> wrote:Hi there, I am currently working with the Plivo API, which uses HTTP_Request2 package. I have installed it with pear and it had seemed to include everything alright, but when I try to use HTTP_Request2->setAdapter(), it tries to use CURLOP_ENCODING const. Yet it is not is not defined in the file. Perhaps I am missing an include that could have it. Any suggestions? Thanks, ~Marshall Sumwalt Reflective Group