ali Thu Apr 1 06:22:04 2004 EDT
Modified files: /phpdoc/en/reference/network/functions fsockopen.xml Log: typos http://cvs.php.net/diff.php/phpdoc/en/reference/network/functions/fsockopen.xml?r1=1.14&r2=1.15&ty=u Index: phpdoc/en/reference/network/functions/fsockopen.xml diff -u phpdoc/en/reference/network/functions/fsockopen.xml:1.14 phpdoc/en/reference/network/functions/fsockopen.xml:1.15 --- phpdoc/en/reference/network/functions/fsockopen.xml:1.14 Thu Apr 1 01:31:13 2004 +++ phpdoc/en/reference/network/functions/fsockopen.xml Thu Apr 1 06:22:03 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> +<!-- $Revision: 1.15 $ --> <!-- splitted from ./en/functions/network.xml, last change in rev 1.2 --> <refentry id="function.fsockopen"> <refnamediv> @@ -82,7 +82,7 @@ $out .= "Host: www.example.com\r\n"; $out .= "Connection: Close\r\n\r\n"; - fwrte($fp, $out); + fwrite($fp, $out); while (!feof($fp)) { echo fgets($fp, 128); } @@ -130,7 +130,7 @@ See also <function>pfsockopen</function>, <function>stream_set_blocking</function>, <function>stream_set_timeout</function>, <function>fgets</function>, - <function>fgetss</function>, <function>fwrte</function>, + <function>fgetss</function>, <function>fwrite</function>, <function>fclose</function>, <function>feof</function>, and the <link linkend="ref.curl">Curl extension</link>. </para>