RE: [PHP-DB] ODBC .. ehm .. help :)

2001-12-13 Thread Andrew Hill

Bikkel,

Is ODBC enabled on your sever?
If this is a *nix server, follow the Howto at www.iodbc.org.  If windows,
check your odbc.ini for the proper setting.

Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software  http://www.openlinksw.com
Universal Data Access  Data Integration Technology Providers

 -Original Message-
 From: b i k k e l [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, December 13, 2001 4:35 AM
 To: [EMAIL PROTECTED]
 Subject: [PHP-DB] ODBC .. ehm .. help :)


 Hi,

 i get the following error with the code listed below: Fatal
 error: Call to
 undefined function: odbc_connect() in
 /home/users/sites/www.nlhq.nl/html/connect.php3 on line 2

 ?PHP
   $db = odbc_connect('server4.1a.nl', '', '', SQL_CUR_USE_ODBC);
 ?

 This is the URL of the PHP script: http://www.nlhq.nl/connect.php3

 Tought it might my usefull to give ya all the info i can get .. so ..
 http://www.nlhq.nl/info.php

 Hope some1 can help me out here ..
 Thanx!



 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]






-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DB] ODBC .. ehm .. help :)

2001-12-13 Thread Andrew Hill

If you followed the howto and you are still receiving an undefined
function error, than you might have more than one apache/php instance, and
you are starting the wrong one :)

What was the configure command you used?  Did you use a --prefix?  If so,
that is the one you need to start.

Also, check the output of your phpinfo(); to verify ODBC is enabled - the
link you gave to info.php is 'forbidden'.

Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software  http://www.openlinksw.com
Universal Data Access  Data Integration Technology Providers

 -Original Message-
 From: b i k k e l [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, December 13, 2001 11:24 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [PHP-DB] ODBC .. ehm .. help :)


 Yes, i follows all the steps described at www.iodbc.org. Still no
 result :(

 --
 Original Message
 From: Andrew Hill[EMAIL PROTECTED]
 Subject: RE: [PHP-DB] ODBC .. ehm .. help :)
 Date: Thu, 13 Dec 2001 09:32:25 -0500

 Bikkel,
 
 Is ODBC enabled on your sever?
 If this is a *nix server, follow the Howto at www.iodbc.org.  If windows,
 check your odbc.ini for the proper setting.
 
 Best regards,
 Andrew Hill
 Director of Technology Evangelism
 OpenLink Software  http://www.openlinksw.com
 Universal Data Access  Data Integration Technology Providers
 
  -Original Message-
  From: b i k k e l [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, December 13, 2001 4:35 AM
  To: [EMAIL PROTECTED]
  Subject: [PHP-DB] ODBC .. ehm .. help :)
 
 
  Hi,
 
  i get the following error with the code listed below: Fatal
  error: Call to
  undefined function: odbc_connect() in
  /home/users/sites/www.nlhq.nl/html/connect.php3 on line 2
 
  ?PHP
$db = odbc_connect('server4.1a.nl', '', '', SQL_CUR_USE_ODBC);
  ?
 
  This is the URL of the PHP script: http://www.nlhq.nl/connect.php3
 
  Tought it might my usefull to give ya all the info i can get .. so ..
  http://www.nlhq.nl/info.php
 
  Hope some1 can help me out here ..
  Thanx!
 
 
 
  --
  PHP Database Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 
 

 _
 Free email with personality! Over 200 domains!
 http://www.MyOwnEmail.com






-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]