Re: Trapping NOTICE using PHP

Поиск
Список
Период
Сортировка
От Matt Friedman
Тема Re: Trapping NOTICE using PHP
Дата
Msg-id 003a01c0958f$f03ceb00$e8804318@mattq3h8budilr
обсуждение исходный текст
Ответ на Trapping NOTICE using PHP  ("Dan Wilson" <phpPgAdmin@acucore.com>)
Список 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 по дате отправления:

Предыдущее
От: "Dan Wilson"
Дата:
Сообщение: Trapping NOTICE using PHP
Следующее
От: "Matt Friedman"
Дата:
Сообщение: Vacuum and Owner