Richard Lynch <mailto:ceo@xxxxxxxxx> on Thursday, February 03, 2005 11:26 AM said: > A simple thing to do is to put an md5 hash into the POST data, then > only do the insert if that md5 hash isn't already "used" when they > hit refresh. > > This avoids the hassle of re-direct headers and trying to follow > programming logic bouncing from script to script. Come now, let's not be so dramatic. :P "hassle of re-direct": <?php header("Location: http://fq.dn/page.ext"); ?> "programming logic bouncing from script to script": It would be the same logic/handling of the form, just split across two pages. Not really much changing is necessary. Except of course that you will have to send data back to the form page via the querystring should you have the need (i.e. form errors). Not trying to knock you or the MD5 solution you offered. Just thought you made the two page solution sound scarier than it really is. Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php