MS-Access,MS-Foxpro und PHP-ODBC

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • MS-Access,MS-Foxpro und PHP-ODBC

    also das ist schon komisch :
    Install.: WAMPP auf Win98SE,MS-Access98,
    Datenbank GL_2002_DB in MS-Access

    will eine Portalsicht in PHP besteln, für möglichst viele
    Verbindungsarten. mySQLdirekt und über ODBC funzt natürlich prächtig, aber mit MS-Access will das nicht klappen(mit MS-Foxpro auch nicht !) :

    PHP Code:
    $handle=odbc_connect("DSN:GL_2002_DB;UID=;PWD=;","","");

    $sql="SELECT name1,ort FROM bau_adres";   //- ist überprüft..

    $cursor=odbc_exec($handle,$sql); 
    liefert -1 , keine Fehlermeldung in phperror.log oder sonst wo

    lasse ich UID und PWD weg, kommt ne Fehlermeldung wegen
    unbekannter Quelle und unbekanntem Format.

    Was muß denn für MS sonst noch in dem String mit "DSN:..." stehen ?
    (für die DB sind weder Username noch Passwort vereinbart.)

    please help !
Working...
X