Home » Bug #2414
getResponseCookies() fails
Details
| 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) |
Comments
[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