[PHP] Check multiple cookies

2001-05-21 Thread Sam Gooding
Is it possible to check multiple cookie values and then redirect to another page depending on what cookie values have been set? Sort of like: if(cookie == 3) goto(url1) elseif(cookie2 = 5) goto(url2) else goto(url3) Thanks in advance! -- PHP General Mailing List (http://www.php.net

Re: [PHP] Check multiple cookies

2001-05-21 Thread Sam Gooding
ic idea. The following is exactly what I typed in (just copy and pasted) but I'm still getting the error: Cannot add header information - headers already sent by (output started at web.php:2) in web.php on line 19 "Sam Gooding" <[EMAIL PROTECTED]> wrote in message [EMAIL PR

Re: [PHP] Check multiple cookies

2001-05-22 Thread Sam Gooding
At 05:04 PM 5/21/01 +0100, James Holloway wrote: >Hi Sam, > > > > The following is exactly what I typed in (just copy and pasted) but I'm > > still getting the error: > > > > Cannot add header information - headers already sent by (output started at > > web.php:2) in > > web.php on line 19 > >Make