summaryrefslogtreecommitdiffstats
path: root/static/contact
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2019-08-04 11:20:37 -0400
committerrsiddharth <s@ricketyspace.net>2019-08-04 11:20:37 -0400
commitac11d3ec24a12dd2c79e6d4a3c15f95b3bddb274 (patch)
tree009c638b4ebf35e640283645ac9923f60c6c91e6 /static/contact
parent8fd94bc2d4286d61be6927a4ad774c820919335b (diff)
static/contact/submit/index.php: Update send.
* static/contact/submit/index.php (send): Add IP address of client send the message.
Diffstat (limited to 'static/contact')
-rw-r--r--static/contact/submit/index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/static/contact/submit/index.php b/static/contact/submit/index.php
index 2ec10ec..5704a49 100644
--- a/static/contact/submit/index.php
+++ b/static/contact/submit/index.php
@@ -24,6 +24,8 @@ function send($n, $e, $m) {
return mail(to(),
$p . ' sent a message to FSF India',
'Per says:' . PHP_EOL . PHP_EOL . $m
+ . PHP_EOL . PHP_EOL . '---' . PHP_EOL
+ . 'Message originating from ' . $_SERVER['REMOTE_ADDR']
);
}