mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fixing #21541 and some whitespaces issues
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@111149 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
5a4f6c9ce4
commit
6c44b96198
1 changed files with 8 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<reference id="ref.curl">
|
||||
<title>CURL, Client URL Library Functions</title>
|
||||
<titleabbrev>CURL</titleabbrev>
|
||||
|
@ -41,13 +41,15 @@
|
|||
&reftitle.examples;
|
||||
<para>
|
||||
Once you've compiled PHP with CURL support, you can begin using
|
||||
the curl functions. The basic idea behind the CURL functions is
|
||||
the curl functions. The basic idea behind the CURL functions is
|
||||
that you initialize a CURL session using the
|
||||
<function>curl_init</function>, then you can set all your
|
||||
options for the transfer via the <function>curl_exec</function>
|
||||
and then you finish off your session using the
|
||||
<function>curl_close</function>. Here is an example that uses
|
||||
the CURL functions to fetch the example.com homepage into a file:
|
||||
options for the transfer via the <function>curl_setopt</function>,
|
||||
then you can execute the session with the
|
||||
<function>curl_exec</function> and then you finish off
|
||||
your session using the <function>curl_close</function>.
|
||||
Here is an example that uses the CURL functions to fetch the
|
||||
example.com homepage into a file:
|
||||
<example>
|
||||
<title>Using PHP's CURL module to fetch the example.com homepage</title>
|
||||
<programlisting role="php">
|
||||
|
|
Loading…
Reference in a new issue