batt255 Posted July 23, 2008 Share Posted July 23, 2008 I just installed Ip trapped ad on and when I test ti I get errors in the index file on line 38. The following is the code before I change the places i need to change: mail("you@your_site.net", "IP Banned $todaysdate", "$ip ($ua) has been banned.\n\n","From: BANNED@your_store.net"); The error I get when testing this add on is: Parse error: syntax error, unexpected T_STRING in /home/username/public_html/index.php on line 38 ( username is my username which i did not want to display here) line 38 is the above code. Can anyone see an error in the code?...When I block the code from working using // the script works..of course it does not email me, but it does work. thanks Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.