You are here: How to prevent re-posts and stupid re-post warning message on page refresh [SOLVED] « All PHP « IT news, forums, messages
How to prevent re-posts and stupid re-post warning message on page refresh [SOLVED]

Posted by alex.alexander on 08/21/06 02:14

I've been searching for a way to prevent that STUPID re-post warning
message from showing up when you hit the refresh button on your
browser...

I finally found a good solution that does not require redirection,
extra pages, etc. etc.

Just run the following commands at the end of your post-processing php
file:

foreach ($_POST as $var => $value) {
unset($var);
}

This way you'll never have re-posting issues and you'll get rid of the
stupid warning message! :D

 

Navigation:

[Reply to this 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

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