ID: 16466
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Feedback
Bug Type: PostgreSQL related
Operating System: Win2000
PHP Version: 4.1.1
New Comment:
I don't see any error on my linux. It may be Windows thing.
Could you paste error message? (when you report, could you paste error,
since developer may not see the same error)
Previous Comments:
------------------------------------------------------------------------
[2002-04-06 14:18:12] [EMAIL PROTECTED]
This script give the same error on both of my web servers (iis,apache)
Script:
<?php
$db_handle = pg_connect("dbname=ensite2001 hostaddr=100.100.0.2
user=rvilela password=xxxxxx");
if ($db_handle)
echo "Connection attempt succeeded.<br>\n";
else
echo "Connection attempt failed.<br>\n";
echo "<h1>Connection Information</h1>";
echo "Database name: " . pg_dbname($db_handle) . "<br>\n";
echo "Hostname: " . pg_host($db_handle) . "<br>\n"; //using this
function crash php.exe
echo "Options: " . pg_options($db_handle) . "<br>\n";
echo "Port: " . pg_port($db_handle) . "<br>\n";
echo "TTY name: " . pg_tty($db_handle) . "<br>\n";
pg_freeresult($result);
pg_close($db_handle);
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16466&edit=1