"Use of undefined constant CURLOPT_PROTOCOLS and CURLPROTO_HTTP" but it works?
- by Dave
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.