in the registration, you can record the IP of the user who fill in the form, sure, you could fill in the record on the database but you would need to know the IP address.
you should also be recording the registration date in your database.
These questions would really be best posed to a lawyer however.