[PHP] Re: Clear HTTP POST value

2004-08-23 Thread Torsten Roehr
Nicklas Bondesson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi! Is there a smooth way to clear a posted value on a page? I have tried the following without sucess. unset($_POST[var]); unset($HTTP_POST_VARS[var]); Nicke Hi Nicke, unset($_POST['var']) *should* work - it

RE: [PHP] Re: Clear HTTP POST value

2004-08-23 Thread Nicklas Bondesson
Didn't work for me (PHP 4.3.9 + Apache 2.0.4). I will try the other method you suggested. Nicke -Original Message- From: Torsten Roehr [mailto:[EMAIL PROTECTED] Sent: den 23 augusti 2004 13:41 To: [EMAIL PROTECTED] Subject: [PHP] Re: Clear HTTP POST value Nicklas Bondesson [EMAIL

Re: [PHP] Re: Clear HTTP POST value

2004-08-23 Thread John Holmes
From: Nicklas Bondesson [EMAIL PROTECTED] Didn't work for me (PHP 4.3.9 + Apache 2.0.4). I will try the other method you suggested. Can you define didn't work for us? Are you saying that if $_POST['foo'] has a value of bar, that: echo $_POST['foo']; unset($_POST['foo']); echo $_POST['foo'];