From: Frank van Bortel <>
Date: Wed, 04 Jun 2008 09:46:12 +0200
Message-ID: <6a41a$48464844$524b5c40$>

Jeanpaulik wrote:
> Hello,
> (I've post this message on php newsgroup too, without success...)
> When executing PL-SQL code from php, is there a way to obtain the
> result of the DBMS_OUTPUT directly into php?
> Because i've failed.
> Instead, I use the UTL_FILE package to write a file and copy it by ftp
> on the web server, that seems to me a little heavy...
> Thanks !

I think you aske the wrong question: DBMS_OUTPUT will only echo the results back *after* execution. If you want the results as they come in, use DBMS_PIPE


Frank van Bortel
Received on Wed Jun 04 2008 - 02:46:12 CDT

Original text of this message