Posts

Showing posts with the label Script

PHP Email Verification Script

Image
Database Sample database  users  table contains four columns uid, email, password, activation and status. CREATE TABLE IF NOT EXISTS ` users ` ( ` uid `  int (11) NOT NULL  AUTO_INCREMENT , ` email `  varchar (300) NOT NULL UNIQUE, ` password `  varchar (300) NOT NULL, ` activation `  varchar (300) NOT NULL UNIQUE, ` status `  enum (' 0 ',' 1 ') NOT NULL DEFAULT '0', PRIMARY KEY  (`uid`) ) HTML Code Contains simple HTMl code. <form action="" method=" post "> <label> Email </label> <input type=" text " name=" email " class=" input " autocomplete=" off "/> <label> Password  </label> <input type=" password " name=" password " class=" input " autocomplete=" off "/> <br/> <input type=" submit " class=" button " value=" Registration " /> ...