Date: 05/29/00
- Next message: Alexander Breuss: "[phplib] session_inc.diff"
- Previous message: Francesco.Marsan <email protected>: "[phplib] PHPLIB and Oracle 8"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You are right Bob, I missed one line. The last line should be:
return 1; // (not return 0;)
I hope it works right now for you too.
Also, I had to make another modification. Since I have Apache-php on the same Linux box with Oracle, I had to change the connect() function of DB-Sql (db_oci8.inc):
// ("$this->User","$this->Password","$this->Database");
("$this->User","$this->Password");
;
Don't know why it wouldn't work with the Database parameter in.
-----Original Message-----
From: White, Bob [mailto:rcwhite <email protected>]
Sent: Monday, May 29, 2000 2:38 PM
To: 'Francesco.Marsan <email protected>'
Subject: RE: [phplib] PHPLIB and Oracle 8
Francesco,
I am not sure I made this modification right
...
Bob White
-----Original Message-----
From: Francesco.Marsan <email protected>
Subject: [phplib] PHPLIB and Oracle 8
Hi,
If you use Oracle, be warned that the Table class will
probably not work as it is. That's because the verify() function of Table,
will check that num_rows() is greater than 0 to let Table work. But Oracle
(I have 8i on Linux) always returns 0!
To let table work, I had to do this change:
From:
if ($db->num_rows() > 0)
return 1;
To:
// if ($db->num_rows() > 0)
// return 1;
Francesco
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Alexander Breuss: "[phplib] session_inc.diff"
- Previous message: Francesco.Marsan <email protected>: "[phplib] PHPLIB and Oracle 8"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

