I have a website using php to accept a credit card, then if authorized, queries an external database and delivers a report to the customer. If the customer hits refresh while viewing the report, the customer will be charged for another report and the same report will be generated again(charging me). I wasn't able to figure out how to stop from executing the php all the way back to the credit card order form. I know I could check the db but the report is large and I would prefer not to dump the data into a db just so I could redisplay it if the user hits refresh.
Is there a way just to reprint what is on the screen or simply not do anything?
Can I instruct the browser to just redisplay what is already there without running php scripts again?