[FX.php List] FX/FM escaping quotes with a backslash?
Dale Bengston
dbengston at preservationstudio.com
Thu Apr 10 21:04:04 MDT 2008
All right!
Dale
On Apr 10, 2008, at 6:58 PM, Kevin Futter wrote:
> On 11/04/08 3:26 AM, "Dale Bengston"
> <dbengston at preservationstudio.com>
> wrote:
>
>> We ran into something similar a few weeks back, where different
>> server
>> configs would place different variants of \" and \' in MySQL database
>> fields via FX.php (although FX wasn't causing the problem). We
>> started
>> trapping the server settings, thusly and removing slashes
>> accordingly.
>> We're looking at the value of get_magic_quotes_gpc().
>>
>> http://us.php.net/manual/en/function.get-magic-quotes-gpc.php
>>
>> Hope this helps,
>> Dale
>
> Brilliant Dale, thanks! That indeed was the problem! Ironic that our
> own
> internal tech webserver would fall victim to this...
>
> --
> 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