Simple overview..
You could use the transaction id as a key..
(Like validating an account.)
Upon upload, check the key..
Once a file is uploaded with that key.. set a flag that corresponds to that key equal to 0 or 1.
If an upload is reattempted with that key, and the flag indicates it has already been used..
die("error message here");
|