Re: Browser reload problem

From: Date: Fri, 30 Jul 2004 15:24:36 +0000
Subject: Re: Browser reload problem
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-192319@lists.php.net to get a copy of this message
Jason Barnett wrote:
Is there a question here? Or is this a resolution?
Thanks for asking. I found a solution that works. Basically when data gets returned, check the unique id against the DB. If it doesn't exist, insert it together with the other stuff I want in the DB. If it does, don't bother re-adding it - don't return an error either because the user won't care anyway. Though I'm intrigued by two things: a) why am I getting both $_REQUEST as well as $_POST variables when I get PayPal's redirect, and b) I wonder if Matthew Sims' solution of inserting a header redirect back to the same page really discards all of the $_POST variables. And if so, what happens with the $_REQUEST ones? -- W | I haven't lost my mind; it's backed up on tape somewhere. +-------------------------------------------------------------------- Ashley M. Kirchner <mailto:ashley@pcraft.com> . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.

« previous php.general (#192319) next »