Hi guys,
I've recently incorporated a contact form in a PHP website. Everything looks OK but when I click the Submit button I get the following errors:


fgcontactform.php
on line
548
this is line 548
Code: 
{
        return eregi("^[_\.0-9a-zA-Z-]+@([0-9a-zA-Z][0-9a-zA-Z-]+\.)+[a-zA-Z]{2,6}$", $email);
    }
class.phpmailer.php
on line
470
this is line 470
Code: 
 $toArr = split(',', $to);
does anyone have an idea what's causing this?
f4n3 Reviewed by f4n3 on . Contact form in PHP website gives errors Hi guys, I've recently incorporated a contact form in a PHP website. Everything looks OK but when I click the Submit button I get the following errors: http://i1208.photobucket.com/albums/cc364/f4n3/contact-1.png fgcontactform.php on line 548 this is line 548 { return eregi("^+@(+\.)+{2,6}$", $email); }class.phpmailer.php on line Rating: 5