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 d on 09/28/96 11:42

<sid.bachtiar@gmail.com> wrote in message
news:1142456370.860921.32510@i40g2000cwc.googlegroups.com...
> 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.

The location should be a full address with protocol and host...

 

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

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