jmz -
Joined: 16 Apr 2004 Posts: 1
|
Posted: Mon Apr 19, 2004 2:16 pm Post subject: getting adodb to work |
|
|
I can't seem to get adodb to function dependably on my abyss web server. I have search the internet for information, and nothing worked, so I was hoping that someone here could help. I'm working on ME and have tried puting my adodb file in various places and used several php.ini configurations, and did manage to get some functionality. Also, my php is working flawlessly, so it is not that, or mysql, which is also working. Any advice would be appreciated. By the way, I am grateful to all involved for making Abyss available, and have said so in several other forums. Apache is a serious pain when compared to Abyss :). Thank you again. |
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Apr 21, 2004 1:24 pm Post subject: Re: getting adodb to work |
|
|
jmz,
Getting Adodb to run is a problem related to PHP and not to Abyss. Abyss doesn't connect to databases, it's your script (and the scripting language) that does it.
We recommend looking for more help about this in http://www.php.net (especially in the manual of PHP in the ODBC and COM sections).
On PHP, you can use ODBC to connect to your database. You can also use COM as follows:
Code: |
$conn = new COM("ADODB.Connection")
or die("Cannot start ADO");
$conn->Open("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=./thefile.mdb;");
$rs = $conn->Execute("SELECT * FROM thetable");
|
_________________ Support Team
Aprelium - http://www.aprelium.com |
|