Cep Posted February 26, 2007 Share Posted February 26, 2007 Hello, I am trying to connect to a remote database on my domain using PHP and an ADODB connection via the OLEDB driver. However the script just seems to hang, [code=php:0] <?php // Connection strings to Database $conn = new COM("ADODB.Connection") or die("Cannot start ADO"); // Microsoft Access connection string. $conn->Open("Provider=Microsoft,.Jet.OLEDB.4.0; Data Source=G:\\apps\\Access\\Mercdat.mdb"); ?> [/code] I don't understand why the script isn't just connecting or dying out but it just seems to hang. This is part of my database_conn.php script which I require on other php scripts in my project. I am not running any queries as yet but since added the above connection my other scripts will just hang. Link to comment https://forums.phpfreaks.com/topic/40157-script-hangs-adodb-connection/ Share on other sites More sharing options...
Archadian Posted February 26, 2007 Share Posted February 26, 2007 what is the ? Link to comment https://forums.phpfreaks.com/topic/40157-script-hangs-adodb-connection/#findComment-194282 Share on other sites More sharing options...
Cep Posted February 26, 2007 Author Share Posted February 26, 2007 What do you mean? Link to comment https://forums.phpfreaks.com/topic/40157-script-hangs-adodb-connection/#findComment-194283 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.