Hi!
I'm having trouble with people spamming my mail forms.
I have a form on my site, and I would like to get their ip's so I can block them...
I want to get their ip's when they send the form, but I don't know how to do that...
(When they press "send" I get an e-mail with the info they've submitted. I want to get their ip's too)
Does anyone know how to do that?
$msg = "Name:\t$_POST[name]\n";
When I get the e-mail then, I see this:
Name: (name goes here)
Can I make something like that, but get it to look like this in the e-mail:
Ip: (ip address)
Thank you 🙂
-Cathrine