Report new bug | New search | Development Roadmap Status: Open | Feedback | All

Bug #2414 getResponseCookies() fails
Submitted: 2004-09-30 07:07 UTC
From: pordal at orangeilk dot com Assigned: mj
Status: Closed Package: Documentation
PHP Version: 4.3.8 OS: Gentoo Linux
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 39 - 37 = ?

 
 [2004-09-30 07:07 UTC] pordal at orangeilk dot com
Description: ------------ The example code provided to get cookies returns the following error: Fatal error: Call to a member function on a non-object in cookies.php on line 11 (when copied into a file named test.php). Reproduce code: --------------- The code was copied and pasted verbatim from: http://pear.php.net/manual/en/package.http.http-request.cookie.php Expected result: ---------------- A table of cookies Actual result: -------------- Fatal error

Comments

 [2004-09-30 10:24 UTC] avb
Recategorizing it as Documentation bug... Whoever wrote the HTTP_Request docs should check the examples provided, I think there are more broken ones there.
 [2004-09-30 13:55 UTC] mj
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.