Snaps in category Validation

Get Remote IP Address in PHP

This code allows to get the IP address from which the user is viewing the…

Check Referrer

This checks if the referrer is from the site you expect it to be.

RFC-compliant email address validator

Latest source code will always be here:

Email extension check

Great if you want to make sure an email ends in a certain extension.

Simple JPEG image validation

A function that does a simple JPEG image validation


Is it a valid IP?

Email validator

A simple email validator.

Alphanumeric validation

Checks if a string is alphanumeric.

Length validator

Validates the length of a string

E-mail address validation

A function that validates e-mail addresses with dns lookup and syntax check