mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
corrected example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146123 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
8e499b4418
commit
74d92d6b3f
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<!-- $Revision: 1.12 $ -->
|
||||
<reference id="ref.sockets">
|
||||
<title>Socket functions</title>
|
||||
<titleabbrev>Sockets</titleabbrev>
|
||||
|
@ -205,7 +205,8 @@ if ($result < 0) {
|
|||
echo "OK.\n";
|
||||
}
|
||||
|
||||
$in = "HEAD / HTTP/1.0\r\n\r\n";
|
||||
$in = "HEAD / HTTP/1.1\r\n";
|
||||
$in .= "Host: www.example.com\r\n\r\n";
|
||||
$out = '';
|
||||
|
||||
echo "Sending HTTP HEAD request...";
|
||||
|
|
Loading…
Reference in a new issue