Results 1 to 3 of 3
Hybrid View
-
3rd May 2012, 03:09 PM #1Respected MemberWebsite's:
DL4Everything.com Soft2050.inThey are deprecated functions and they shouldn't be used since they are going to be removed in future versions.
Instead of eregi, use preg_match, replace code with:
PHP Code:{
return preg_match("/^[_\.0-9a-zA-Z-]+@([0-9a-zA-Z][0-9a-zA-Z-]+\.)+[a-zA-Z]{2,6}$/i", $email);
}
PHP Code:$toArr = explode(',', $to);
soft2050 Reviewed by soft2050 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
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[PHP] Getting blank message from contact form
By coolboyz2323 in forum Technical Help Desk SupportReplies: 6Last Post: 30th Sep 2012, 08:03 AM -
Where can I found a good contact form?
By Divvy in forum Webmaster DiscussionReplies: 9Last Post: 31st Mar 2011, 06:00 PM -
23:34 10/11/2010 - Contact form
By JmZ in forum Web Development AreaReplies: 4Last Post: 12th Nov 2010, 11:53 AM -
Free Contact Form Lite
By Jesse in forum Useful SitesReplies: 1Last Post: 30th Dec 2009, 08:50 PM -
Free Contact Form
By johnny in forum Webmaster DiscussionReplies: 1Last Post: 2nd Dec 2009, 03:35 PM
themaCreator - create posts from...
Version 3.55 released. Open older version (or...