Re: [PHP] ocilogon

2004-03-30 Thread Adam Williams
Hi, I figured out what was wrong, I had php_oci8.dll uncommented in php.ini but not php_oracle.dll. Fixed that and now I get an ORA-12705 error, which looking on google has something to do with NLS. Going to do more reading, thanks :) -- PHP General Mailing List (http://www.php.net/) To unsu

Re: [PHP] ocilogon

2004-03-30 Thread Adam Williams
Hi, I have the client libraries on the computer I have PHP on. My connect line is $conn = ocilogon("user","pw","zed.aleph0"); and I can connect usning sqlplus. When I look at the listener log, it doesn't show my computer with PHP on it trying to connect using PHP, but when I tnsping zed.aleph

Re: [PHP] ocilogon

2004-03-30 Thread William Lovaton
You need the Oracle cliente libraries installed where you have PHP for this to work. the third parameter in OCILogon() is the connection string configured in tnsnames.ora ($ORACLE_HOME/network/admin) Let's say that you make connection to Oracle using sqlplus: User: scott pass: tiger dbstring: tes

[PHP] ocilogon

2004-03-30 Thread Adam Williams
Hi, what is the syntax for using ocilogon() to connect to a remote server? The remote server's name is zed.mdah.state.ms.us (ip is 10.8.5.4) and the database is zed.aleph0. Locally on zed I can do ociogon("user","pw","zed.alpeh0") and connect fine, but on a remote server I try ociogon("user",

[PHP] ocilogon()

2001-11-28 Thread William Sanchez Sanchez
I got this error: Fatal error: Call to undefined function: ocilogon() in C:\Inetpub\wwwroot\online\classes\class.Telefono.php on line 19 Why it could be? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Re: [PHP] OCILogOn and OCILogOff

2001-02-06 Thread Reuben D Budiardja
I have looked at the comment there, even before I send message to the list. But I'm still wondering how can I disconnect from the Oracle db then? is it actually doing anything? When I developed our own API using ora_*, I never called ora_logoff at the end of every session, because ora_logoff d

[PHP] OCILogOn and OCILogOff

2001-02-05 Thread Reuben D Budiardja
Hi, It seems to me that OCILogOff does not return anything. Evenif I do something like this: $conn = OCILogOn("user", "passwd", "db"); $logoff = OCILogOff($conn); $logoff is always empty. Does anyone know about this? any help? Thanks. Reuben D. Budiardja -- PHP General Mailing List (http://