|
|
X-Originating-IP
- Development Posted by Jesper Mohr (Monday March 05 2001 @ 02:46PM EST) views: 178 |
Suggestion: adding X-Originating-IP in the mail header to prevent spam.
In submit.php (case "contact")::
"From: $Author \nReturn-Path: \nX-Mailer: phpWebLog $G_VER\nX-Originating-IP: " . F_getIP() . "\n");
and in common.inc.php (function F_mailFriend):
mail($MailTo . "",$subject,strip_tags(stripslashes($pre)),
"From: " . $Author . " \nReturn-Path: \nX-Mailer: phpWebLog $G_VER\nX-Originating-IP: " . F_getIP() . "\n");
|
|
By jason (Monday March 05 2001 @ 03:02PM EST)
|
Good idea, Brian may want to add this to his version.
|
[ reply | parent ]
|
|
By Brian Milby (Monday March 05 2001 @ 08:15PM EST)
|
It's in the current release on my site.
Thanks
|
[ reply | parent ]
|
|
|
|
|