|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-05-19 13:01 UTC] sterling at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 24 15:00:01 2025 UTC |
<? $db_server = "localhost"; //internet address of database $db_name = "add_book"; //name of the database $db_login = "jmh3"; //login name of the db owner $db_password = ""; //password corresponding to login $connect_mb = pg_pconnect ("host=$db_server user=$db_login dbname=$db_name"); echo "connect result:$connect_mb<BR>"; echo "Connect string: host=$db_server user=$db_login dbname=$db_name<BR>"; $pg_exec($connect_mb, "begin"); ?> this is the result (HTML) of the script: connect result:1<BR>Connect string: host=localhost user=jmh3 dbname=add_book<BR><br> <b>Fatal error</b>: Call to undefined function: () in <b>/home/jmh3/public_html/mb/test.php</b> on line <b>11</b><br> other info: PHP Version 4.0RC1 Configure command: './configure' '--with-apxs=/usr/sbin/apxs' '--with-mysql' '--with-pgsql=/usr/lib/pgsql/' redhat 6.2 Apache/1.3.12 the only simular bug report i have found is this: <A HREF=http://bugs.php.net/bugs.php3?id=2716>http://bugs.php.net/bugs.php3?id=2716</A> i recompiled/reconfigured from the tar.gz file and it didnt fix it <snip>function: () in</snip> this ^^ is what i find odd. it seems to have forgotten the function. i know in the example i am just beginning the transaction. i get the same result when i do a select or an insert.