Reply to Re: unset $_POST variables

Your name:

Reply:


Posted by Rik Wasmus on 11/20/07 16:53

On Tue, 20 Nov 2007 17:48:52 +0100, mtuller <mituller@gmail.com> wrote:
> I have a page that submits data to a database, and I want to make it
> so that if the page is refreshed, it doesn't submit the information
> again. I am trying to use unset the variables so that if the page is
> refreshed, it will not submit again. I saw a post about setting a time
> delay of something like 30 seconds, but would prefer just to unset the
> variable.

This question has been asked dozens of times, in the last few weeks even.
Search the archive (hint: header redirect).

Unsetting a $_POST variable would be nonsense, as it will be repopulated
on a new POST request from the browser/user/UA.
--
Rik Wasmus

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация