Looking to get a new email validation feature to my form validator

Closed - This job posting has been filled and work has been completed.

Job Description

Ok so,

I have a form, that validate informations. currently it check if email entered is valid. But i would like to change this feature so it can :

-Check if the email entered is in a list of email i will provide (which i can add or remove some)

hope it can be done by php, and no need of a complete database or anything like this

so if my list is for example: (testemail@test.com, testemail111@test.ca)

and someone enter : test@test.com , the form wont recognize the email as in the list so it will say error

if someone enter testemail@test.com , then it will be good to go

Understand requirements? cool so you can now bid :)