Re: [PHP] In need of a script

2003-08-26 Thread Jason Sheets
a header.. Wouter - -Oorspronkelijk bericht- - Van: Curt Zirzow [mailto:[EMAIL PROTECTED] - Verzonden: zondag 24 augustus 2003 20:22 - Aan: [EMAIL PROTECTED] - Onderwerp: Re: [PHP] In need of a script - - - * Thus wrote Stevie D Peele ([EMAIL PROTECTED]): - Heres what I wrote -- - - ?php

[PHP] In need of a script

2003-08-24 Thread Stevie D Peele
Can someone show me an example of some code that works something like this : ?php if cookie is present redirect to a certain page ? Thanks The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE

Re: [PHP] In need of a script

2003-08-24 Thread Matt
On Sunday, August 24, 2003 at 9:49 AM Stevie D Peele wrote: Can someone show me an example of some code that works something like this : ?php if cookie is present redirect to a certain page ? ?php // this must be the first line in the script (or use output buffering) -- see

Re: [PHP] In need of a script

2003-08-24 Thread [EMAIL PROTECTED]
it's in the manual. Stevie D Peele wrote: Can someone show me an example of some code that works something like this : ?php if cookie is present redirect to a certain page ? Thanks The best thing to hit the internet in years -

Re: [PHP] In need of a script

2003-08-24 Thread Stevie D Peele
Heres what I wrote -- ?php if ($_COOKIE['pagename']) { header('Location: http://www.net-riches.com/800x600.html'); } ? and I got a parse error on line 4, but I do not see what is wrong on line 4! Can anyone else see? Thanks On Sun, 24 Aug 2003 10:04:50 -0400 Matt [EMAIL PROTECTED] writes:

Re: [PHP] In need of a script

2003-08-24 Thread Curt Zirzow
* Thus wrote Stevie D Peele ([EMAIL PROTECTED]): Heres what I wrote -- ?php if ($_COOKIE['pagename']) { header('Location: http://www.net-riches.com/800x600.html'); } ? and I got a parse error on line 4, but I do not see what is wrong on line 4! There is no parse error in that code.

RE: [PHP] In need of a script

2003-08-24 Thread Wouter van Vliet
2003 20:22 - Aan: [EMAIL PROTECTED] - Onderwerp: Re: [PHP] In need of a script - - - * Thus wrote Stevie D Peele ([EMAIL PROTECTED]): - Heres what I wrote -- - - ?php - if ($_COOKIE['pagename']) - { - header('Location: http://www.net-riches.com/800x600.html'); - } - ? - - and I