This is a real pain for me...
Firstly, I cannot use HTTP_REFERER because it isn't always set!
Secondly, I want to check that the user has arrived at my PHP page on the main site server from a different (secure) server which has just authorised a credit card transaction.
The idea is to stop people from being able to directly access my PHP page without first going through the credit card bit.
Big problem #1
The secure server does not have PHP!
Big problem #2
A "hidden" field is just not secure enough
Any ideas gratefully received!!