Send IP
-
There’s only one thing I noticed that I really needed in it but it didn’t have. When it would send an email it wouldn’t show the IP address of the sender. I looked at the PHP code and it was relatively simple to add in.
If you open up the file simplesecure.php and scroll down to around line 238 you should see something like this:
$body .= "Message: " . $message . "\n";
At the end of that line press enter to create a new line and add this to that new line:
$body .= "Sender IP: " . $_SERVER['REMOTE_ADDR'] . "\n";
When you get emails it will now have something like:
IP Address: 192.168.0.1
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Send IP’ is closed to new replies.