note 24007 deleted from class.com by dams
| From: | dams@php.net | Date: | Sat, 03 Aug 2002 20:12:22 +0000 |
| Subject: | note 24007 deleted from class.com by dams | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-34236@lists.php.net to get a copy of this message | ||
Can anyone tell me why I get this error "Fatal error: Cannot instantiate non-existent class:
com in /home/bassam/bwcellar-www/test2.html on line 3" when I'm running the following
code:
<--BEGIN CODE-->
$db_connection = new COM("ADODB.Connection") or die("Cannot start ADO");
;
$db_connstr = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" .
realpath("../db/products.mdb") . "
;DefaultDir=" . realpath("../db");
$db_connection->open($db_connstr);
$db_connection->Close();
<--END CODE-->
I am assuming this is because access is not supported by the server, is this the case?