[PHPLIB] Newbie's stipud question From: Alvaro Nunes Melo (27282 <email protected>)
Date: 01/05/00

Hello,

I'm startig to work with PHP3 and as I read in the web, the phplib can be
very useful and save me a lot of work.

I'm trying to use the db_oracle.inc.

Well, I've installed it but when I run the script below, I receive this
message:

Fatal error: DB_Sql is already a function or class in
/usr/local/apache/phplib/db_oracle.inc on line 11

Here is the script:

<?php

putenv("ORACLE_HOME=/home/oracle/product/8.0.5");
putenv("ORACLE_SID=aval");
putenv("ORA_NLS33=/home/oracle/product/8.0.5/ocommom/nls/admin/data");

include('/usr/local/apache/phplib/db_oracle.inc');

?>

Thanks,

+---------------------------------------+
| Alvaro Nunes Melo |
| Bacharelando em Ciencia da Computacao |
| Universidade de Passo Fundo - Brasil |
| mailto: al_nunes <email protected> |
| ICQ UIN: 42722678 |
+---------------------------------------+

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.