Received: from haven.epicworks.com (haven.epicworks.com [209.167.115.2]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f1D7Y5x36950 for ; Tue, 13 Feb 2001 02:34:14 -0500 (EST) (envelope-from matt@daart.ca) Received: (qmail 10744 invoked from network); 13 Feb 2001 07:34:05 -0000 Received: from unknown (HELO mattq3h8budilr) (24.67.128.232) by sprynewmedia.com with SMTP; 13 Feb 2001 07:34:05 -0000 Message-ID: <003a01c0958f$f03ceb00$e8804318@mattq3h8budilr> Reply-To: "Matt Friedman" From: "Matt Friedman" To: "Dan Wilson" , "PgSql General List" References: <00ac01c09588$5488db80$078353d8@danwilson> Subject: Re: Trapping NOTICE using PHP Date: Mon, 12 Feb 2001 23:38:19 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200102/572 X-Sequence-Number: 4462 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" To: "pgsql general" ; 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 > > >