CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 MSAccess , Netware, PHP - HELP

Print topic Send  topic

Author Message
Brenden
Posted: 04/11/2003, 3:10 PM

How do you connect to an access database in a netware enviroment using PHP? I received an the following error message and this is my conclusion.

Fatal error: Call to undefined function: odbc_pconnect() in apps:/intranet/site/bptest/eedir/db_odbc.inc on line 35

Line 35=

$this->Link_ID=odbc_pconnect($this->Database, $this->User, $this->Password, $this->UseODBCCursor);

Top of Common.php:
<?php
/*********************************************************************************
* Filename: common.php
* Generated with CodeCharge 1.1.18
* PHP & Templates build 03/28/2001
*********************************************************************************/

error_reporting (E_ALL ^ E_NOTICE);
include("./template.php");

// Database Parameters
include("./db_odbc.inc");

define("DATABASE_NAME","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=W:\intranet\site\BPTest\EEDir\database\EmplDir_MSAccess.mdb;Persist Security Info=False");
define("DATABASE_USER","");
define("DATABASE_PASSWORD","");
define("DATABASE_HOST","");

// Database Initialize
$db = new DB_Sql();
$db->Database = DATABASE_NAME;
$db->User = DATABASE_USER;
$db->Password = DATABASE_PASSWORD;
$db->Host = DATABASE_HOST;
RonB
Posted: 04/13/2003, 3:23 AM

Have you tried it with non persistent connection, uncheck the persistent checkbox in the server part of the connection settings.

Ron

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.