Date: 05/02/01
- Next message: Zak Greant: "Re: [PHP-DEV] RE: [PHP-QA] 4.0.6"
- Previous message: Alexander Bokovoy: "Re: [PHP-DEV] maybe not a PHP library?"
- In reply to: Andi Gutmans: "[PHP-DEV] RE: [PHP-QA] 4.0.6"
- Next in thread: Liz: "[PHP-DEV] RE: [PHP-QA] 4.0.6"
- Reply: Liz: "[PHP-DEV] RE: [PHP-QA] 4.0.6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Try php4/tests/testcom
>
OK, that 1 test doesnt work..
However the following does. Which is why I was asking for clarification. This
following code is essential to me, however, I dont make word documents on the
fly.. although I now hate everyone for giving me even more stupid ideas than I
already had.
<?php
$keywords=explode(" ",$SearchString);
$q = new COM("ixsso.Query");
$n = new COM("ixsso.Util");
$q->Query = " <email protected> Server";
$q->Catalog = "its";
$q->SortBy = "rank[d]";
$q->Columns = "DocTitle, vpath";
$q->MaxRecords = 200;
$q->Query=$SearchString;
$n->AddScopeToQuery($q,"/","deep");
$rs = $q->CreateRecordSet("nonsequential");
$rs->PageSize = 10;
if (!$rs->EOF) {
$c = 0;
while (!($rs->EOF) && ($c<$rs->PageSize)) {
$fld=$rs->Fields(1);
echo $fld->Value;
$fld=$rs->Fields(2);
$link=$fld->Value;
$rs->MoveNext();
$c++;
}
$rs->Close();
} else {
echo "no records";
}
?>
So the statement COM doesnt work isnt entirely valid. Bits of it dont
work.......
Liz
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Zak Greant: "Re: [PHP-DEV] RE: [PHP-QA] 4.0.6"
- Previous message: Alexander Bokovoy: "Re: [PHP-DEV] maybe not a PHP library?"
- In reply to: Andi Gutmans: "[PHP-DEV] RE: [PHP-QA] 4.0.6"
- Next in thread: Liz: "[PHP-DEV] RE: [PHP-QA] 4.0.6"
- Reply: Liz: "[PHP-DEV] RE: [PHP-QA] 4.0.6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

