From: | Lynna Landstreet <lynna(at)gallery44(dot)org> |
---|---|
To: | Cornelia Boenigk <poppcorn(at)cornelia-boenigk(dot)de>, <pgsql-php(at)postgresql(dot)org> |
Subject: | Re: pg_query undefined? |
Date: | 2003-07-15 19:38:42 |
Message-ID: | BB39D082.553%lynna@gallery44.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
on 7/12/03 7:15 PM, Cornelia Boenigk at poppcorn(at)cornelia-boenigk(dot)de wrote:
> If you run phpinfo() you can see the PHP version.
>
> pg_query() is supported since PHP 4.2.0
>
> If your PHP is older than this use pg_exec() instead.
Aha - that would be it! Thank you! I just checked phpinfo and it says it's
4.1.2.
I can do a global find and replace to turn all instances of pg_query into
pg_exec in the ez_sql script I downloaded, but now I wonder if there will be
other functions that have changed between versions as well. Guess the only
way to find out is to try.
*sigh* Yet another reason to loathe and despise the web host I'm stuck with
here. I could ask them to upgrade their PHP installation, but given that
they never answered my request to upgrade PostgreSQL a month ago (they're
still running 7.2), or my *four* requests (well, the same request sent four
times) for a working cgi-bin directory, or about 75% of any other tech
support requests I've sent them, I'm not holding out too much hope for this
one.
Can anyone recommend a *good* web host that supports PHP and PostgreSQL? One
that's affordable enough for a small non-profit art gallery?
Thanks,
Lynna
--
Resource Centre Database Coordinator
Gallery 44
www.gallery44.org
From | Date | Subject | |
---|---|---|---|
Next Message | Salah Abdulla | 2003-07-16 08:47:57 | phpPgAdmin 2.4.2 |
Previous Message | Davi Leal | 2003-07-14 19:10:14 | postgreSQL web form; Security |