mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
changing as per RFC 2606
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@75596 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
8a3925addd
commit
b41ce79623
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.30 $ -->
|
||||
<!-- $Revision: 1.31 $ -->
|
||||
<reference id="ref.curl">
|
||||
<title>CURL, Client URL Library Functions</title>
|
||||
<titleabbrev>CURL</titleabbrev>
|
||||
|
@ -48,8 +48,8 @@
|
|||
<![CDATA[
|
||||
<?php
|
||||
|
||||
$ch = curl_init ("http://www.php.net/");
|
||||
$fp = fopen ("php_homepage.txt", "w");
|
||||
$ch = curl_init ("http://www.example.com/");
|
||||
$fp = fopen ("example_homepage.txt", "w");
|
||||
|
||||
curl_setopt ($ch, CURLOPT_FILE, $fp);
|
||||
curl_setopt ($ch, CURLOPT_HEADER, 0);
|
||||
|
@ -93,7 +93,7 @@ fclose ($fp);
|
|||
<?php
|
||||
$ch = curl_init();
|
||||
|
||||
curl_setopt ($ch, CURLOPT_URL, "http://www.zend.com/");
|
||||
curl_setopt ($ch, CURLOPT_URL, "http://www.example.com/");
|
||||
curl_setopt ($ch, CURLOPT_HEADER, 0);
|
||||
|
||||
curl_exec ($ch);
|
||||
|
|
Loading…
Reference in a new issue