You are here: Re: How to prevent resending of $_POST data « All PHP « IT news, forums, messages
Re: How to prevent resending of $_POST data

Posted by sid.bachtiar on 09/28/70 11:42

Hi, try to redirect to another page after submission to prevent the
page refresh from resending the POST data.

E.g.: you could use:

<?php

// do your POST data handling here

// redirect to another page when done processing
header("location: another_page.php");
?>

Disclaimer: I didn't test the code above, just try it out.

 

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

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