getting adodb to work

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
jmz
-


Joined: 16 Apr 2004
Posts: 1

PostPosted: Mon Apr 19, 2004 2:16 pm    Post subject: getting adodb to work Reply with quote

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.
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Apr 21, 2004 1:24 pm    Post subject: Re: getting adodb to work Reply with quote

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
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group