[prev in list] [next in list] [prev in thread] [next in thread]
List: php-internals
Subject: [PHP-DEV] [PATCH] Add information header to mail()
From: "Bennett, Steve" <s.bennett () lancaster ! ac ! uk>
Date: 2004-03-26 12:05:48
Message-ID: 7F332A8009EE5D4CB62C87717A3498A101803B2D () exchange-be1 ! lancs ! ac ! uk
[Download RAW message or body]
This is a patch to add an informational header to messages sent from PHP
via the mail() function. This can help to track which script on a server
was used to send a message, and which client caused it to be sent.
The header added has the form:
X-PHP-Script: <servername><php-self> for <remote-addr>
For example:
X-PHP-Script: www.example.com/~user/testapp/send-mail.php for
10.0.0.1
http://www.lancs.ac.uk/~steveb/php-mail-header-patch/
Steve.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic