Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 5421D4763E4 for ; Thu, 2 May 2002 19:19:22 -0400 (EDT) Received: from mail1.ihs.com (unknown [170.207.70.222]) by postgresql.org (Postfix) with ESMTP id EDB1E476645 for ; Thu, 2 May 2002 18:19:43 -0400 (EDT) Received: from css120.ihs.com (css120.ihs.com [170.207.105.120]) by mail1.ihs.com (8.12.3/8.12.3) with ESMTP id g42MJGmc016872; Thu, 2 May 2002 16:19:16 -0600 (MDT) Date: Thu, 2 May 2002 16:17:08 -0600 (MDT) From: Scott Marlowe To: "P. Jourdan" Cc: Subject: Re: sql command In-Reply-To: <5.1.0.14.2.20020502112451.00ac5080@mail.host45.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MailScanner: Found to be clean X-Archive-Number: 200205/22 X-Sequence-Number: 1154 Your machine almost certain is using some kind of universal connection class / include file somewhere you don't know about. try adding this to a simple script: print implode("
",get_included_files()); and see what it lists and look through the include files it shows (use 'locate include_file' where include_file is the name of the include file shown in the php script...) On Thu, 2 May 2002, P. Jourdan wrote: > Could someone explain to me why sql commands work in php with pgsql? I have > a curious situation where the author used sql commands like sqlconnect to > access the database rather than pg-connect as well as other commands that > are either psql or sql - I'm a litle confused here. This is in a .conf file: > sqlconnect(array('server'=>'tester.videotron.ca','user'=>'mum', > 'database'=>'mum','password'=>'123456' ) ); > I'm looking for the theory behind all this. :-) > Thanks > Phil Jourdan > > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster >