cvs: phpdoc-de /reference/network/functions fsockopen.xml
| From: | Friedhelm Betz | Date: | Wed, 02 Jul 2003 09:58:30 +0000 |
| Subject: | cvs: phpdoc-de /reference/network/functions fsockopen.xml | ||
| Groups: | php.doc.de | ||
| Request: | Send a blank email to doc-de+get-839@lists.php.net to get a copy of this message | ||
betz Wed Jul 2 05:58:30 2003 EDT
Modified files:
/phpdoc-de/reference/network/functions fsockopen.xml
Log:
proto correction and bugfix #24429
Index: phpdoc-de/reference/network/functions/fsockopen.xml
diff -u phpdoc-de/reference/network/functions/fsockopen.xml:1.4
phpdoc-de/reference/network/functions/fsockopen.xml:1.5
--- phpdoc-de/reference/network/functions/fsockopen.xml:1.4 Sun Aug 25 17:28:48 2002
+++ phpdoc-de/reference/network/functions/fsockopen.xml Wed Jul 2 05:58:30 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./de/functions/network.xml, last change in rev 1.2 -->
<!-- last change to 'fsockopen' in en/ tree in rev 1.2 -->
<!-- EN-Revision: 1.2 Maintainer: tschuer Status: ready -->
@@ -15,7 +15,7 @@
<title>Beschreibung:</title>
<methodsynopsis>
<type>int</type><methodname>fsockopen</methodname>
- <methodparam
choice="opt"><type>string</type><parameter>udp://hostname</parameter></methodparam>
+
<methodparam><type>string</type><parameter>target</parameter></methodparam>
<methodparam><type>int</type><parameter>port</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>errno</parameter></methodparam>
<methodparam
choice="opt"><type>string</type><parameter>errstr</parameter></methodparam>
@@ -72,7 +72,7 @@
<programlisting role="php">
<![CDATA[
<?php
-$fp = fsockopen ("www.example.com", 80, &$errno, &$errstr, 30);
+$fp = fsockopen ("www.example.com", 80, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br />\n";
} else {