Jump to content

UWRP

New Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by UWRP

  1. 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

  2. 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?

×
×
  • Create New...

Important Information

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.