Re: [PHP] Oracle XMLTYPE column truncates

2007-03-13 Thread Mikey
Richard Lynch wrote: DB truncation could be either of the following: #1. The column is not large enough to hold that data. Research LONGTEXT and BLOB #2. The query buffer is not large enough to pass the data in. Re-configure your db/php setup. It was definitely to do with casting it to a CLOB

Re: [PHP] Oracle XMLTYPE column truncates

2007-03-12 Thread Richard Lynch
DB truncation could be either of the following: #1. The column is not large enough to hold that data. Research LONGTEXT and BLOB #2. The query buffer is not large enough to pass the data in. Re-configure your db/php setup. Note that cramming all that XML into the DB seems kinda silly to me, unl

Re: [PHP] Oracle Execute Function

2007-01-18 Thread Chris
Brad Bonkoski wrote: Brad Bonkoski wrote: Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-01-18 11:46:10 -0500: Hello All, I have this Oracle function, and within my code I call it like this: $sql = "BEGIN :result := my_funtion_name('$parm1', $parm2, null, null, null); END;"; $s

Re: [PHP] Oracle Execute Function

2007-01-18 Thread Brad Bonkoski
Brad Bonkoski wrote: Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-01-18 11:46:10 -0500: Hello All, I have this Oracle function, and within my code I call it like this: $sql = "BEGIN :result := my_funtion_name('$parm1', $parm2, null, null, null); END;"; $stmt = $db->parse($sql)

Re: [PHP] Oracle Execute Function

2007-01-18 Thread Brad Bonkoski
Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-01-18 11:46:10 -0500: Hello All, I have this Oracle function, and within my code I call it like this: $sql = "BEGIN :result := my_funtion_name('$parm1', $parm2, null, null, null); END;"; $stmt = $db->parse($sql); $rc = null;

Re: [PHP] Oracle Execute Function

2007-01-18 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-18 11:46:10 -0500: > Hello All, > > I have this Oracle function, and within my code I call it like this: > > $sql = "BEGIN :result := my_funtion_name('$parm1', $parm2, null, null, > null); END;"; >$stmt = $db->parse($sql); >$rc = null; >ocibi

RE: [PHP] Oracle Commits SOLVED

2006-06-22 Thread Jay Blanchard
[snip] did the execute actually succeed? does the data get into the DB if you use OCI_COMMIT_ON_SUCCESS instead of OCI_DEFAULT? I don't support using oci_internal_debug() gives you any extra info? [/snip] I finally did an oci_bind_by_name and then performed the commit. It worked. Oci_internal_de

Re: [PHP] Oracle Commits

2006-06-22 Thread Jochem Maas
Jay Blanchard wrote: > Good afternoon and salutations denizens of the greatest list generated > by electrons! > > I have a situation where I am trying to commit a transaction in Oracle > with PHP as follows; > > $udGeocode = oci_parse($conn, "UPDATE CONT_ADDRESS SET GEOCODE = > '".$geocode[0]."'

RE: [PHP] Oracle stored procedures

2006-04-06 Thread Jay Blanchard
[snip] I am using PHP with Oracle, but not executing stored procedures. I assume you are already validating the contents of the $addr variable before you bind it? Otherwise, no real ideas here... [/snip] Yes, I am validating the contents of the variable. I have ton some reading, but details a

Re: [PHP] Oracle stored procedures

2006-04-06 Thread Brad Bonkoski
I am using PHP with Oracle, but not executing stored procedures. I assume you are already validating the contents of the $addr variable before you bind it? Otherwise, no real ideas here... -B Jay Blanchard wrote: [snip] I have a stored procedure in Oracle; p_BILL_TO_ADDRESS1 IN C

RE: [PHP] Oracle stored procedures

2006-04-06 Thread Jay Blanchard
[snip] I have a stored procedure in Oracle; p_BILL_TO_ADDRESS1 IN CONT_ADDRESS.ADDRESS1%TYPE Default NULL, --VC(50) With a condition; IF p_BILL_TO_ADDRESS1 is NULL THEN Raise_Application_Error(-20100,'BILL TO Address cannot be a NULL Value'); END IF; I have some PHP code that tri

Re: [PHP] Oracle buying out Zend ... how does that affect PHP?

2006-02-11 Thread Kevin Kinsey
Marc G. Fournier wrote: http://www.businessweek.com/technology/content/feb2006/tc20060209_810527.htm "Also in Oracle's crosshairs: closely held Zend, based in Cupertino, Calif. Zend's PHP software language is one of the most prevalent on the Web, present in more than 18 million Web sites.

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

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 Interface

2005-07-12 Thread Ford, Mike
Hi guys!! I'm just getting back into harness after 4 months off work following major surgery, so I'm well behind on all the PHP groups. It's nice to be back! Forgive me for responding to this one over a month later, but I haven't seen anybody else pointing this out: On 13 June 2005 13:30, Shan

Re: [PHP] Oracle Interface

2005-06-13 Thread Shane Presley
On 6/13/05, Jay Blanchard <[EMAIL PROTECTED]> wrote: > To find out how your PHP was compiled create a test page with this > only... > > > phpinfo(); > > ?> > > And then load the page from your web server. It will return a wealth of > information to you. As far as Oracle compatability it would

RE: [PHP] Oracle Interface

2005-06-13 Thread Jay Blanchard
[snip] How do I find out how my PHP was compiled? The documentation states: You have to compile PHP with the option --with-oracle[=DIR], where DIR defaults to your environment variable ORACLE_HOME. But I'm using PHP from the Red Hat default install (I didn't compile it). Also, do you know if th

Re: [PHP] Oracle Interface

2005-06-13 Thread Shane Presley
On 6/10/05, Richard Lynch <[EMAIL PROTECTED]> wrote: > On Fri, June 10, 2005 8:48 am, Shane Presley said: > > Where can I find some info on integrating Oracle and PHP? > > http://php.net/oracle > > pretty much covers it. Thanks! You're right, that looks pretty straight forward. Although I do h

Re: [PHP] Oracle Interface

2005-06-10 Thread Richard Lynch
On Fri, June 10, 2005 8:48 am, Shane Presley said: > Where can I find some info on integrating Oracle and PHP? http://php.net/oracle pretty much covers it. > I had some PHP front ends to a MySQL database, worked great. Our DBAs > want to change the back end from MySQL to Oracle 10g. How hard w

Re: [PHP] Oracle Interface

2005-06-10 Thread Webmaster
Shane Presley wrote: Where can I find some info on integrating Oracle and PHP? I had some PHP front ends to a MySQL database, worked great. Our DBAs want to change the back end from MySQL to Oracle 10g. How hard would it be to convert my PHP scripts, and where would I go to read up on Oracle

RE: [PHP] Oracle Interface

2005-06-10 Thread Jay Blanchard
[snip] Where can I find some info on integrating Oracle and PHP? I had some PHP front ends to a MySQL database, worked great. Our DBAs want to change the back end from MySQL to Oracle 10g. How hard would it be to convert my PHP scripts, and where would I go to read up on Oracle <--> PHP? [/snip]

RE: [PHP] Oracle 8 functions

2004-05-05 Thread Fidencio Monroy
Thanks, i catch the prob, after ociparse(), using ocifetchinto, the indexes in the array are generated as UPPERCASE... -Original Message- From: Fidencio Monroy [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 2:08 PM To: (PHP General List) Subject: [PHP] Oracle 8 functions Hi, im

[PHP] Re: [PHP-DB] Re: [PHP] Oracle + PHP

2004-02-04 Thread Luis Moran Ochoa
IT WORKS. Exactly, I need to unset the locale variables With that It works without problems. Thank you all. in the start script to see which variables are set. Boot, move /tmp/apache-start to /tmp/apache-boot, stop apache, start apache from your root shell. "diff -u /tmp/apache-boot /tmp/ap

[PHP] Re: [PHP-DB] Re: [PHP] Oracle + PHP

2004-02-02 Thread Luis Moran Ochoa
Ok, thanks I will try it. Michael Mauch wrote: Luis Moran Ochoa wrote: ORACLE_SID=OWEB ;export ORACLE_SID; ORACLE_HOME=/usr/oracle/product; export ORACLE_HOME; TNS_ADMIN=/usr/oracle/product/network/admin; export TNS_ADMIN; ORACLE_BASE=/usr/oracle; e

Re: [PHP] Oracle + PHP

2004-01-30 Thread Michael Mauch
Luis Moran Ochoa wrote: > ORACLE_SID=OWEB ;export ORACLE_SID; > ORACLE_HOME=/usr/oracle/product; export ORACLE_HOME; > TNS_ADMIN=/usr/oracle/product/network/admin; export TNS_ADMIN; > ORACLE_BASE=/usr/oracle; export ORACLE_BASE; > ORA_NLS33=/usr/oracle/product/oc

Re: [PHP] Oracle + PHP

2004-01-29 Thread Luis Moran Ochoa
These are the exact details... /usr/oracle permissions 750 owner oracle.oinstall apache belongs to oinstall. script permissions in /etc/init.d/apache --> 755 ORACLE_SID=OWEB ;export ORACLE_SID; ORACLE_HOME=/usr/oracle/product; export ORACLE_HOME; TNS_ADMIN=/usr/

Re: [PHP] Oracle - Win32

2003-10-12 Thread Paul Gregg
In mail.php.general, imran <[EMAIL PROTECTED]> wrote: [snip] > format like such: php_xxx. For Oracle DD, you'll need php_oracle.dll. Take > the oracle dll. Only use the oracle dll if you are using oracle 7 client libs. If you are using Oracle 8+ then you want the oci8 dll. Do not copy the php_o

Re: [PHP] Oracle - Win32

2003-10-10 Thread imran
-Edit the php.ini file GET THE DLLs: The Dlls for mssql and others (oracle, sybase, etc.) are NOT included in the installation (Install Shield Wizard) in the root folder. Get the other package for windows systems (NO Install shield!). Just plain files. After unzipping the file, look for the su

Re: [PHP] Oracle - Win32

2003-10-10 Thread John Nichel
[EMAIL PROTECTED] wrote: Hello mailing list, I want to use Oracle function in PHP parser in Win32 OS, but I don't know how to install it, in the official documentation tell this: Installation You have to compile PHP with the option --with-oracle[=DIR], where DIR defaults to your environmment vari

Re: [PHP] Oracle - Win32

2003-10-10 Thread orlandopozo
> Hello mailing list, I want to use Oracle function in PHP parser in Win32 OS, > but I don't know how to install it, in the official documentation tell this: > > Installation > You have to compile PHP with the option --with-oracle[=DIR], where DIR > defaults to your environmment variable ORACLE_HO

Re: [PHP] Oracle to MySQL

2003-02-20 Thread Philippe Saladin
> I'm recalling this from memory, and I may not be 100% right, but it > should put you on the right path. You will need to install the Oracle > client libraries on the box with php (you can find these on the Oracle > discs used to install the actual database). Yes > correctly, the Oracle disc

Re: [PHP] Oracle to MySQL

2003-02-19 Thread John Nichel
I'm recalling this from memory, and I may not be 100% right, but it should put you on the right path. You will need to install the Oracle client libraries on the box with php (you can find these on the Oracle discs used to install the actual database). However, if I remember correctly, the Or

Re: [PHP] Oracle 7 support

2002-11-12 Thread Dan Field
> First, let me just say that I'm no Oracle guru. :) But while we're waiting > for them... Thanks, all help appreciated :) > *I think* you need to have Oracle installed even if you wouldn't really > connect to it but instead connect to a different server. Since I installed > Oracle with most of t

Re: [PHP] Oracle 7 support

2002-11-12 Thread @ Edwin
"Maxim Maletsky" <[EMAIL PROTECTED]> wrote: > > Well, I will spread some light - I maintain OCI8 extension :) > > Your machine does not need Oracle Server installed, it needs Oracle > Client installed. These are two completely different things. > > So, try this in your command prompt: > > ec

Re: [PHP] Oracle 7 support

2002-11-12 Thread Chris Hewitt
Dan Field wrote: functionality included. If I recompile PHP, will I need the Oracle headers on the machine also? If so this could be a problem as the Oracle server I wish to use is not on the same machine as the webserver. Seems lots of us have not actually tried doing it without Oracle instal

Re: [PHP] Oracle 7 support

2002-11-12 Thread Maxim Maletsky
Well, I will spread some light - I maintain OCI8 extension :) Your machine does not need Oracle Server installed, it needs Oracle Client installed. These are two completely different things. So, try this in your command prompt: echo $ORACLE_HOME if you get a result, means the client is there a

Re: [PHP] Oracle 7 support

2002-11-12 Thread Maxim Maletsky
Your machine will need the Oracle headers which are included in Oracle Client. So, in two words - your machine needs Oracle client installed. Try doing: echo $ORACLE_HOME in your command prompt -- Maxim Maletsky [EMAIL PROTECTED] Dan Field <[EMAIL PROTECTED]> wrote... : > On Tue, 2002-11-1

Re: [PHP] Oracle 7 support

2002-11-12 Thread @ Edwin
Hello, First, let me just say that I'm no Oracle guru. :) But while we're waiting for them... "Ford, Mike [LSS]" <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Dan Field [mailto:danf@;ceredigion.gov.uk] > > Sent: 12 November 2002 13:39 ...[snip]... > > That is great news,

RE: [PHP] Oracle 7 support

2002-11-12 Thread Ford, Mike [LSS]
> -Original Message- > From: Dan Field [mailto:danf@;ceredigion.gov.uk] > Sent: 12 November 2002 13:39 > > On Tue, 2002-11-12 at 13:03, Ford, Mike [LSS] wrote: > > > -Original Message- > > > From: Dan Field [mailto:danf@;ceredigion.gov.uk] > > > Sent: 12 November 2002 12:18 > > >

RE: [PHP] Oracle 7 support

2002-11-12 Thread Dan Field
On Tue, 2002-11-12 at 13:03, Ford, Mike [LSS] wrote: > > -Original Message- > > From: Dan Field [mailto:danf@;ceredigion.gov.uk] > > Sent: 12 November 2002 12:18 > > > > Can anyone tell me if Oracle 7 is supported by PHP 4.2.2 ? > > Yes. > > > I have found functions specific to Oracle 8

Re: [PHP] Oracle 7 support

2002-11-12 Thread Maxim Maletsky
OCI 7 does not need any modification to support 8 and 9 but they aren't as powerful, thus should only be used for Oracle 7. OCI8 is the 8th OCI and fully supports Oracle 8 with and Oracle 9. For Oracle 9 there are a few thing that are missing, but overall can be safely used on high level productio

Re: [PHP] Oracle 7 support

2002-11-12 Thread Maxim Maletsky
Dan Field <[EMAIL PROTECTED]> wrote... : > Can anyone tell me if Oracle 7 is supported by PHP 4.2.2 ? Yes, it is. Oracle extension is supporting Oracle 7th version, while OCI8 is primarily for 8 and 9th versions, they might be also working for Oracle 7. > I have found functions specific to Ora

RE: [PHP] Oracle 7 support

2002-11-12 Thread Ford, Mike [LSS]
> -Original Message- > From: Dan Field [mailto:danf@;ceredigion.gov.uk] > Sent: 12 November 2002 12:18 > > Can anyone tell me if Oracle 7 is supported by PHP 4.2.2 ? Yes. > I have found functions specific to Oracle 8i and some more generic > functions (are these only for Oracle 9?). No

Re: [PHP] oracle: updating clob causes error 600

2002-10-28 Thread Nick Eby
"Maxim Maletsky" <[EMAIL PROTECTED]> wrote in message news:20021028122405.4F05.MAXIM@;php.net... > What's the Oracle version? 8.1.7 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] oracle: updating clob causes error 600

2002-10-28 Thread Maxim Maletsky
What's the Oracle version? OCIServerVersion($stmt); -- Maxim Maletsky [EMAIL PROTECTED] www.PHPBeginner.com // PHP for Beginners www.maxim.cx // my Home // my Wish List: ( Get me something! ) http://www.amazon.com/exec/obidos/registry/2IXE7SMI5EDI3 Juhan Kundla <[EMAIL PROTECT

Re: [PHP] oracle: updating clob causes error 600

2002-10-28 Thread Juhan Kundla
Hei! Ühel ilusal päeval [27-10-2002 21:27] kirjutas Nick Eby: > I'm running oracle 8.1.7 w/ php 4.2. I use the oci8 functions to update > clob columns, and maybe 1 out of every 15 or 20 times, updating a clob > column causes the mysterious "ora-600, internal error code". Anybody out > there expe

Re: [PHP] Oracle connection release

2002-09-18 Thread Thies C. Arntzen
On Wed, Sep 18, 2002 at 02:48:13PM +0200, Rasmus Sellberg wrote: > Does PHP release the Oracle connection if I run PHP from the command line? yes tc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Oracle 8i SQL Problem..

2002-07-29 Thread Rudolf Visagie
Oracle 9i would be happy with the left join syntax but not 8i. -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Monday, July 29, 2002 6:09 AM To: 'Nick Oostveen'; Frank S. Kicenko; [EMAIL PROTECTED] Subject: RE: [PHP] Oracle 8i SQL Problem.. You'l

RE: [PHP] Oracle 8i SQL Problem..

2002-07-28 Thread Martin Towell
ssage- From: Nick Oostveen [mailto:[EMAIL PROTECTED]] Sent: Monday, July 29, 2002 1:47 PM To: Frank S. Kicenko; [EMAIL PROTECTED] Subject: Re: [PHP] Oracle 8i SQL Problem.. I could be wrong on this but I believe that Oracle 8i uses a proprietary join syntax. This support has been added in the l

Re: [PHP] Oracle 8i SQL Problem..

2002-07-28 Thread Nick Oostveen
I could be wrong on this but I believe that Oracle 8i uses a proprietary join syntax. This support has been added in the latest version of Oracle, but with 8i I believe you're out of luck using the left join keywords. Check out http://certcities.com/certs/oracle/columns/story.asp?EditorialsID

Re: [PHP] Oracle persistent connection limit

2002-07-23 Thread Thies C. Arntzen
On Tue, Jul 23, 2002 at 11:39:20AM -0700, Eric Thelin wrote: > That is what I figured. The problem is that oracle doesn't even seem to > have per-process limits. the oci-driver will only open one server-connection per TNS-name/process. so if you use $a = ociplogon("scott", "ti

Re: [PHP] Oracle persistent connection limit

2002-07-23 Thread Eric Thelin
That is what I figured. The problem is that oracle doesn't even seem to have per-process limits. Eric On Tue, 23 Jul 2002, Thies C. Arntzen wrote: > On Tue, Jul 23, 2002 at 11:00:43AM -0700, Eric Thelin wrote: > > Is there a way to limit the total number of persistent connection to an > > orac

Re: [PHP] Oracle persistent connection limit

2002-07-23 Thread Thies C. Arntzen
On Tue, Jul 23, 2002 at 11:00:43AM -0700, Eric Thelin wrote: > Is there a way to limit the total number of persistent connection to an > oracle database? I know this functionality exists for MySQL through a > setting in the php.ini but I haven't found it for oracle. I am in an > environment wher

Re: [PHP] oracle again!!!!

2002-06-07 Thread Chris Hewitt
hen installing this in RedHat? > > >Regards, > >Mike > >- Original Message - >From: "Chris Hewitt" <[EMAIL PROTECTED]> >Cc: "php" <[EMAIL PROTECTED]> >Sent: Thursday, June 06, 2002 5:41 PM >Subject: Re: [PHP] oracle again!!!

Re: [PHP] oracle again!!!!

2002-06-06 Thread Michael P. Carel
edHat but still it doesnt work. Is there something i need to consider when installing this in RedHat? Regards, Mike - Original Message - From: "Chris Hewitt" <[EMAIL PROTECTED]> Cc: "php" <[EMAIL PROTECTED]> Sent: Thursday, June 06, 2002 5:41 PM Subject: Re:

Re: [PHP] oracle again!!!!

2002-06-06 Thread Chris Hewitt
Michael, I have not used Oracle from PHP but I may be able to provide some pointers/questions. You do not say where the Oracle database is. If it is on the AIX computer then to connect you will need the "system@tnsname" form of user name to specify which connection in your tnsnames.ora file t

Re: [PHP] Re: php+oracle

2002-05-29 Thread Laurent Drouet
ot;Maurice Kevenaar"To: [EMAIL PROTECTED] Subject: [PHP]

[PHP] Re: php+oracle

2002-05-29 Thread Maurice Kevenaar
Try to install the windows 2000 support tools and check width the Dependency Walker the file and ll see witch file is missing! -- Maurice "Mauricio" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi for all. > I have php+apache+win2000+client oracle in my

Re: [PHP] oracle exec

2002-03-25 Thread heinisch
At 25.03.2002 15:10, you wrote: > > >hi.. is there any way to use the php oracle function to check to see if >there are any records in the selected set before calling ora_fetch? >ora_exec doesn't error if ther are no records, and ora_num_rows doesn't >return the numbe of rows in the set., > >than

Re: [PHP] Oracle ORA_ functions and blobs / clobs

2002-03-21 Thread Thies C. Arntzen
On Thu, Mar 21, 2002 at 12:33:13PM +1100, Bradley Goldsmith wrote: > Hi All, > > Is it possible to store/fetch blobs/clobs with the oracle (ORA not > OCI8) functions? no tc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP/ Oracle 'undefined function'

2002-01-18 Thread Philippe Saladin
PHP has to be compiled with the oci8 support (built-in module). The oracle extension is the "old one", the newest is oci8. Regards, Philippe "Gkin" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] > I get "undefined function" when I use PHP/Oracle-functions like ociconnect. > F

RE: [PHP] Oracle

2002-01-01 Thread Martin Towell
there's the OCI* or ORA_* functions depending on the version of oracle you're using. -Original Message- From: Phillip B. Bruce [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 02, 2002 10:54 AM To: PHP Subject: [PHP] Oracle Hi, Has any one on this list worked with Oracle, Apache a

Re: [PHP] Oracle module installation

2001-08-16 Thread Rasmus Lerdorf
> I am under the (possibly flawed) assumption that you need to > have the oracle client installed on the web server in order > to use the oracle PHP module. Since I don't want to use the > client on this machine at all, I would prefer to use the Perl > DBI/DBD modules to connect to the data

Re: [PHP] oracle

2001-07-19 Thread Marisol Díaz E.
. - Original Message - From: "Martin Marconcini" <[EMAIL PROTECTED]> To: "'Marisol Díaz E.'" <[EMAIL PROTECTED]> Sent: Thursday, July 19, 2001 4:11 PM Subject: RE: [PHP] oracle > Estas intentando declarar Environment Variables? > > No enten

RE: [PHP] oracle

2001-07-19 Thread Martin Marconcini
> $lugar="D:\Oracle"; "D:\\Oracle" I suppose. The escape character! Regards, Martin Marconcini www.marconcini.com.ar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrat

RE: [PHP] Oracle question

2001-07-10 Thread Chadwick, Russell
Create a sequence, like so CREATE SEQUENCE "WHATEVER_IDS" INCREMENT BY 1 START WITH 1 MAXVALUE 1.0E28 MINVALUE 1 NOCYCLE CACHE 20 NOORDER; then when you insert INSERT INTO test (whatever_ids.nextval); the nice thing is that in your

RE: [PHP] Oracle 8i + non perstistant database connections remaining open.

2001-07-10 Thread Steve Brett
you could move to a database that supports hot backups. postgresql perhaps ? > -Original Message- > From: Thies C. Arntzen [mailto:[EMAIL PROTECTED]] > Sent: 10 July 2001 10:40 > To: Taylor, Stewart > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Oracle 8i + non pe

Re: [PHP] Oracle 8i + non perstistant database connections remaining open.

2001-07-10 Thread Thies C. Arntzen
On Tue, Jul 10, 2001 at 09:32:32AM +0100, Taylor, Stewart wrote: > Hello, > > > I'm using > OCI8 Revision 1.96 > Oracle Version 8.1 > Apache Apache/1.3.11 > Redhat Linux 6.2 > php 4.0.2 > > I am connecting to my database using a non-persistant connection (ocilogin). > My applications run wit

Re: [PHP] Oracle and PHP

2001-06-27 Thread Richard Lynch
> // Define Oracle_Home and Oracle_Sid > putenv("ORACLE_HOME=/opt/ORACLE/product"); > putenv("ORACLE_SID=MYDATA"); IIRC, Thies posted once that the Environment variables *must* be defined in the environment, before PHP starts, for things to really work properly. That's all he said (IIRC), so I d

RE: [PHP] Oracle and PHP

2001-06-26 Thread James Atkinson
need the Oracle client libs installed. - James > -Original Message- > From: Dunaway, Brian [mailto:[EMAIL PROTECTED]] > Sent: June 26, 2001 7:25 AM > To: '[EMAIL PROTECTED]' > Subject: RE: [PHP] Oracle and PHP > > > >I'm a newbie in PHP, what should I

RE: [PHP] Oracle Database keeps disconnecting - or something

2001-06-26 Thread Taylor, Stewart
; Zeev Suraski Cc: [EMAIL PROTECTED]; '[EMAIL PROTECTED]' Subject: Re: [PHP] Oracle Database keeps disconnecting - or something On Fri, Jun 22, 2001 at 02:23:14PM +0100, Taylor, Stewart wrote: > Hello, > > Just in case anyones got any ideas. > > I've been testing

RE: [PHP] Oracle and PHP

2001-06-26 Thread Dunaway, Brian
>I'm a newbie in PHP, what should I do to connect to Oracle Database. >Do I have to install a library to do that? >Please anyone, help. http://www.phpbuilder.com/manual/ref.oracle.php I usually do something similiar to this. (psuedo code follows): // Define Oracle_Home and Oracle_Sid putenv("O

Re: [PHP] Oracle Database keeps disconnecting - or something

2001-06-26 Thread Thies C. Arntzen
On Mon, Jun 25, 2001 at 04:17:50PM +0300, Rouvas Stathis wrote: > "Thies C. Arntzen" wrote: > > > > On Sun, Jun 24, 2001 at 09:50:05PM +0300, Rouvas Stathis wrote: > > > "Thies C. Arntzen" wrote: > > > > > > > > On Fri, Jun 22, 2001 at 09:16:08PM +0300, Rouvas Stathis wrote: > > > > > Do you expe

Re: [PHP] Oracle and PHP

2001-06-26 Thread elias
I can only say that you must have the Oracle extensions installed and enabled in PHP.ini Please post in text format next time! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list ad

Re: [PHP] Oracle Database keeps disconnecting - or something

2001-06-25 Thread Rouvas Stathis
"Thies C. Arntzen" wrote: > > On Sun, Jun 24, 2001 at 09:50:05PM +0300, Rouvas Stathis wrote: > > "Thies C. Arntzen" wrote: > > > > > > On Fri, Jun 22, 2001 at 09:16:08PM +0300, Rouvas Stathis wrote: > > > > Do you experience any other sort of problems other than those warnings? > > > > I mean, i

Re: [PHP] Oracle Database keeps disconnecting - or something

2001-06-25 Thread Thies C. Arntzen
On Sun, Jun 24, 2001 at 09:50:05PM +0300, Rouvas Stathis wrote: > "Thies C. Arntzen" wrote: > > > > On Fri, Jun 22, 2001 at 09:16:08PM +0300, Rouvas Stathis wrote: > > > Do you experience any other sort of problems other than those warnings? > > > I mean, is anything wrong with the data? Normally

Re: [PHP] Oracle Database keeps disconnecting - or something

2001-06-24 Thread Rouvas Stathis
"Thies C. Arntzen" wrote: > > On Fri, Jun 22, 2001 at 09:16:08PM +0300, Rouvas Stathis wrote: > > Do you experience any other sort of problems other than those warnings? > > I mean, is anything wrong with the data? Normally, nothing should be > > wrong. > > > > I have seen the same messages (espe

Re: [PHP] Oracle Database keeps disconnecting - or something

2001-06-23 Thread Thies C. Arntzen
On Fri, Jun 22, 2001 at 09:16:08PM +0300, Rouvas Stathis wrote: > Do you experience any other sort of problems other than those warnings? > I mean, is anything wrong with the data? Normally, nothing should be > wrong. > > I have seen the same messages (especially the "service handle not > intitia

Re: [PHP] Oracle Database keeps disconnecting - or something

2001-06-22 Thread Rouvas Stathis
Do you experience any other sort of problems other than those warnings? I mean, is anything wrong with the data? Normally, nothing should be wrong. I have seen the same messages (especially the "service handle not intitialized" one) in my server too. I have traced it to attemtps to close an alrea

Re: [PHP] Oracle Database keeps disconnecting - or something

2001-06-22 Thread Thies C. Arntzen
On Fri, Jun 22, 2001 at 02:23:14PM +0100, Taylor, Stewart wrote: > Hello, > > Just in case anyones got any ideas. > > I've been testing an application for a few weeks on a test server without > any problems. > After releasing it onto the live server, which is - according to the > administrator

Re: [PHP] Oracle Connection

2001-04-15 Thread Andrew Hill
You can use ODBC as well. Compile PHP with iODBC (http://www.iodbc.org) and you can use an ODBC driver instead of the oci - this can bypass the Oracle client install in many cases. Best regards, Andrew Andrew Hill . Director Technology Evangelism OpenL

Re: [PHP] Oracle Connection

2001-04-10 Thread Brian S. Dunworth
At 08:42 AM 4/10/01 -0700, Dunaway, Brian wrote: >I need to access a remote oracle database. What I mean is that the machine >that is allowed access to the oracle database is not running php...I have >access to the machine with the oracle access from my machine which is >running php. Boy that

Re: [PHP] Oracle NVL equivalent for MySQL?

2001-04-04 Thread Maxim Derkachev
Hello Dominick, Wednesday, April 04, 2001, 12:32:26 PM, you wrote: DV> Maybe a bit offtopic, but is there an equivalent for the NVL function in DV> Oracle for MySQL? DV> NVL is a function that returns a given result when a value is null >From MySQL manual: IFNULL(expr1,expr2) If expr1 is not

Re: [PHP] Oracle NVL equivalent for MySQL?

2001-04-04 Thread Steve Werby
"Dominick Vansevenant" <[EMAIL PROTECTED]> wrote: > Maybe a bit offtopic, but is there an equivalent for the NVL function in > Oracle for MySQL? > > NVL is a function that returns a given result when a value is null You do know there's a MySQL list, don't you? There's no such beast in MySQL, but

Re: [PHP] oracle last inserted

2001-03-25 Thread Thies C. Arntzen
On Mon, Mar 26, 2001 at 10:19:28AM +0800, Chien-pin Wang wrote: > > If you use sequence to generate your last_inserted_id, then you can always > get that ID by calling > > SELECT sequence_name.CURRVAL > FROM DUAL; > > within the same session. re, tc > > Chien

Re: [PHP] oracle last inserted

2001-03-25 Thread Chien-pin Wang
If you use sequence to generate your last_inserted_id, then you can always get that ID by calling SELECT sequence_name.CURRVAL FROM DUAL; within the same session. Chien-pin On Sun, 25 Mar 2001, almir wrote: > is there a way to get last inserted id from oracle as > mys

RE: [PHP] Oracle, Win2000, Apache, OCI

2001-03-22 Thread Brooks, Ken
Thanks guys. I'm going to try and tackle this later today. I was s happy just to get ODBC and oracle working yesterday. I had to install the oracle 8.1.6 client. Then i rolled back to php3. Works fine. I'm going to try the OCI stuff later, i'll letcha know. -ken -Original Message

RE: [PHP] Oracle, Win2000, Apache, OCI

2001-03-21 Thread Sam Masiello
From: Sam Masiello [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 5:13 PM To: Brooks, Ken; [EMAIL PROTECTED] Subject: RE: [PHP] Oracle, Win2000, Apache, OCI It sounds like PHP was not compiled with the -with-oracle directive when the configure script was run. This will co

RE: [PHP] Oracle, Win2000, Apache, OCI

2001-03-21 Thread Sam Masiello
It sounds like PHP was not compiled with the -with-oracle directive when the configure script was run. This will compile in support for the PHP Oracle functions. HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Brooks, Ken [ma

RE: [PHP] Oracle error messages

2001-03-13 Thread Rudolf Visagie
- From: Greig, Euan [mailto:[EMAIL PROTECTED]] Sent: 13 March 2001 04:25 To: Hardy Merrill; Rudolf Visagie Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Oracle error messages To suppress the error messages on a single command, you can put an @ in front of it, eg: @$conn=ora_plogon(... -Original

RE: [PHP] Oracle error messages

2001-03-13 Thread Greig, Euan
To suppress the error messages on a single command, you can put an @ in front of it, eg: @$conn=ora_plogon(... -Original Message- From: Hardy Merrill [mailto:[EMAIL PROTECTED]] Sent: 13 March 2001 13:43 To: Rudolf Visagie Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Oracle error messages

Re: [PHP] Oracle error messages

2001-03-13 Thread Hardy Merrill
Rudolf Visagie [[EMAIL PROTECTED]] wrote: > Hi All, > > Does anybody have an idea how to stop the automatic error and warning > messages from the Oracle data base being displayed on the screen. I want to > do my own error message display but by the time I get the error message > using OCIError it

Re: [PHP] Oracle Web & Php

2001-02-15 Thread kaab kaoutar
Hi! I mean running php in an oracle server! thanks >From: Adi Wibowo <[EMAIL PROTECTED]> >To: kaab kaoutar <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED], [EMAIL PROTECTED] >Subject: Re: [PHP] Oracle Web & Php >Date: Thu, 15 Feb 2001 02:22:03 +0700 (GMT+0700) > &g

Re: [PHP] Oracle Web & Php

2001-02-14 Thread Adi Wibowo
On Wed, 14 Feb 2001, kaab kaoutar wrote: > Hi! > thanks but i'm talking of oracle server! i mean instead of using pws or IIS > or apache , may i use php with an oracle server > > thanks Yes, you could access oracle server using PHP without any web server. Just compile it as a CGI (without any

Re: [PHP] Oracle Web & Php

2001-02-14 Thread kaab kaoutar
Hi! thanks but i'm talking of oracle server! i mean instead of using pws or IIS or apache , may i use php with an oracle server thanks >From: Christian Reiniger <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: [PHP] Oracle Web &

Re: [PHP] Oracle Web & Php

2001-02-14 Thread Christian Reiniger
On Wednesday 14 February 2001 11:44, kaab kaoutar wrote: > is there a possiblily to use with in an Oracle Web server ? RTFM (look at the manual, topic "Oracle functions") -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) Even idiots can handle computers, and many do. -- PHP Gene

Re: [PHP] Oracle sessions

2001-02-03 Thread Richard Lynch
>Hi, > >My oracle sessions are getting full all the time... > >I use a OCILogoff at the end of my script... > >What could be the problem. I don¹t use a persistent logon. Wild Guess: You have transactions that are not getting committed nor rolled back? -- Visit the Zend Store at http://www.zend.

Re: [PHP] Oracle Function list

2001-02-03 Thread Richard Lynch
> I found a list of some of the Oracle Functions at the main PHP site. Is > this all there is? Probably. Anything in particular you felt was missing?... -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a li

Re: [PHP] Oracle failed to connect

2001-02-01 Thread Iván Sánchez Ortega \"MR\"
""kaab kaoutar"" ... > Hi! > I'm using orcale8 and as long as oracle8 ocilogon does not work, i tried the > oracle function and i always get: > for Ora_Logon("kaab@KKAnn", "kaab"); > connection failed could not resolve service name Just try to reinstall PHP, and the Oracle 8 libraries for PHP

RE: [PHP] Oracle failed to connect

2001-01-31 Thread Steve Haemelinck
Can you connect to the DB with sql plus !!! -Original Message- From: kaab kaoutar [mailto:[EMAIL PROTECTED]] Sent: woensdag 31 januari 2001 13:36 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject:[PHP] Oracle failed to connect Hi! I'm using orcale8 and as long a

  1   2   >