Re: Trapping NOTICE using PHP - Mailing list pgsql-general

From Matt Friedman
Subject Re: Trapping NOTICE using PHP
Date
Msg-id 003a01c0958f$f03ceb00$e8804318@mattq3h8budilr
Whole thread Raw
In response to Trapping NOTICE using PHP  ("Dan Wilson" <phpPgAdmin@acucore.com>)
List pgsql-general
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
>
>
>


pgsql-general by date:

Previous
From: "Dan Wilson"
Date:
Subject: Trapping NOTICE using PHP
Next
From: "Matt Friedman"
Date:
Subject: Vacuum and Owner