Connect to Progress 10.1a with PHP (ODBC)

TSeegers

New Member
Hello its me again, this newby has another question.
I know there are more threads about this issue but they are from years ago.

Here is my problem:

-I've set up an ODBC (Progress OpenEdge 10.1A Driver), this works cause i can connect with ACCESS
-Now I want to connect with PHP to this ODBC
-I tried the following thing:

$connection = odbc_connect ('DataSourceName=Progress_ontwikkel;Driver={Progress OpenEdge 10.1A driver};Server=localhost;Database=ontwikkel; PortNumber=9999;','tyas','', SQL_CUR_USE_DRIVER);

then i get the following error:

Warning: odbc_connect() [function.odbc-connect]: SQL error: [DataDirect][ODBC Progress OpenEdge Wire Protocol driver]Insufficient information to connect to the data source., SQL state S1000 in SQLConnect

Strange is that when i try exact the same only with a mysql odbc it does work.

So my question: Is it possible to connect to Progress 10.1a with PHP (and ODBC)

If it is not possible I appreciate other solutions so i can communicate with Progress in a web application (ps. don't come up with webspeed:awink:)

thanks in advance
 
I have no knowledge about PHP whatsoever, but, if you can't connect the database in PHP using ODBC/JDBC than there's a problem in PHP and not with the database.

From the error message you have inlcuded I would guess that you did not supply sufficient information to PHP to use the ODBC driver.

Regards, RealHeavyDude.
 
Back
Top