Deprecated: Function split()
Hi.
I implemented the Contact Form Solutions pack 1.0.3 to a site also with Universal Email 4 and am getting the following errors, after clicking send. The form does send the email but it remains on the contact page, does not direct to the contact thank you page, and shows this error at the top of the page:
Deprecated: Function split() is deprecated in /home/content/b/i/r/birardij/html/WA_Universal_Email/MailFormatting_PHP.php on line 42
Deprecated: Function split() is deprecated in /home/content/b/i/r/birardij/html/WA_Universal_Email/MailFormatting_PHP.php on line 42
Warning: Cannot modify header information - headers already sent by (output started at /home/content/b/i/r/birardij/html/WA_Universal_Email/MailFormatting_PHP.php:42) in /home/content/b/i/r/birardij/html/plumber-new-jersey-contact.php on line 35
The code on line 42 of the MailFormatting_PHP.php is:
$domArr = split("\.",$domainName);
The code on line 35 of the contact page is:
34 if ("index.php"!="") {
35 header("Location: thankyou.php");
36 }
Any help would be greatly appreciated.