5 Useful PHP Functions You might need while doing PHP Coding
Posted on Jun 26, 2010 | Leave a Comment
Sending email using PHP mail function:
function phpmail($mailto,$mailsubject,$mailbody,$mailfrom,$mailformat="",$bcc="")
{
if($mailformat=="html")
{
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: $mailfrom\r\n";
}
else { $headers...
Page 1 of 11
You can subscribe by e-mail to receive news updates and breaking stories.