topical media & game development
professional-ajax-03-Communication-Control-Patterns-Submission-Throttling-ValidateForm.php / php
<?php
message = "An unknown error occurred.";
if (isset(usernames = array();
usernames[] = "Ninja123";
usernames[] = "NatPack";
//check usernames
if (in_array(usernames)) {
_GET["txtUsername"]) < 8) {
valid = "true";
_GET["txtBirthday"])) {
_GET["txtBirthday"]);
if (message = "This is not a valid date.";
} else {
message = "";
}
} else if (isset(",
message = "This e-mail address is not valid";
} else {
message = "";
}
}
echo "message"; ?>
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.