diff --git a/reference/curl/book.xml b/reference/curl/book.xml
new file mode 100644
index 0000000000..a7bdecff0e
--- /dev/null
+++ b/reference/curl/book.xml
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+ CURL
+
+
+
+ &reftitle.intro;
+
+ PHP supports libcurl, a library created by Daniel Stenberg, that
+ allows you to connect and communicate to many different types of
+ servers with many different types of protocols. libcurl currently
+ supports the http, https, ftp, gopher, telnet, dict, file, and
+ ldap protocols. libcurl also supports HTTPS certificates, HTTP
+ POST, HTTP PUT, FTP uploading (this can also be done with PHP's
+ ftp extension), HTTP form based upload, proxies, cookies, and
+ user+password authentication.
+
+
+ These functions have been added in PHP 4.0.2.
+
+
+
+
+ &reference.curl.setup;
+ &reference.curl.constants;
+ &reference.curl.examples;
+ &reference.curl.reference;
+
+
+
+
+
diff --git a/reference/curl/constants.xml b/reference/curl/constants.xml
index 13323bfdfd..03d4ceb213 100644
--- a/reference/curl/constants.xml
+++ b/reference/curl/constants.xml
@@ -1,12 +1,6 @@
-
-
-
- Constants
- Curl Predefined Constants
-
-
-
+
+
&reftitle.constants;
&extension.constants;
@@ -2995,8 +2989,7 @@
-
-
+
+
+
+ &reftitle.examples;
+
+
+ Once you've compiled PHP with cURL support, you can begin using
+ the cURL functions. The basic idea behind the cURL functions is
+ that you initialize a cURL session using the
+ curl_init, then you can set all your
+ options for the transfer via the curl_setopt,
+ then you can execute the session with the
+ curl_exec and then you finish off
+ your session using the curl_close.
+ Here is an example that uses the cURL functions to fetch the
+ example.com homepage into a file:
+
+ Using PHP's cURL module to fetch the example.com homepage
+
+
+]]>
+
+
+
+
+
+
+
+
+
diff --git a/reference/curl/functions/curl-multi-exec.xml b/reference/curl/functions/curl-multi-exec.xml
index a64f24cfe6..2f70bd7f52 100644
--- a/reference/curl/functions/curl-multi-exec.xml
+++ b/reference/curl/functions/curl-multi-exec.xml
@@ -1,5 +1,5 @@
-
+
curl_multi_exec
diff --git a/reference/curl/reference.xml b/reference/curl/reference.xml
index cf5d2e154e..265b3a1a6e 100644
--- a/reference/curl/reference.xml
+++ b/reference/curl/reference.xml
@@ -1,97 +1,8 @@
-
-
-
+
- CURL, Client URL Library Functions
- CURL
-
-
-
- &reftitle.intro;
-
- PHP supports libcurl, a library created by Daniel Stenberg, that
- allows you to connect and communicate to many different types of
- servers with many different types of protocols. libcurl currently
- supports the http, https, ftp, gopher, telnet, dict, file, and
- ldap protocols. libcurl also supports HTTPS certificates, HTTP
- POST, HTTP PUT, FTP uploading (this can also be done with PHP's
- ftp extension), HTTP form based upload, proxies, cookies, and
- user+password authentication.
-
-
- These functions have been added in PHP 4.0.2.
-
-
-
-
- &reftitle.required;
-
- In order to use PHP's cURL functions you need to install the libcurl package. PHP requires that you use
- libcurl 7.0.2-beta or higher. In PHP 4.2.3, you will need
- libcurl version 7.9.0 or higher. From PHP 4.3.0, you will need a libcurl
- version that's 7.9.8 or higher. PHP 5.0.0 requires
- a libcurl version 7.10.5 or greater.
-
-
-
- &reference.curl.configure;
-
-
- &reftitle.resources;
-
- This extension defines two resource types: a cURL handle and a cURL multi
- handle.
-
-
-
-
- &reftitle.constants;
-
- See also the cURL Predefined Constants
-
-
-
-
- &reftitle.examples;
-
- Once you've compiled PHP with cURL support, you can begin using
- the cURL functions. The basic idea behind the cURL functions is
- that you initialize a cURL session using the
- curl_init, then you can set all your
- options for the transfer via the curl_setopt,
- then you can execute the session with the
- curl_exec and then you finish off
- your session using the curl_close.
- Here is an example that uses the cURL functions to fetch the
- example.com homepage into a file:
-
- Using PHP's cURL module to fetch the example.com homepage
-
-
-]]>
-
-
-
-
-
-
-
- &reference.curl.constants;
+ CURL, Client URL Library &Functions;
&reference.curl.entities.functions;
diff --git a/reference/curl/setup.xml b/reference/curl/setup.xml
new file mode 100644
index 0000000000..d1de8b6e5a
--- /dev/null
+++ b/reference/curl/setup.xml
@@ -0,0 +1,64 @@
+
+
+
+
+ &reftitle.setup;
+
+
+
+ &reftitle.required;
+
+ In order to use PHP's cURL functions you need to install the libcurl package. PHP requires that you use
+ libcurl 7.0.2-beta or higher. In PHP 4.2.3, you will need
+ libcurl version 7.9.0 or higher. From PHP 4.3.0, you will need a libcurl
+ version that's 7.9.8 or higher. PHP 5.0.0 requires
+ a libcurl version 7.10.5 or greater.
+
+
+
+
+
+ &reference.curl.configure;
+
+
+
+
+ &reftitle.runtime;
+ &no.config;
+
+
+
+
+
+ &reftitle.resources;
+
+ This extension defines two resource types: a cURL handle and a cURL multi
+ handle.
+
+
+
+
+
+
+
+