RE: [PHP] Help required on cookies
| From: | Balaji Ankem | Date: | Wed, 02 Oct 2002 09:44:15 +0000 |
| Subject: | RE: [PHP] Help required on cookies | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-118567@lists.php.net to get a copy of this message | ||
But in RFC2109 they mentioned Comment and version are also attributes of
the setcookie header.
How do you set these attributes using php??
How this print_r() function works??
Thanks in advance
Balaji
-----Original Message-----
From: Chris Shiflett [mailto:shiflett@php.net]
Sent: Wednesday, October 02, 2002 2:52 PM
To: Balaji Ankem
Cc: php-general@lists.php.net
Subject: Re: [PHP] Help required on cookies
Balaji Ankem wrote:
><? print_r($_COOKIE); ?>
>
>It is giving error saying call to undefined function _r();
>
That's weird. Maybe you have a space between print and _r? The function
is print_r() with no spaces.
>And Setcookie in php is not conforming to the RFC2109.
>
In what way? Remember that the setcookie() function itself does not need
to conform to any syntax guidelines. Only the resulting HTTP header must
conform to specifications such as those described in RFC 2109.
Chris
**************************Disclaimer************************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ***************************************************************************************
**************************Disclaimer************************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ***************************************************************************************