email

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • WayneBurrows

    email

    I am trying to create some html with php and the double quote
    character is somehow changing to \"

    This renders some html useless.

    Is there a work around here.

    Wayne
  • WayneBurrows

    #2
    Re: email

    On Mar 27, 7:59 pm, WayneBurrows <wjburr...@gmai l.comwrote:
    I am trying to create some html with php and the double quote
    character is somehow changing to \"
    >
    This renders some html useless.
    >
    Is there a work around here.
    >
    Wayne
    Here is a simple example.

    I start with this text in a form:

    <table bgcolor="yellow " align="center"> <td align="center"> <font
    color="blue"><b >Some text here<br>
    more text</b></font></td></table><br>

    and write the contents of this textarea to a webpage and to an email.
    In both cases it becomes:

    <table bgcolor=\"yello w\" align=\"center\ "><td align=\"center\ "><font
    color=\"blue\"> <b>Some text here<brmore text</b></font></td></
    table><br>

    Where do all of those "\" characters come from?

    Comment

    • Wiktor Walc

      #3
      Re: email

      WayneBurrows pisze:
      On Mar 27, 7:59 pm, WayneBurrows <wjburr...@gmai l.comwrote:
      >I am trying to create some html with php and the double quote
      >character is somehow changing to \"
      >
      Where do all of those "\" characters come from?
      Search in a PHP manual for: magic_quotes_gp c
      It is probably set to "On" on your server.

      Possible solution: get_magic_quote s_gpc + stripslashes

      --
      CKFinder :: ajax web file browser

      Comment

      Working...