thanks for the help. The second set of code gave me an error message but using the first set of code I am not getting email which I never got before.
Thanks again!!
// Rahul Chand - Start Hack
function get_emails ($str)
{
$emails = array();
preg_match_all('/(\w+\.)*\w+@(\w+\.)*\w+(\w+\-\w+)*\.\w+/', $str, $output);
foreach($output[0] as $email) array_push ($emails, strtolower($email));
if (count ($emails) >= 1) return $emails;
else return false;
}
Return to CKForms 1.3.x Support forum
Users browsing this forum: Google [Bot] and 1 guest