• 1.
    function is_email($str) {
  • 2.
    	if(filter_var($_POST['mail'], FILTER_VALIDATE_EMAIL)) return true;
  • 3.
    	esle return false;
  • 4.
    }
function is_email($str) { if(filter_var($_POST['mail'], FILTER_VALIDATE_EMAIL)) return true; esle return false; }

Copy Code to Clipboard Raw

Sign-in or Create a Free Account.

Snippi uses Twitter or Facebook to register and create accounts. Registration will enable you to keep track of your snippets. We never spam your timeline or wall. Ever.

Sign-in with Facebook Sign-in with Twitter