[FX.php List] Switch of web host - HTML special chars stripped from FX output (FMU6)

Ben Bradley ben.bradley at dealer-world.com
Sun May 31 04:33:32 MDT 2009


Hi
I'm using the same version of FX.php as I was on the old hosting provider... Which was working fine.
I basically uploaded an identical copy of the site to the new provider

What version should I try?
At the moment I'm using 4.5.1

Cheers, Ben


-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Gjermund Gusland Thorsen
Sent: 31 May 2009 01:03
To: FX.php Discussion List
Subject: Re: [FX.php List] Switch of web host - HTML special chars stripped from FX output (FMU6)

Ahh, FMU6

Did you try an old version of FX.php? One that corresponds to FMU6, i e

ggt

2009/5/30 Ben Bradley <ben.bradley at dealer-world.com>:
> PHP headers and meta charset are both UTF-8
> It appears special chars are just completely removed. The rest of the content is fine!
>
> If I try and get any records from the CMS database using a completely plain test script, then the same thing happens.
>
> It's not just this field either, if I put special chars (< > or ") in any other field, they also get removed
> So the tag name, contents, attributes and values etc are all preserved, just without the <>" in there!
>
> Strangeness!
>
> Cheers, B
>
>
> -----Original Message-----
> From: fx.php_list-bounces at mail.iviking.org [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Gjermund Gusland Thorsen
> Sent: 30 May 2009 13:56
> To: FX.php Discussion List
> Subject: Re: [FX.php List] Switch of web host - HTML special chars stripped from FX output (FMU6)
>
> And what is your charset in the header of your documents?
>
> Are the characters just removed? or replaced with some other chars?
>
> ggt
>
> 2009/5/29 Ben Bradley <ben.bradley at dealer-world.com>:
>> Hi everyone
>> I've just switched hosting provider and there appears to be a difference in
>> their PHP configurations.
>>
>> With the new provider any HTML special chars are getting automatically
>> removed from my FX.php output... causing HTML tags in my FileMaker website
>> content management system to get printed out as text.
>> Less than, greater than and quote marks are just removed; not replaced with
>> anything else.
>>
>> I have basically copied the entire site over to the new provider and I've
>> never seen this problem before.
>>
>> The old provider was running PHP 5.2.6
>> The new provider is running PHP 5.2.5
>>
>> One thing I did notice is the new provider has magic_quotes_gpc set to On in
>> the phpinfo()
>> It was Off on the old provider.
>> But that shouldn't make any difference to the output of FX, should it?
>> magic_quotes_runtime and magic_quotes_sybase are set to Off on the old and
>> new providers.
>>
>> I'm running FileMaker Unlimited 6 with custom web publishing. There's
>> nothing that's changed on the CDML format files.
>> When I call up the site in the old host, everything is still fine!
>>
>> Anyone experience this error before or can think of any config things to
>> try?
>>
>>
>> I've done a few tests... CURL calls are fine... no HTML special chars
>> removed there!
>> Also if I set a bunch of HTML code into a variable, and echo that variable
>> out again the HTML special chars are preserved so the tags get rendered.
>>
>> Any ideas / suggestions?
>> This has been driving me nuts this afternoon!
>>
>> Cheers, B
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
>>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
_______________________________________________
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