betz Mon Oct 28 05:19:32 2002 EDT Modified files: /phpdoc/en/reference/filesystem/functions stream-set-timeout.xml Log: example correction Index: phpdoc/en/reference/filesystem/functions/stream-set-timeout.xml diff -u phpdoc/en/reference/filesystem/functions/stream-set-timeout.xml:1.1 phpdoc/en/reference/filesystem/functions/stream-set-timeout.xml:1.2 --- phpdoc/en/reference/filesystem/functions/stream-set-timeout.xml:1.1 Sat Sep 28 19:30:31 2002 +++ phpdoc/en/reference/filesystem/functions/stream-set-timeout.xml Mon Oct 28 +05:19:32 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/network.xml, last change in rev 1.18 --> <refentry id="function.stream-set-timeout"> <refnamediv> @@ -29,7 +29,7 @@ } else { fputs($fp, "GET / HTTP/1.0\n\n"); $start = time(); - socket_set_timeout($fp, 2); + stream_set_timeout($fp, 2); $res = fread($fp, 2000); var_dump(stream_get_meta_data($fp)); fclose($fp);
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php