[PHP-DB] Oracle / Random errors

2006-02-16 Thread RIOTTEAU Gwénaël
Hi, i try to connect my PHP application with Oracle. But i have some random errors (with the function OCIStmtExecute) : ORA-12152: TNS:unable to send break message ORA-03114: not connected to ORACLE sometimes it works well, sometimes not (for the same query) Random errors appear for all

Re: [PHP-DB] re: slow page loading

2006-02-16 Thread redhat
Thanks - I believe it is a DNS issue here. Doug On Thu, 2006-02-16 at 11:50 +1100, JeRRy wrote: snip from ping times: (localhost while ssh'd into the server and ping localhost) 64 bytes from localhost (127.0.0.1): icmp_seq=0 ttl=64 time=0.030 ms 64 bytes from localhost (127.0.0.1):

Re: [PHP-DB] Oracle / Random errors

2006-02-16 Thread Christopher Jones
RIOTTEAU Gwénaël wrote: Hi, i try to connect my PHP application with Oracle. But i have some random errors (with the function OCIStmtExecute) : ORA-12152: TNS:unable to send break message ORA-03114: not connected to ORACLE sometimes it works well, sometimes not (for the same query)

[PHP-DB] PDO prepared statement placeholders oddness (DB2)

2006-02-16 Thread Daniel Krook
Hello folks, I'm trying to pass an array of parameters to a statement I've prepared with '?' placeholders. For example (all columns are varchar 50): $sql = 'INSERT INTO SOME_TABLE (COL1, COL2, COL3) VALUES (?, ?, ?)' $params = array('val1', 'val2', 'val3'); I've achieved the results I