Home » Networking » Net_Curl » Bug #3567
Using property progress results in a notice
Details
| Submitted | 2005-02-24 00:44 UTC |
|---|---|
| From | cmoehrke at netviser dot de |
| Status | Wont fix |
| Package | Net_Curl |
| PHP Version | 5.0.3 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2005-02-24 00:44 UTC] cmoehrke at netviser dot de
Description:
------------
Trying to get a progress bar results in a notice
Reproduce code:
---------------
$curl = new Net_Curl('http://www.heise.de/newsticker/');
$curl->progress=true;
$res=$curl->execute();
$curl->close();
Expected result:
----------------
No Notice
Actual result:
--------------
Notice: Use of undefined constant CURLOPT_PROGRESS - assumed 'CURLOPT_PROGRESS' in /usr/local/php/pear/Net/Curl.php on line 379
[2005-07-13 21:10 UTC] joe at joestump dot net
Your example code works fine for me on PHP 5.0.4. Though, I've
also applied a number of my own patches. See the patches here:
http://zebulon.miester.org/~jstump/pear/Net_Curl/
Apply them in numerical order. If all goes well I'll be
releasing a new version of Net_Curl (if they hand the package
over to me) soon.