[thelist] deleting php vars
jan guichelaar [artmiks]
jan at artmiks.nl
Mon Nov 3 03:53:42 CST 2003
unset ( $HTTP_POST_VARS['var_name']);
looks promising, but when i refresh the page, the vars are still there,
Still dont know how to prevent people to refresh the page and thus
executing the same php-code with the same vars twice.
:-(
----- Original Message -----
From: "Paul Bennett" <paul at teltest.com>
To: <thelist at lists.evolt.org>
Sent: Thursday, October 30, 2003 9:57 PM
Subject: Re: [thelist] deleting php vars
> jan guichelaar [artmiks] wrote:
>
> >thanx, but this doesn't work with vars from a post/get method,
> >only with vars you set in the php-page itself
> >
> >
> >
> ok, not 100% sure what you are trying to do, but have you tried:
> unset ( $HTTP_POST_VARS['var_name']);
> ?
>
> This makes php 'forget' as it removes both the variable data and name
> from script processing
> -------------------
> Paul Bennett
> http://www.clicksave.co.nz
> For your free report:
> "10 time-killing web development mistakes and how to avoid them"
> send an email to:
> bennettpr at getresponse.com
>
> --
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>
>
More information about the thelist
mailing list