Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

php mail header patch

Discussion in 'E-mail Discussion' started by hostserver, Sep 13, 2005.

  1. hostserver

    hostserver Active Member

    May 27, 2005
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello Support Cpanel
    Whether tell there will be a support of a patch in version Cpanel?

    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: for

    If the connection appears to have come via a proxy cache (i.e. has an "X-Forwarded-For" header), is a list of addresses (the addresses in X-Forwarded-For, then the 'real' remote address).

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice