note 37561 added to function.substr-count

From: Date: Wed, 19 Nov 2003 19:36:32 +0000
Subject: note 37561 added to function.substr-count
Groups: php.notes 
Request: Send a blank email to php-notes+get-60636@lists.php.net to get a copy of this message
you can use this for an email verfication check: <?php /* function made by AsaF92 */ function email_verfication($email) { $check=substr_count($email,@) if($check!=1) { return "no" } else { return "ok" } return "no" //this line will never happen } ?> ---- Manual Page -- http://www.php.net/manual/en/function.substr-count.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+37561 Delete -- http://master.php.net/manage/user-notes.php?action=delete+37561&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+37561&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#60636) next »