PHP formmail sought
Sep. 21st, 2004 04:31 pmWhat do people use for this?
It must
a) work - this rules out www.dtheatre.com/scripts/formmail.php, the first google hit for 'PHP formmail'.
b) be secure - I'd prefer to set the destination for email in the script, not the form, for example.
c) not have too much crap attached - a 150k script for this is silly.
d) not insist on people giving an email address when they submit the form - I've hacked http://cgi-central.net/scripts/aformmail/ so it doesn't, but if people have one where I don't need to do so, then...
e) not be in a .zip file that neither pkunzip or winzip can extract from!
It must
a) work - this rules out www.dtheatre.com/scripts/formmail.php, the first google hit for 'PHP formmail'.
b) be secure - I'd prefer to set the destination for email in the script, not the form, for example.
c) not have too much crap attached - a 150k script for this is silly.
d) not insist on people giving an email address when they submit the form - I've hacked http://cgi-central.net/scripts/aformmail/ so it doesn't, but if people have one where I don't need to do so, then...
e) not be in a .zip file that neither pkunzip or winzip can extract from!
(no subject)
Date: 2004-09-21 09:25 am (UTC)On my sites I use a micture of cgi equivalents or the standard PHP 'mail' instruction (bool mail ( string to, string subject, string message [, string additional_headers [, string additional_parameters]] )) dependent on the actual need.
(no subject)
Date: 2004-09-24 08:57 am (UTC)I hadn't considered sticking some PHP in the page. Hmm.