If you can run the program psql via php's exec command or something then the
stdout might be available to you. Might work.
If php is in safe mode this can be a challenge.
Matt Friedman
Spry New Media
----- Original Message -----
From: "Dan Wilson" <phpPgAdmin@acucore.com>
To: "pgsql general" <pgsql-general@postgresql.org>;
<pgsql-php@postgresql.org>
Sent: Monday, February 12, 2001 10:43 PM
Subject: Trapping NOTICE using PHP
> Is there any way to trap the NOTICE output (specifically in PHP)? I would
> like to impliment an EXPLAIN feature in phpPgAdmin and have been
> unsuccessful in finding a way to do this because all the information
> returned by EXPLAIN is in a NOTICE.
>
> Any ideas?
>
> -Dan
>
>
>