diff --git a/reference/network/functions/fsockopen.xml b/reference/network/functions/fsockopen.xml index a3aeecb123..e655654486 100644 --- a/reference/network/functions/fsockopen.xml +++ b/reference/network/functions/fsockopen.xml @@ -1,5 +1,5 @@ - + @@ -82,7 +82,7 @@ if (!$fp) { $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 @@ if (!$fp) { See also pfsockopen, stream_set_blocking, stream_set_timeout, fgets, - fgetss, fwrte, + fgetss, fwrite, fclose, feof, and the Curl extension.