note 109404 added to function.strpos
| From: | aidenliu at qq dot com | Date: | Sat, 14 Jul 2012 06:43:00 +0000 |
| Subject: | note 109404 added to function.strpos | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-189134@lists.php.net to get a copy of this message | ||
require_once 'api/sphinxapi.php';
header("Content-type: text/html; charset=utf-8");
$sphinx = new SphinxClient();
$sphinx->SetServer('192.168.1.53',3333);
//$sphinx->SetMatchMode ( SPH_MATCH_EXTENDED2 );
$sphinx->SetSortMode(SPH_SORT_RELEVANCE);
$sphinx->SetLimits(0,600);
//$sphinx->SetGroupBy('author_username', SPH_GROUPBY_ATTR,'@weight desc');
//$sphinx->SetFilter('allow_uids',array(0,-1));
//$sphinx->SetFilterRange('author_uid',10,66666);
//$sphinx->SetSelect('*, IN(allow_cates,20) OR IN(allow_uids,0) AS mycond');
//$sphinx->SetFilter('mycond',array(1));
$result=$sphinx->query('1','gp_attachments_4_delta,gp_attachments_4');
//$result = $sphinx->RunQueries();
//echo $sphinx->GetLastWarning();
echo (json_encode($result));
----
Server IP: 220.181.129.131
Probable Submitter: 119.145.100.137 (proxied: 119.145.100.137)
----
Manual Page -- http://www.php.net/manual/en/function.strpos.php
Edit -- https://master.php.net/note/edit/109404
Del: integrated -- https://master.php.net/note/delete/109404/integrated
Del: useless -- https://master.php.net/note/delete/109404/useless
Del: bad code -- https://master.php.net/note/delete/109404/bad+code
Del: spam -- https://master.php.net/note/delete/109404/spam
Del: non-english -- https://master.php.net/note/delete/109404/non-english
Del: in docs -- https://master.php.net/note/delete/109404/in+docs
Del: other reasons-- https://master.php.net/note/delete/109404
Reject -- https://master.php.net/note/reject/109404
Search -- https://master.php.net/manage/user-notes.php