summaryrefslogtreecommitdiffstats
path: root/static/volunteer
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2019-08-04 11:15:08 -0400
committerrsiddharth <s@ricketyspace.net>2019-08-04 11:15:08 -0400
commit8fd94bc2d4286d61be6927a4ad774c820919335b (patch)
tree01b2afa94fccb8cdbd58eefe70ca007f2c216ad8 /static/volunteer
parent20343452d6338244652e184ced57314e02a662dc (diff)
volunteer/submit/index.php: Updat send.
static/volunteer/submit/index.php (send): Add IP address of the sender in the message.
Diffstat (limited to 'static/volunteer')
-rw-r--r--static/volunteer/submit/index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/static/volunteer/submit/index.php b/static/volunteer/submit/index.php
index dead509..401ad01 100644
--- a/static/volunteer/submit/index.php
+++ b/static/volunteer/submit/index.php
@@ -24,6 +24,8 @@ function send($n, $e, $m) {
return mail(to(),
$p . ' wants to volunteer for FSF India',
'Per says:' . PHP_EOL . PHP_EOL . $m
+ . PHP_EOL . PHP_EOL . '---' . PHP_EOL
+ . 'Message originating from ' . $_SERVER['REMOTE_ADDR']
);
}