note 26610 deleted from function.odbc-connect by cmb

From: Date: Sun, 25 Aug 2019 07:53:14 +0000
Subject: note 26610 deleted from function.odbc-connect by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-211974@lists.php.net to get a copy of this message
Note Submitter: oottavi at netcourrier dot com ---- If you have problem to connect to sybase with an ODBC driver, try to set up your SYBASE environment variable to the correct directory. ([ODBC SQL Server driver]Allocation of a Sybase Open Client Context failed) Ex : Here is a connection to a DSN putenv("SYBASE=c:\sybase"); $conn = odbc_connect("DSN1","USER","PASSWORD"); echo "conn: $conn"; if ($conn <= 0) { echo "Error in connection"; exit; } else { echo "<P>Connection successful\n"; };

« previous php.notes (#211974) next »