Problem with ora_exec

This is a discussion on Problem with ora_exec within the PHP Language forums, part of the PHP Programming Forums category; Hi I have a problem with ora_exec in that the page hangs and eventually times out when attempting to use ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-17-2003
Derek Abernethy
 
Posts: n/a
Default Problem with ora_exec

Hi

I have a problem with ora_exec in that the page hangs and eventually
times out when attempting to use an sql statement updating the
database

The puzzling thing is that ora_exec works find when I am using select
statements to pull data from oracle but hangs when attempting to
update.

The sql generated by my script is correct as I printed it to the
screen then copied it into sqlplus and it updated everything as I
would expect using the same user that I am connecting with via php.

Any suggestions would be appreciated

Thanks

Derek
Reply With Quote
  #2 (permalink)  
Old 09-17-2003
Andy Hassall
 
Posts: n/a
Default Re: Problem with ora_exec

On 17 Sep 2003 02:49:10 -0700, derekabernethy@hotmail.com (Derek Abernethy)
wrote:

>I have a problem with ora_exec in that the page hangs and eventually
>times out when attempting to use an sql statement updating the
>database
>
>The puzzling thing is that ora_exec works find when I am using select
>statements to pull data from oracle but hangs when attempting to
>update.


Are you waiting for a lock?

Otherwise - post more info.

>The sql generated by my script is correct as I printed it to the
>screen then copied it into sqlplus and it updated everything as I
>would expect using the same user that I am connecting with via php.
>
>Any suggestions would be appreciated


I'd suggest to move to the oci8 extension, based on Oracle 8i, where the
Oracle Call Interface changed considerably, instead of the ancient and
unmaintained 'oracle' extension, which is based on Oracle 7.

--
Andy Hassall (andy@andyh.co.uk) icq(5747695) (http://www.andyh.co.uk)
Space: disk usage analysis tool (http://www.andyhsoftware.co.uk/space)
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:55 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0