** Proprietary **

Hi there!

I'm running Apache 1.13.17 on Win2K with PHP 4.04pl1 and trying to connect to a Oracel 
8.1.6 db on HP-UX

I get the following error:

Warning: OCISessionBegin: ORA-12705: invalid or unknown NLS parameter value specified 
in c:\program files\apache group\apache\htdocs\ora.php on line 10

Here is the script:

<?

putenv ('ORACLE_HOME=D:\Oracle\Ora81');
putenv ('ORACLE_SID=WWW');
putenv ('TNS_ADMIN=D:\Oracle\Ora81\network\ADMIN');
putenv ('NLS_LANG=american_america.we8iso8859p1');
putenv ('ORA_NLS33=D:\Oracle\Ora81\ocommon\nls\ADMIN\DATA');

$conn = OCILogon("infarmed","infarmed","WWW") or die;

$stmt = OCIParse($conn,"select * from evento");

OCIExecute($stmt);

...

Any IDEAS?

Thank you!


Ricardo Vercesi
[EMAIL PROTECTED]
--------------------------------------
Direcção Operacional
de Tecnologias de Informação
INFARMED



--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to