Warning: Unable to lookup openquery: Library not registered. in d:\Inetpub\bringitlive_new\download\search.php on line 4
Warning: Unable to lookup closequery: Library not registered. in d:\Inetpub\bringitlive_new\download\search.php on line 6
The messages above were generated when I attempt to use the following PHP code.
<?php
echo "Searching for..".$HTTP_GET_VARS['qry'];
$gnutella = new COM("Gnutella.Application") or die("Unable to instantiate gnutella client.");
$handle = $gnutella->OpenQuery($HTTP_GET_VARS['qry']);
sleep(10);
$gnutella->CloseQuery($handle);
$gnutella = null;
?>
...................
The COM object is an Automation server (EXE) with 2 methods, OpenQuery an CloseQuery.
Any idea?
HINT: The equivelent code works in VB.
😕