Mailinglisten-Archive |
versuch mal:
<untested>
$foo = array();
$foo[0] = "foobar";
$foo[1] = "fooooorchtbar";
SetCookie("cookie[]", "$foo");
</untested>
> Hallo,
>
> im Manual steht, daß man einem Cookie mehrere Werte geben kann. Ich
> krieg das irgendwie nicht auf die Reihe:
> SetCookie("cookie[]", "wert1");
> SetCookie("cookie[]", "wert2");
> $cookie ist dann zwar ein Array, aber count($cookie) ist 1. Ebenso
> wenig funktioniert's, wenn der Wert ein Array ist.
>
> Wie macht man das denn richtig?
>
> Danke&Grüße,
> Tobias Ratschiller
>
>
Take care,
Andre "the fool with a php-tool" Anneck
--------------------------------------
"Gravity can not be made responsible
for people falling in love" - Albert Einstein.
--------------------------------------
web-host _(at)_ http://www.anneck.de/rmss [100% PHP3]
web-wizard _(at)_ http://www.tse-online.de
web-phone _(at)_ ICQ#: 1339921
php::bar PHP Wiki - Listenarchive