Is there a way I can check in my PHP file that adds users to my database when used. I.E.
John uses my program and it grabs his information when he gets an error and sends it to my database, it has his name, email, and computer OS.
Now thats all I want, but if john goes to start the program again it will send ANOTHER, DUPLICATE copy of the row to my database, this is useless and clogs it full of useless information.
Code currently being used:
$connect = mysql_connect('host','user','pass') or die("Error");
mysql_select_db('DB') or die("Error");
$Name = $_GET['name'];
$Email = $_GET['email'];
$OS = $_GET['os'];
$add ="INSERT INTO UserDB(Name, Email, OS, ) VALUES ('$Name', '$Email', '$OS')";
mysql_query($add,$connect);
mysql_close($connect);