From: Scott Marlowe <scott.marlowe@ihs.com>
To: P. Jourdan <pippo@videotron.ca>
Cc: pgsql-php@postgresql.org
Subject: Re: sql command
Date: Thu, 2 May 2002 16:17:08 -0600 (MDT)
Message-ID: <Pine.LNX.4.33.0205021615160.15227-100000@css120.ihs.com> (raw)
In-Reply-To: <5.1.0.14.2.20020502112451.00ac5080@mail.host45.com>
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("<BR>",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
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: scott.marlowe@ihs.com, pippo@videotron.ca
Subject: Re: sql command
In-Reply-To: <Pine.LNX.4.33.0205021615160.15227-100000@css120.ihs.com>
References: <5.1.0.14.2.20020502112451.00ac5080@mail.host45.com> <Pine.LNX.4.33.0205021615160.15227-100000@css120.ihs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox