Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199908

[PHP3] INFORMIX CONNECT PROBLEM From: Alessandro Rossi (alex <email protected>)
Date: 08/28/99

I have installed Informix_se compiled informix support in php
My sqlhosts is as follow

nikel sesoctcp nikel sqlexec

I can run dbacess from unix shell and it works!
I created the dbaccessdemo7 and I can see it from command line.
When I try to connect from php I get the following error:

Warning: ifx_pconnect : E [SQLSTATE=IX 000 SQLCODE=-329] in
/home/httpd/htdocs/testifx.php3 on line 2
An error occured.

here is my testifx.php3

<?
$conn1 = ifx_connect("stores7 <email protected>","informix","informix");
if (!$conn1) {
    echo "An error occured.\n";
    exit;
}
$query = "SELECT * FROM customers";
$rid = ifx_query($query,$conn);
$rowcount = ifx_affected_rows($rid);
echo $rowcount;
ifx_close($conn1);
?>

ESQLD report the following:

1999-08-28 10:08:24.272004 sqlexec nikel informix -Xstores7

Anyone can HELP !??

Thanks

Alex

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>