[PHP] Oracle Question

2005-08-11 Thread xfedex
Hi, Can PHP connect to a remote Oracle db? Because all oracle connecting functions only require 'user' and 'pass' http://us3.php.net/manual/en/function.oci-connect.php http://us3.php.net/manual/en/function.ora-plogon.php Thanks, Regards, pancarne. -- PHP General Mailing List

Re: [PHP] Oracle Question

2005-08-11 Thread tg-php
Yeah, you can connect to Oracle remotely. The standard PHP functions should do it probably, but I've done it using ADODB. I don't know if this is the same on a *nix box, but I was running PHP on a Windows box and needed special Oracle stuff installed on my machine to connect to the Oracle DB.

Re: [PHP] Oracle Question

2005-08-11 Thread Joseph Oaks
xfedex, yes you can connect to a remote Oracle DB, I'm doing for an app I'm trying to write. You have to configure php with the oracle version you have, more than likely with the --with-oci8=/u1/oracle/product/10g line, of course your oracle location will differ. I chose to use the PEAR::DB to do

AW: [PHP] Oracle question

2001-07-10 Thread Sebastian Stadtlich
://conf.php.net/pres/slides/oci/paper.txt which features a small non-trigger-work-around sebastian -Ursprüngliche Nachricht- Von: Duy B [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 10. Juli 2001 04:36 An: [EMAIL PROTECTED] Betreff: [PHP] Oracle question Dear all, If i want to use id

Re: AW: [PHP] Oracle question

2001-07-10 Thread Rouvas Stathis
-Ursprngliche Nachricht- Von: Duy B [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 10. Juli 2001 04:36 An: [EMAIL PROTECTED] Betreff: [PHP] Oracle question Dear all, If i want to use id field in Oracle database, how can i do? For example, in MySQL create table test ( id

RE: [PHP] Oracle question

2001-07-10 Thread Chadwick, Russell
next query you can just do whatever_ids.curval instead of looking up the value with mysql_auto_id or whatever the function is. -Original Message- From: Duy B [mailto:[EMAIL PROTECTED]] Sent: Monday, July 09, 2001 7:36 PM To: [EMAIL PROTECTED] Subject: [PHP] Oracle question Dear all, If i

[PHP] Oracle question

2001-07-09 Thread Duy B
Dear all, If i want to use id field in Oracle database, how can i do? For example, in MySQL create table test ( id int not null auto-increment primary key, ten char(10)); So that, when i insert a new row into MySQL database, id increases by 1. But in Oracle i couldn't use as that. Somebody