query on indexserver via php ado

From: Date: Fri, 31 Jan 2003 10:03:56 +0000
Subject: query on indexserver via php ado
Groups: php.general 
Request: Send a blank email to php-general+get-133754@lists.php.net to get a copy of this message
hi we try to migrate our intranet from asp to php the last problem is our indexserver. we are using the ado functions of php to make a connection and a query on the indexserver but the recordset is empty code: $objQuery = new COM("ixsso.Query")or die("Cannot start Query"); $objutil = new COM("IXSSO.util")or die("Cannot start Util"); $rsQuery = new COM("ADODB.recordset") or die("Cannot start Recordset"); $objutil->addscopetoquery ($objQuery,"/","deep"); $querystring = "#filename *.pdf"; print "$querystring"; $objQuery->catalog ="catalogname"; $objQuery->query = "$querystring"; $objQuery->SortBy = "filename"; $objQuery->columns = ("filename,docsubject, doctitle, docauthor, doccompany, doccategory, dockeywords, doccomments, characterization, vpath,"); $rsQuery = $objQuery->CreateRecordset("nonsequential"); ___________________________ any ideas how to get the thing work ? greets flo

« previous php.general (#133754) next »