Hello and thx 4 reading this!
The following code works fine on my home machine (win98/pws/php4) but refuses to do it's job on a commercial server (NT). I talked to the server's keepers and they changed the following setting on my request but the code still doesn't run. As my deadline is approaching rapidly i need help or a damn good excuse! Am i doing something wrong or what can i ask the server people to check whether there is something wrong? Thank you in advance!
PS i know the combination of technologies is screaming for trouble but this is a forced enviroment, believe me... As the code will no doubt reveil, i am relatively new at this game 🙂
DA CODE:
$connn = new COM ("ADODB.Connection") or die (" Cannot start ADO");
$connn ->Open ("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=MyHomePage/Organizer/loginDB.mdb;");
$SQL_Exec_Stringg = "select login from userdescription where login='$login'";
$rss = $connn -> Execute($SQL_Exec_Stringg);
$rowcount = 0;
while (!$rss->EOF)
{
$rowcount++;
$rss->MoveNext();
}
$rss -> Close();
$connn -> Close();
$rss -> Release();
$connn -> Release();
THE ERRORMESSAGES:
Warning: Invoke() failed: Exception occurred. in E:\Inetpub\wwwroot...\registeroledb.php on line 70
Warning: Invoke() failed: Exception occurred. in E:\Inetpub\wwwroot...\registeroledb.php on line 75
Fatal error: NULL pointer exception in :\Inetpub\wwwroot...\registeroledb.php on line 75
(i erased the full pathnames to post them)
THE SETTING:
Setting from php.ini:
;com.typelib_file =
com.allow_dcom = On