I need the following script coded/created:
a) one logs in and a code is created.
b) when the code is entered at a later date the script checks if it was issued (validity) .
c) when valid or invalid the relevant message is displayed, If valid a enter button appears next to the text.
d) when the 'enter' button is pressed the code is registered as 'used'.
I hope this is clear. CGI or PHP. I guess CGI is safer but PHP more prevalent.