Re: [PHP] Possible bug in pg_connect (4.0.3.pl1) ?

2001-02-08 Thread Richard Lynch

  $conexion2 = pg_Connect("host=$servidor user=$usuario password=$pass
 dbname=$bd port=$puerto");
 
 and this one does not ?
 
  $conexion2 = pg_Connect("host=$servidor port=$puerto user=$usuario
 password=$pass dbname=$bd");

I always just copied the stuff in order...

Does the manual specifically say any order is legal?...

If not, that's a feature, not a bug :-)

-- 
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Possible bug in pg_connect (4.0.3.pl1) ?

2001-02-05 Thread Evelio Martinez


Hi!

under 4.0.3pl1

Why this sentence works ?

 $conexion2 = pg_Connect("host=$servidor user=$usuario password=$pass
dbname=$bd port=$puerto");

and this one does not ?

 $conexion2 = pg_Connect("host=$servidor port=$puerto user=$usuario
password=$pass dbname=$bd");


It issues the following message
  Warning: 1 is not a valid PostgreSQL link resource



--
Evelio Martnez
Testanet. Dept. desarrollo software.
Av. Reino de Valencia, 15 - 5
46005 Valencia (Spain)
Tel: +34 96 395 90 00
Fax: +34 96 316 23 19