How do I send a html mail using php mailer?
Currently it's sending a plain text mail. The actual html code.
My code:
SendMailEx($mail, "Your new password", $content);
// inside func above
$headers = 'From: ***' . "\r\n" .
'Reply-To: ***' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
Thank you
Hi everyone,
We're new here at the forums so I apologize if this is posted in the wrong section.
We are trying to hide .php extensions from our web url.
Example: We want to change .com/page.php into .com/page
I have tried creating a .htaccess file with this content but it is not working:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
What are we doing wrong?
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.