PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Okay, I've got this page that users are sent to after they send money to me with paypal. It takes the $amount that paypal posts, and puts that into a database when the page is loaded. How can I stop users from simply refreshing over and over again to keep putting the money in the database?
This is what I've got doing the dirty work when they get redirected to the page.
At the very least, use a splash page that redirects so even if they refresh, it only refreshes a static HTML output page instead of something hitting the DB. This will not entirely prevent your issue (Feyd's suggestion will) but it will cause your users to have to do more work to do to you what they can easily do now.