From: Steve Sutton Date: Mon, 10 Oct 2016 13:12:18 +0000 (-0400) Subject: Update script X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=9a3ac7242686fe311b01ccbd364dca01b0cc02cb;p=web%2Fwww.mackinacbridge.org.git Update script for newer version of php --- diff --git a/admin/feedback/setup_feedback.inc b/admin/feedback/setup_feedback.inc index 2e29426..6864572 100755 --- a/admin/feedback/setup_feedback.inc +++ b/admin/feedback/setup_feedback.inc @@ -1,4 +1,5 @@ -A Database Error Has Occured"); $LINK = "#000080"; // Link Color $ALINK = "#000080"; // Active Link Color $VLINK = "#000080"; // Visited Link Color - + function email_format($raw_string) { $raw_string = strtolower($raw_string); - + $ereg_result = ereg('[a-z0-9_.]+@[-a-z0-9_]+\.[-a-z0-9_.]+',$raw_string); - + if($ereg_result != '') {return(1);} else