Re: Set Cookie in PHP and call with Perl
| From: | Curt Zirzow | Date: | Sun, 27 Jul 2003 09:25:57 +0000 |
| Subject: | Re: Set Cookie in PHP and call with Perl | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-157058@lists.php.net to get a copy of this message | ||
* Thus wrote TWSC HQ (admin@twsc.co.za):
> Hi there -
>
> Is this possible :
> How do i call the cookie value (surname) with Perl if it was set with PHP?
>
> SAMPLE:
>
> PHP Cookie set:
>
> <?
> setcookie("surname", "mc Seveney", time()+31536000,
> "/","",0);
> ?>
>
> Need to call this cookie with a .pl extension file (perl)
How do you mean call? you want to get the value or set it?
The cookie is in the headers which happens to be spefic to HTTP
protocol. And there are a gazilian ways to retrieve that from perl
which all depends on how your running perl. Both of which have
nothing to do with php.
Curt
--
"I used to think I was indecisive, but now I'm not so sure."