Re: remove page referrer
| From: | Daniel Brown | Date: | Tue, 11 Sep 2007 18:48:47 +0000 |
| Subject: | Re: remove page referrer | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-261964@lists.php.net to get a copy of this message | ||
On 9/11/07, NOSPAM plz <bla> wrote:
> I think you have to put the exit(); function in the code to prevent hacks.
>
> if($_SESSION['already_submitted'] == True) {
> header("Location: page2.php");
> *exit();*
> }
Good call. I forgot to type that in there, but you're right. ;-)
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107
Give a man a fish, he'll eat for a day. Then you'll find out he was
allergic and is hospitalized. See? No good deed goes unpunished....