Hi,
I'm getting some problems with an old form2mail script I used for a contact form and my server using 5.3.
It is this line-
$mailHeader .= "Message-ID: <". md5(rand()."".time()) ."@". preg_replace("www.","",$_SERVER/["SERVER_NAME"]/) .">\r\n";
Can anyone help? I think I'm supposed to close my "pattern" with a "/", but I'm not sure I'm getting it in the right place.
The message I get after submitting the form is-
Parse error: syntax error, unexpected '[' in /home/fstf/public_html/howtogivegirloralsex.com/form2mailsales.php on line 111
Thanks