Bug #2414 [Opn->Ver]: getResponseCookies() fails

From: Date: Thu, 30 Sep 2004 10:24:23 +0000
Subject: Bug #2414 [Opn->Ver]: getResponseCookies() fails
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4910@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=2414&edit=1 ID: 2414 Updated by: borz_off@cs.msu.su Reported By: pordal at orangeilk dot com -Status: Open +Status: Verified Type: Bug -Package: HTTP_Request +Package: Documentation Operating System: Gentoo Linux PHP Version: 4.3.8 New Comment: Recategorizing it as Documentation bug... Whoever wrote the HTTP_Request docs should check the examples provided, I think there are more broken ones there. Previous Comments: ------------------------------------------------------------------------ [2004-09-30 03:07:34] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=2414&edit=1

« previous php.pear.doc (#4910) next »