Jump to content
Sign in to follow this  
batt255

Ip Trapped

Recommended Posts

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

Share this post


Link to post
Share on other sites

I just tried installing IP Trapped and i am getting similar errors .. i guess i have the username wrong question is which username does this reffer to and where can i find it

 

i have tried various options but nothing is working so far

 

any help many thanks in advance

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×