mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-17 21:16:57 +08:00
80 lines
2.2 KiB
HTML
80 lines
2.2 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
<title>Connect to a Cyrus IMAP server</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><div id="function.cyrus-connect" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">cyrus_connect</h1>
|
|
<p class="verinfo">(PHP 4 >= 4.1.0, PECL cyrus 1.0)</p><p class="refpurpose"><span class="refname">cyrus_connect</span> — <span class="dc-title">Connect to a Cyrus IMAP server</span></p>
|
|
|
|
</div>
|
|
<div class="refsect1 description" id="refsect1-function.cyrus-connect-description">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>cyrus_connect</strong></span>
|
|
([ <span class="methodparam"><span class="type">string</span> <code class="parameter">$host</code></span>
|
|
[, <span class="methodparam"><span class="type">string</span> <code class="parameter">$port</code></span>
|
|
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$flags</code></span>
|
|
]]] ) : <span class="type">resource</span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
Connects to a Cyrus IMAP server.
|
|
</p>
|
|
</div>
|
|
|
|
<div class="refsect1 parameters" id="refsect1-function.cyrus-connect-parameters">
|
|
<h3 class="title">参数</h3>
|
|
<p class="para">
|
|
<dl>
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">host</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The Cyrus IMAP host name.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">port</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The port number.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">flags</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
</p>
|
|
</div>
|
|
|
|
<div class="refsect1 returnvalues" id="refsect1-function.cyrus-connect-returnvalues">
|
|
<h3 class="title">返回值</h3>
|
|
<p class="para">
|
|
Returns a connection handler on success 或者在失败时返回 <strong><code>FALSE</code></strong>.
|
|
</p>
|
|
</div>
|
|
|
|
</div></div></div></body></html> |