Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 2450

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!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>Return the content of a cURL handle if CURLOPT_RETURNTRANSFER is set</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.curl-multi-exec.html">curl_multi_exec</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.curl-multi-info-read.html">curl_multi_info_read</a></div>
 <div class="up"><a href="ref.curl.html">cURL Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.curl-multi-getcontent" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">curl_multi_getcontent</h1>
  <p class="verinfo">(PHP 5)</p><p class="refpurpose"><span class="refname">curl_multi_getcontent</span> &mdash; <span class="dc-title">Return the content of a cURL handle if <strong><code>CURLOPT_RETURNTRANSFER</code></strong> is set</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.curl-multi-getcontent-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">string</span> <span class="methodname"><strong>curl_multi_getcontent</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$ch</code></span>
   )</div>

  <p class="para rdfs-comment">
   If <strong><code>CURLOPT_RETURNTRANSFER</code></strong> is an option that is set for a specific handle, 
   then this function will return the content of that cURL handle in the form
   of a string.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.curl-multi-getcontent-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    <dt>
<span class="term"><em><code class="parameter">ch</code></em>
</span><dd>
<p class="para">A cURL handle returned by
 <span class="function"><a href="function.curl-init.html" class="function">curl_init()</a></span>.</p></dd>
</dt>

   </dl>

  </p>
 </div>

 
 <div class="refsect1 returnvalues" id="refsect1-function.curl-multi-getcontent-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Return the content of a cURL handle if <strong><code>CURLOPT_RETURNTRANSFER</code></strong> is set.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.curl-multi-getcontent-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="function.curl-multi-init.html" class="function" rel="rdfs-seeAlso">curl_multi_init()</a> - Returns a new cURL multi handle</span></li>
   </ul>
  </p>
 </div>

 
</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.curl-multi-exec.html">curl_multi_exec</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.curl-multi-info-read.html">curl_multi_info_read</a></div>
 <div class="up"><a href="ref.curl.html">cURL Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>