[FX.php List] FX/FM escaping quotes with a backslash?

Gjermund Gusland Thorsen ggt667 at gmail.com
Wed Apr 9 23:38:20 MDT 2008


You forgot to do stripslashes()?

2008/4/10, Kevin Futter <kfutter at sbc.melb.catholic.edu.au>:
> On 10/04/08 1:39 PM, "Tim 'Webko' Booth" <tim at nicheit.com.au> wrote:
>
>  >>
>  >> I've been all over my code and I can't find anything that's doing
>  >> this, so
>  >> I'm assuming it's either FX (not likely) or FM's XML interface. If
>  >> it's the
>  >> latter, the only thing I can think of is that the submitting page is
>  >> encoded
>  >> as ISO-8859-1 rather than UTF-8, and FM is 'handling' that by escaping
>  >> non-ASCII characters. An educated but rather wild guess, really.
>  >
>  > I've had this occur every now and again, but never delved too deeply
>  > into why - the places it happened were my own testing pages, so I
>  > basically ignored it ;-)
>  >
>  > Maybe you could apply a stripslashes to it before inserting and see if
>  > that makes a difference?
>  >
>  > Cheers
>  >
>  > Webko
>
>
> Thanks Tim. Just gave it a go but it made no difference. This more-or-less
>  confirms for me that it's not FX or PHP doing it, but rather, something on
>  the FM side - most likely the XML interface. Luckily it's only an internal
>  page that us technical staff use, so it's no biggie from that perspective,
>  but I'm still stumped about the 'why'.
>
>
>  --
>  Kevin Futter
>  Webmaster, St. Bernard's College
>  http://www.sbc.melb.catholic.edu.au/
>
>
>  #####################################################################################
>  This e-mail message has been scanned for Viruses and Content and cleared
>  by MailMarshal
>  #####################################################################################
>
>  This e-mail and any attachments may be confidential. You must not disclose or use the information in this e-mail if you are not the intended recipient. If you have received this e-mail in error, please notify us immediately and delete the e-mail and all copies. The College does not guarantee that this e-mail is virus or error free.  The attached files are provided and may only be used on the basis that the user assumes all responsibility for any loss, damage or consequence resulting directly or indirectly from the use of the attached files, whether caused by the negligence of the sender or not. The content and opinions in this e-mail are not necessarily those of the College.
>  _______________________________________________
>
> FX.php_List mailing list
>  FX.php_List at mail.iviking.org
>  http://www.iviking.org/mailman/listinfo/fx.php_list
>


More information about the FX.php_List mailing list