[PHP] PHP Bug or just a strange behaivor?

2003-07-09 Thread Marcus Hufvudsson
Hi, Let's get right to it... When I try to do this: ? echo $_COOKIE['test.1']; ? It doesn't work (needless to say there is a cookie that goes by this name) So, when I did this: ? foreach($_COOKIE as $cook = $val) { echo $val . - .$cook .br; } ? I got:

Re: [PHP] PHP Bug or just a strange behaivor?

2003-07-09 Thread Chris Boget
So I though that you couldn't have dots in your array names... Just to be sure I wrote a small test program like this: [snip] So... anyone know what's up? I believe that if you do it manually in a script, it works fine. But if PHP gets/sets the value from POST, GET, COOKIE, etc. it

RE: [PHP] PHP Bug or just a strange behaivor?

2003-07-09 Thread Ford, Mike [LSS]
-Original Message- From: Marcus Hufvudsson [mailto:[EMAIL PROTECTED] Sent: 09 July 2003 13:56 Hi, Let's get right to it... When I try to do this: ? echo $_COOKIE['test.1']; ? It doesn't work (needless to say there is a cookie that goes by this name) So, when I did this: