lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
***BOGO*** Re: [PHP] unset($_GET['i'])
- Date: Thu, 4 Sep 2008 16:27:43 -0400
- From: Wolf <lonewolf@xxxxxxxxx>
- Subject: ***BOGO*** Re: [PHP] unset($_GET['i'])
---- Bill <billlab51@xxxxxxxxxxx> wrote:
> Dan Shirah a écrit :
> > How about just adding a simple counter on your page.
> >
>
> That's what I do but that "counter" resets when you press F5 and is not
> functionnal.
>
> Why $_GET['i'] doesn't unsets ?
Because you get a new i from the URL, hence the GET
What you can do is set a session variable when you GET the first i, then just check and if the session variable is present, you don't process the next time you GET i.
Wolf
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php