RE: [PHP] Clearing POST variable on page refresh

2006-12-19 Thread tedd
At 5:37 PM -0500 12/18/06, Beauford wrote: > -Original Message- > From: Richard Lynch [mailto:[EMAIL PROTECTED] -snip- most excellent code and advice from Richard (Thanks Richard). Hmm. I was thinking more of a one liner that would just clear the memory buffer of these variables, bu

RE: [PHP] Clearing POST variable on page refresh

2006-12-18 Thread Beauford
> -Original Message- > From: Richard Lynch [mailto:[EMAIL PROTECTED] > Sent: December 18, 2006 3:46 PM > To: Beauford > Cc: PHP > Subject: Re: [PHP] Clearing POST variable on page refresh > > On Sun, December 17, 2006 4:59 pm, Beauford wrote: > > I have

Re: [PHP] Clearing POST variable on page refresh

2006-12-18 Thread Richard Lynch
On Sun, December 17, 2006 4:59 pm, Beauford wrote: > I have a page with a form on it which posts to itself. The problem is > when > someone refreshes the page it enters the data into the DB again. How > do I > clear these variables so that doesn't happen. I tried the unset > function, > but no luck

RE: [PHP] Clearing POST variable on page refresh

2006-12-18 Thread Robert Cummings
On Mon, 2006-12-18 at 09:34 -0500, Brad Fuller wrote: > > -Original Message- > > From: Jochem Maas [mailto:[EMAIL PROTECTED] > > Sent: Monday, December 18, 2006 3:39 AM > > To: Beauford > > Cc: PHP > > Subject: Re: [PHP] Clearing POST vari > > My way of getting around this has been to put t

Re: [PHP] Clearing POST variable on page refresh

2006-12-18 Thread Jochem Maas
Brad Fuller wrote: >> -Original Message- >> From: Jochem Maas [mailto:[EMAIL PROTECTED] >> Sent: Monday, December 18, 2006 3:39 AM >> To: Beauford >> Cc: PHP >> Subject: Re: [PHP] Clearing POST variable on page refresh >> >> Beauford wrote:

RE: [PHP] Clearing POST variable on page refresh

2006-12-18 Thread Brad Fuller
> -Original Message- > From: Jochem Maas [mailto:[EMAIL PROTECTED] > Sent: Monday, December 18, 2006 3:39 AM > To: Beauford > Cc: PHP > Subject: Re: [PHP] Clearing POST variable on page refresh > > Beauford wrote: > > Hi, > > > > I have a page wi

Re: [PHP] Clearing POST variable on page refresh

2006-12-18 Thread Jochem Maas
Beauford wrote: > Hi, > > I have a page with a form on it which posts to itself. The problem is when > someone refreshes the page it enters the data into the DB again. How do I > clear these variables so that doesn't happen. I tried the unset function, > but no luck. I really don't want to use ses

Re: [PHP] Clearing POST variable on page refresh

2006-12-17 Thread Stut
Beauford wrote: I have a page with a form on it which posts to itself. The problem is when someone refreshes the page it enters the data into the DB again. How do I clear these variables so that doesn't happen. I tried the unset function, but no luck. I really don't want to use sessions or cookie