METHOD TWO
use an array
post data $user
$name = array("1" , "2" , "3");
$loc = array_search($user, $name);
if ($loc > 0);
user allowed into site
new user name wld be pushed FUNCTION CHECK MANUAL
into array using a registration form.
Also a file cld be used to store data
use FUNCTION file($file_name) after writing new uses names to the file with the fwrite function, to get data to compare as with the previous example. And finally If U JUST CAN'T BOTHER CHECK OUT THIS SITE'S LIBRARY FOR A SUPER COMPLEX FAULT PROOF EXAMPLE