搜索

大约有 353 项符合查询结果, 库内数据总量为 3,513 项。 (搜索耗时:0.0048秒)

231.[BUG] 文档更新 开启 openBuffer 报错

更新时间:2011-10-27 16:10 t By vist2007

..... Uncaught [XSErrorException] ../../../..(1098): file_get_contents(�) [function.file-get-contents]: failed to open stream: Permission denied(2) thrown in ...\xunsearch\sdk\lib\XS.php on line 469

232.XSCommand::__toString

...字符串 源码: sdk/php/lib/XSServer.class.php#L83 (显示) public function __toString(){ if (strlen($this->buf1) > 0xff) { $this->buf1 = substr($this->buf1, 0, 0xff); } return pack('CCCCI', $this->cmd, $this->arg1, $this->arg2, strlen($this->buf1), strlen($this->buf)) . $this...

233.XSDatabasePDO_MySQL::setUtf8

...true 源码: sdk/php/util/XSDataSource.class.php#L891 (显示) public function setUtf8(){ // BUGFIXED: 此处应为不带引号的 utf8 return $this->obj->prepare("SET NAMES utf8")->execute();} 将输出字符集设置为 UTF-8

234.XSDatabasePgSQL::connect

... 源码: sdk/php/util/XSDataSource.class.php#L554 (显示) public function connect($param){ $dsn = "host={$param['host']} "; $dsn .= isset($param['port']) ? "port={$param['port']} " : ''; $dsn .= "dbname={$param['dbname']} user={$param['user']} password={$param['pass']}"; if (!(...

235.XSSearch::addSearchLog

...认为 1 源码: sdk/php/lib/XSSearch.class.php#L831 (显示) public function addSearchLog($query, $wdf = 1){ $cmd = array('cmd' => XS_CMD_SEARCH_ADD_LOG, 'buf' => $query); if ($wdf > 1) { $cmd['buf1'] = pack('i', $wdf); } $this->execCommand($cmd, XS_CMD_OK_LOGGED);} 添...

236.XSTokenizerScws::hasWord

...词汇 源码: sdk/php/lib/XSTokenizer.class.php#L382 (显示) public function hasWord($text, $xattr){ $text = $this->applySetting($text); $cmd = new XSCommand(XS_CMD_SEARCH_SCWS_GET, XS_CMD_SCWS_HAS_WORD, 0, $text, $xattr); $res = self::$_server->execCommand($cmd, XS_CMD_OK_INFO); ...

237.XSDatabasePDO_MySQL::makeDsn

... 源码: sdk/php/util/XSDataSource.class.php#L877 (显示) protected function makeDsn($param){ $dsn = 'mysql:host=' . (isset($param['host']) ? $param['host'] : 'localhost'); if (isset($param['port']) && $param['port'] !== 3306) { $dsn .= ';port=' . $param['port']; } $dsn .= ...

238.XSDatabaseSQLite::query

...d 源码: sdk/php/util/XSDataSource.class.php#L722 (显示) public function query($sql){ //echo "[DEBUG] SQL: $sql\n"; $res = sqlite_query($this->link, $sql); if ($res === false) { throw new XSException('SQLITE ERROR: ' . sqlite_error_string($this->link)); } if (!is_res...

239.RE:1241

发布时间:2007-07-05 16:07 t By hightman

...持顶下,怎么解决呢? Warning: file_get_contents(sample.utf8.txt) [function.file-get-contents]: failed to open stream: No such file or directory in E:\AppServ\www\ceshi\index.p ... [/quote] 这个只是文件不存在而已,晕...应该看懂提示才对呀 这个文件只是...

240.XSDatabase::query1

...alse 源码: sdk/php/util/XSDataSource.class.php#L455 (显示) public function query1($sql){ $sql = preg_replace('/ limit\s+(\d+)(?:\s*,\s*(\d+)|\s+offset\s+(\d+))?\s*$/i', '', $sql); $sql .= ' LIMIT 1'; $res = $this->query($sql); return (is_array($res) && isset($res[0])) ? $res[0] ...

  • 时间不限
  • 按相关性排序