| 
	
 | 
 Posted by Jim Dornbos on 02/02/06 20:01 
On Wed, 01 Feb 2006 20:27:06 -0000, gordonb.q95s8@burditt.org (Gordon 
Burditt) wrote: 
>>quote from Jim 
>>From one newb to another... in addtion to mailing the message, I would 
>>unset a couple of (all?) your $_POST values. Then add some code prior 
>>to mailing to make sure they have values. Hitting submit once would 
>>send the message. Hitting submit a second time would throw up your 
>>error message about missing values (because you just wiped them out.) 
> 
>quote from Gordon 
>Unsetting $_POST values has no effect whatever on the next submission, 
>for much the same reason that drawing a beard on a photograph of 
>you doesn't give you a beard.  Consider $_POST as read-only, although 
>you *CAN* alter it, it gets thrown away once your script is finished 
>running. 
 
Thanks for catching me on that, Gordon. I used unset() for a logout 
page... but just enough of the details were sticking with me to get me 
in trouble. 
 
Jim
 
  
Navigation:
[Reply to this message] 
 |