function.px-set-blob-file.html

来自「php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容」· HTML 代码 · 共 103 行

HTML
103 行
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Sets the file where blobs are read from</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.px-retrieve-record.html">px_retrieve_record</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.px-set-parameter.html">px_set_parameter</a></div> <div class="up"><a href="ref.paradox.html">Paradox Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.px-set-blob-file" class="refentry"> <div class="refnamediv">  <h1 class="refname">px_set_blob_file</h1>  <p class="verinfo">(PECL paradox:1.3.0-1.4.1)</p><p class="refpurpose"><span class="refname">px_set_blob_file</span> &mdash; <span class="dc-title">Sets the file where blobs are read from</span></p> </div> <div class="refsect1 description">  <h3 class="title">Description</h3>  <div class="methodsynopsis dc-description">   <span class="type">bool</span> <span class="methodname"><b><b>px_set_blob_file</b></b></span>    ( <span class="methodparam"><span class="type">resource</span> <tt class="parameter">$pxdoc</tt></span>   , <span class="methodparam"><span class="type">string</span> <tt class="parameter">$filename</tt></span>   )</div>  <p class="para rdfs-comment">   Sets the name of the file where blobs are going to be read from or written   into. Without   calling this function, <a href="function.px-get-record.html" class="function">px_get_record()</a> or   <a href="function.px-retrieve-record.html" class="function">px_retrieve_record()</a>  will only return   data in blob fields if the data is part of the record and not stored in the   blob file. Blob data is stored in the record if it is small enough to fit   in the size of the blob field.</p>  <p class="para">   Calling <a href="function.px-put-record.html" class="function">px_put_record()</a>,   <a href="function.px-insert-record.html" class="function">px_insert_record()</a>, or   <a href="function.px-update-record.html" class="function">px_update_record()</a> without calling   <b>px_set_blob_file()</b> will result in truncated blob fields   unless the data fits into the database file.  </p>  <p class="para">   Calling this function twice will close the first blob file and open the new   one.  </p> </div> <div class="refsect1 parameters">  <h3 class="title">Parameters</h3>  <p class="para">   <dl>    <dt>     <span class="term"><i><tt class="parameter">pxdoc</tt></i></span>     <dd>      <p class="para">       Resource identifier of the paradox database       as returned by <a href="function.px-new.html" class="function">px_new()</a>.      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">filename</tt></i></span>     <dd>      <p class="para">       The name of the file. Its extension should be <i>.MB</i>.      </p>     </dd>    </dt>   </dl>  </p> </div> <div class="refsect1 returnvalues">  <h3 class="title">Return Values</h3>  <p class="para">   Returns <b><tt>TRUE</tt></b> on success or <b><tt>FALSE</tt></b> on failure.  </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.px-retrieve-record.html">px_retrieve_record</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.px-set-parameter.html">px_set_parameter</a></div> <div class="up"><a href="ref.paradox.html">Paradox Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?