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:[EMAIL PROTECTED]> . 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.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php