Posted by Mick Seymour on 8/25/2008, 7:49 am, in reply to "Re: R5 Mail"
64.110.90.70
: Could we have both a 'From' being the
: senders real name and a 'Subject'?
:
: We could for sure...
Excellent.
: Why not use the hidden
: recipient input field from contact.html and
: remove that block from the php script?
:
: Because it shows in the html and is
: harvestable by bots.
But isn't the fact that it is in contact.html the same thing unless the user chooses to display it as 'user at adomain dot com'?
:
: Changing it to use
: $_POST, as in $email = $_POST['email']
: works.
:
: Okay, I'll try that, although I've not had
: an issue with it here.. but someone else
: has.. What's the difference?
I think $HTTP_POST_VARS is maintained by the http server whereas $_POST is maintained by the PHP scripting engine.
: 4. The received email was from the Apache
: user at the sending server. This is probably
: OK but you can't then hit the Reply button
: to answer any questions.
: I know, but the problem is that it's going
: to be used on many servers where the user
: has no control over php settings.. what
: happens then?
:
OK, understood. A Reply-To header will work instead, as in "$replyto = 'Reply-To: '.$email;" then use "mail($recipient,$subject,$message,$replyto)"
Message Thread:
![]()
« Back to thread