Re: [PHP] How can I destroy parameters by page

2005-03-25 Thread Colin Ross
on a side note, for devs, i don't really like how you can override the values of the $_GET (or $_POST) array, seems like it could be a security threat. Also, with that ability, you can never tell (especially if you are making a mod, etc for a larger system) if what your dealling with is the ACTUAL

Re: [PHP] How can I destroy parameters by page

2005-03-25 Thread [EMAIL PROTECTED]
Use unset() unset($_GET['item']); unset($_GET['ac2']); if you want to destroy the value and its name in the same $_GET array. or unset($item); if you want to destroy another variable, not related to $_GET You can use the same with $_POST... Devta. IHow Can I destroy some variable that I pass by u

Re: [PHP] How can I destroy parameters by page

2005-03-24 Thread pavel
> IHow Can I destroy some variable that I pass by url, exmple: > http://webadmin/paginas/personalidades.php?ac2=delete&item=18# > then when i get the varibale ac2 and item, I want to delete the value of > this variable. unset($_GET['item']) ? http://www.php.net/manual/en/function.unset.php -- P

Re: [PHP] How can I destroy parameters by page

2005-03-24 Thread M. Sokolewicz
somebody can help me. regards TOMAS - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "Tomás Rodriguez Orta" <[EMAIL PROTECTED]>; "[php] PHP General List" Sent: Thursday, March 24, 2005 8:23 AM Subject: RE: [PHP] How can I destroy paramete

RE: [PHP] How can I destroy parameters by page

2005-03-24 Thread Chris W. Parker
Tomás Rodriguez Orta on Thursday, March 24, 2005 12:19 PM said: > IHow Can I destroy some variable that I pass by url, exmple: > http://webadmin/paginas/personalidades.php?ac2=delete&item=18# > then when i get the varibale ac2 and item, I want to delete the value > o

Re: [PHP] How can I destroy parameters by page

2005-03-24 Thread Tomás Rodriguez Orta
<[EMAIL PROTECTED]> To: "Tomás Rodriguez Orta" <[EMAIL PROTECTED]>; "[php] PHP General List" Sent: Thursday, March 24, 2005 8:23 AM Subject: RE: [PHP] How can I destroy parameters by page [snip] IHow Can I destroy some variable that I pass by url, exmple: http://webad

RE: [PHP] How can I destroy parameters by page

2005-03-24 Thread Jay Blanchard
[snip] IHow Can I destroy some variable that I pass by url, exmple: http://webadmin/paginas/personalidades.php?ac2=delete&item=18# then when i get the varibale ac2 and item, I want to delete the value of this variable. how can I do? [/snip] http://www.php.net/unset -- PHP General Mailing List (ht

[PHP] How can I destroy parameters by page

2005-03-24 Thread Tomás Rodriguez Orta
Hello friends. IHow Can I destroy some variable that I pass by url, exmple: http://webadmin/paginas/personalidades.php?ac2=delete&item=18# then when i get the varibale ac2 and item, I want to delete the value of this variable. how can I do? regards TOMAS ---