Re: Oracle10 e PHP

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

Daniele schreef:
> ""Álvaro G. Vicario"" <> ha scritto nel
> messaggio news:gnm4r9$imf$

>> 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
> 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