Posted by: augustose <Augu...@gmail.com>
I finaly connected SQL Base with PHP.
Have some one experience about it ?
does any one use it ?
Augusto Sosa Escalada
Posted by: kdre...@boerner-it.de
Dear Mr. Escalada,
it is possible to access SQLBase from PHP.
We use the following method:
1. ODBC driver from SQLBase
2. System data source with the above ODBC driver (It is important to
use system data sources - computer data sources doesn't work!)
3. PEAR-DB in PHP
The connection string is:
<User> = Username and <Password> = password (e.g. SYSADM:SYSADM)
<DSN> is the name of your ODBC data source and <DB> is the wished
database you want to be connected with.
Here a short PHP-Script:
$dsn = 'odbc://SYSADM:SYSADM@CenturaDB/Test';
$conn = DB::connect($dsn, TRUE);
// Perform some actions....
print "Connection error..."
Hope it helps.
With the best regards from Germany
Dr. Klaus-Dieter Remmler
Who is online
Users browsing this forum: [Ccbot] and 0 guests