Re: unset($_GET['i'])

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---- 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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux