Code2Design offers a wide range of free video tutorials particularly on PHP,HTML and AutoCAD.The videos are free to download for you to view them offline or show and share them to your friends and colleagues.The videos tutorials are easy to grasp and understand.Click here to go to the tutorials section.
This is a simple email address validation function written in PHP.It can be used in signup forms to validate email entries on form.Email address validation function will return 1 if it is valid and 0 if it is not.
function check_email($str)
{
//returns 1 if valid email, 0 if not
if(ereg(”^.+@.+\\..+$”, $str))
return 1;
else
return 0;
}
This PHP function creates a random string that can be used as a password generation tool for your website.You can generate an alphabetic,numeric,alphanumeric or alphanumeric with symbols random string that can be used as a random password.Just modify the array in the code to which characters you will use in the string.The string length can [...]