1: User writes his information in a form on a homepage. Users information is stored in a mysql database.
2: After 1 minute, the website generates a program that the user downloads. That program contains a key that connects to the mysql database and extracts the user that wrote in his information. The program that the user downloads is a connection to extract that users information and ONLY that users.
3: You create a form. Whenever the user enters a website and that form is used, all information is typed in automatically. Say the user typed in his name, his age, and his e-mail in step 1. When the user enters a website with your special form where the user should enter his e-mail, his e-mail is automatically written. Whenever the browser registers your special form, the website tells the program installed on the users computer to find information from the mysql database and paste it in the form. So the form you create specially for this script has some sort of PHP piece implemented that starts the process of finding the users information in the database.
If a user enters a website with your special generated form and the user doesnt have the program to connect with the mysql installed, he will just see the form as a regular form and he will have to type in his information manually.
This has to be secured. It must not be possible to find other users key's in the program. It must not be possible to get access to the database with all users information. It should not be possible for visitors to see that its a special form on the website he is visitting.
I DONT need any design, any setup or anything. I need ONLY what I listed.