Re: Oracle10 e PHP

From: Gerard H. Pille <ghp_at_skynet.be>
Date: Mon, 23 Feb 2009 20:35:22 +0100
Message-ID: <49a2fa7a$0$2858$ba620e4c_at_news.skynet.be>


Daniele schreef:
> ""Álvaro G. Vicario"" <alvaro.NOSPAMTHANX_at_demogracia.com> ha scritto nel
> messaggio news:gnm4r9$imf$1_at_reader.motzarella.org...

>> I meant your application's HTML.
>>

> The problem is before showhing data in HTML.
>
> When I fetch rows with PHP functions, I get a null string if there are
> "smart quotes" in the content.
>
> The command:
> echo strlen($row['FIELD_NAME']);
> returns a 0 (or a number >0 when "smart quotes" are NOT present in the
> content of the field).
>
> But with ethereal I can see that the entire content of the field is received
> by the web server, so the problem should be in PHP (ver. 5.0.4) and/or
> Oracle libraries (instant client 10.1.0.4).
>
> I tried to upgrade PHP, OCI or both, but for some reasons the compilation
> fails.
>
> Daniele
>
>

[Quoted] What is the character set of your database? To contain those characters, it should be MSWIN1252 or one of the UTF's.

What is the NLS_LANG setting of your PHP environment? "phpinfo();" should be able to tell you. Received on Mon Feb 23 2009 - 20:35:22 CET

Original text of this message