Valid Email Check
This will check an email, to see if it is in a valid format.
Valid Image Check
This function will check to see if the file your checking is an image.
if one visits for the first time, it says welcome. otherwise it gives the visit number and says when the user was on the site last time.