Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 4B020635C5D for ; Mon, 3 Aug 2009 16:54:27 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 70298-03-4 for ; Mon, 3 Aug 2009 19:54:16 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail27.svc.cra.dublin.eircom.net (mail27.svc.cra.dublin.eircom.net [159.134.118.223]) by mail.postgresql.org (Postfix) with SMTP id 9AFFA635AC6 for ; Mon, 3 Aug 2009 16:53:38 -0300 (ADT) Received: (qmail 75185 messnum 3116051 invoked from network[86.40.235.147/86-40-235-147-dynamic.b-ras3.mvw.galway.eircom.net]); 3 Aug 2009 19:53:35 -0000 Received: from 86-40-235-147-dynamic.b-ras3.mvw.galway.eircom.net (HELO ?127.0.0.1?) (86.40.235.147) by mail27.svc.cra.dublin.eircom.net (qp 75185) with SMTP; 3 Aug 2009 19:53:35 -0000 Message-ID: <4A774041.5050606@iol.ie> Date: Mon, 03 Aug 2009 20:53:37 +0100 From: Raymond O'Donnell Reply-To: rod@iol.ie User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Carol Walter CC: pgsql-php@postgresql.org Subject: Re: pg_query_params version? References: <6D3355E2-AF8B-4F90-8A7C-078FF2D186FB@indiana.edu> In-Reply-To: <6D3355E2-AF8B-4F90-8A7C-078FF2D186FB@indiana.edu> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 090803-0, 03/08/2009), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.74 tagged_above=-10 required=5 tests=BAYES_20=-0.74 X-Spam-Level: X-Archive-Number: 200908/4 X-Sequence-Number: 4045 On 03/08/2009 20:50, Carol Walter wrote: > Which version of PHP does pg_query_params need? I wrote a PHP iprogram > using PHP 5. My client has PHP 4 something. I got an error on the > first line that contains a pg_query_params function. Is the problem > likely to be the difference in the versions or should I look elsewhere? > > The error is... > > Fatal error: Call to undefined function: pg_query_params() in > /projects/ivl/www/ssl/admin/index.php on line 220 Dunno for sure - I've never used PHP 4 - but it certainly looks as if the problem is the older version of PHP. You should encourage your client to use a newer version of PHP if at all possible - PHP 4 is not supported any more. Ray. ------------------------------------------------------------------ Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland rod@iol.ie Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals ------------------------------------------------------------------