Re: redirect location
| From: | viva technologies | Date: | Wed, 16 Aug 2000 18:20:56 +0000 |
| Subject: | Re: redirect location | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-12086@lists.php.net to get a copy of this message | ||
hi,
you should use the cookie so that noone
( at least normal users ) can access the
page you redirekt to direktly
no cookies :
use php4 session or php3 with phpLIB or use the uri
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/ viva technologies
_/ gstrein andreas
"Always listen to the experts; they'll tell you what can't be done and why.
Then do it."
- Robert A. Heinlein
----- Original Message -----
From: "Bartosz Aninowski" <bart@sonik.pl>
To: "gstrein andreas" <viva@mcnon.com>
Sent: Thursday, August 17, 2000 8:12 PM
Subject: RE: [PHP] redirect location
>
> if (($myName == $myRow[0]) AND ($myCode == $myRow[1])) {
> setcookie("myTicket","valuable");
> echo "<html><head><title>Your Title</title>";
> echo "<meta http-equiv=\"refresh\"
> content=\"0;URL=intego.htm\">";
> echo "</head>";
> echo "<body bgcolor=\"#FFFFFF\" >";
> >
everything is clear but
what cookie is for
and what if somebody has "do not accept cookies"