ariamehr14038
New member
Hello experts,
I use this code to send email to myself, as you can see I use header parameter to specify "From: " header:
@mail("user@domain.com", $_POST['Subject'], $Message . $_POST['Update'], "From: user@domain.com");
It works, but the email I get contains this in the headers:
X-PHP-Script: www.domain.com/update.php for 93.37.38.39
X-PHP-Originating-Script: 2989:update.php
From: user@domain.com
To remove the above 2 X-PHP headers, someone told me to use: "X-PHP-Script: "
To replace the X-PHP headers with null.
However, no idea how to use both "From:" headers and "X-PHP" header together.
Anyone can help please?
I use this code to send email to myself, as you can see I use header parameter to specify "From: " header:
@mail("user@domain.com", $_POST['Subject'], $Message . $_POST['Update'], "From: user@domain.com");
It works, but the email I get contains this in the headers:
X-PHP-Script: www.domain.com/update.php for 93.37.38.39
X-PHP-Originating-Script: 2989:update.php
From: user@domain.com
To remove the above 2 X-PHP headers, someone told me to use: "X-PHP-Script: "
To replace the X-PHP headers with null.
However, no idea how to use both "From:" headers and "X-PHP" header together.
Anyone can help please?
