Results 1 to 2 of 2

Thread: phpmailer code affected

  1. #1
    Join Date
    Apr 2012
    Posts
    2

    Smile phpmailer code affected

    Hi all, have a problem with some code. We use phpmailer and as from last week when php was updated on the bluehost server to 5.2.17, backslashes are being added in front of all quote marks. See:<div id=\"container\">
    <div id=\"header\">
    <h1>NYSABE Conference</h1>
    </div>
    <!-- closes header -->
    <div id=\"subHead\">
    <h3 class=\"textshadow\">Dear Craig Christie,</h3>
    </div>
    <div id=\"message\"><!--general stylesheet--> <style type=\"text/css\">"

    We have changed the settings in the php.ini file register_globals off and magic_quotes off but still the same happens. It kills all styling in the newsletters we are trying to send. Any help would be appreciated. We have lodged a support ticket with Bluehost support and are awaiting reply.

    Craig

  2. #2
    Join Date
    Apr 2012
    Posts
    2

    Red face

    Found problem, had to turn the following to on in the php.ini file

    ; Use Sybase-style magic quotes (escape ' with '' instead of \').
    magic_quotes_sybase = Off

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •