If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Other > PHP and D3 ODBC

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-29-02, 12:54
Rui Leal Rui Leal is offline
Registered User
 
Join Date: Apr 2002
Posts: 4
Unhappy PHP and D3 ODBC

I'm now trying to connect to D3 databases using PHP for Windows over ODBC. I tried to use Apache for Windows, but it seems to conflict with some D3ODBC client component (it opens a window reporting "illegal operation"). Has someone did it before me, does anybody have any bet? Must I use DAO? May I use Apache? All documentation indicates using of VisualBasic, but I want to use only Internet Explorer, PHP and ODBC.

ODBC is defined in NFD connection as follows:
Host: 192.168.0.248
Port Number: 1603
Server Version: 7.2
D3 User ID: dm
D3 Account: Teste_odbc
Login Timeout: 200

At this time, I have the next PHP code:
<?php
include("classes.php");
$server = "d3odbc";
$backup_server = "";
$database = "";
$username = "";
$password = "";
odbc_connect($server,$username,$password) or die(odbc_errormsg());

odbc_errormsg() is returning me
[Pick Systems][ODBC D3 Driver]Logon failed. Check D3 connection parameters and available licenses.

The situation does not change if I define username and password values. Any bet will be welcome.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On