"Use of undefined constant CURLOPT_PROTOCOLS and CURLPROTO_HTTP" but it works?

Posted by Dave on Stack Overflow See other posts from Stack Overflow or by Dave
Published on 2010-03-13T11:41:20Z Indexed on 2010/03/13 11:45 UTC
Read the original article Hit count: 345

Filed under:
|
|
|

Hi on our dev environment we have show all errors, warnings and notices. I'm getting this:

Notice: Use of undefined constant CURLOPT_PROTOCOLS - assumed 'CURLOPT_PROTOCOLS' in C:\notion\implementation\development\asterix\library\ExternalLibs\panda.php on line 69

Notice: Use of undefined constant CURLPROTO_HTTP - assumed 'CURLPROTO_HTTP' in C:\notion\implementation\development\asterix\library\ExternalLibs\panda.php on line 69

The code on line 69:

    curl_setopt($curl, CURLOPT_PROTOCOLS, CURLPROTO_HTTP);

But the CURL code works, it goes off to the other server and retrieves whats necessary. What do these notices mean?

Thanks very much.

© Stack Overflow or respective owner

Related posts about php

Related posts about curl