cvs: phpdoc /en/reference/calendar/functions jdtojewish.xml /en/reference/domxml/functions domxml-open-mem.xml /en/reference/dotnet/functions
dotnet-load.xml /en/reference/mssql/functions mssql-connect.xml /en/reference/network/functions fsockopen.xml header.xml
/en/reference/pcre/functions preg-replace.xml /en/reference/pgsql/functions pg-result-status.xml /en/reference/sybase/functions sybase-connect.xml
sybase-pconnect.xml /en/reference/zlib/functions gzencode.xml
| From: | Mehdi Achour | Date: | Sun, 17 Jun 2007 02:08:17 +0000 |
| Subject: | cvs: phpdoc /en/reference/calendar/functions jdtojewish.xml /en/reference/domxml/functions domxml-open-mem.xml /en/reference/dotnet/functions dotnet-load.xml /en/reference/mssql/functions mssql-connect.xml /en/reference/network/functions fsockopen.xml header.xml /en/reference/pcre/functions preg-replace.xml /en/reference/pgsql/functions pg-result-status.xml /en/reference/sybase/functions sybase-connect.xml sybase-pconnect.xml /en/reference/zlib/functions gzencode.xml |
||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969376740@lists.php.net to get a copy of this message | ||
didou Sun Jun 17 02:08:17 2007 UTC
Modified files:
/phpdoc/en/reference/mssql/functions mssql-connect.xml
/phpdoc/en/reference/calendar/functions jdtojewish.xml
/phpdoc/en/reference/domxml/functions domxml-open-mem.xml
/phpdoc/en/reference/pgsql/functions pg-result-status.xml
/phpdoc/en/reference/zlib/functions gzencode.xml
/phpdoc/en/reference/dotnet/functions dotnet-load.xml
/phpdoc/en/reference/pcre/functions preg-replace.xml
/phpdoc/en/reference/network/functions fsockopen.xml header.xml
/phpdoc/en/reference/sybase/functions sybase-connect.xml
sybase-pconnect.xml
Log:
Add ChangeLog
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mssql/functions/mssql-connect.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/mssql/functions/mssql-connect.xml diff -u phpdoc/en/reference/mssql/functions/mssql-connect.xml:1.6 phpdoc/en/reference/mssql/functions/mssql-connect.xml:1.7 --- phpdoc/en/reference/mssql/functions/mssql-connect.xml:1.6 Sun Feb 4 22:46:04 2007 +++ phpdoc/en/reference/mssql/functions/mssql-connect.xml Sun Jun 17 02:08:16 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id="function.mssql-connect"> <refnamediv> <refname>mssql_connect</refname> @@ -80,6 +80,30 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.4.1 and 5.1.0</entry> + <entry> + The <parameter>new_link</parameter> parameter was added + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/calendar/functions/jdtojewish.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc/en/reference/calendar/functions/jdtojewish.xml diff -u phpdoc/en/reference/calendar/functions/jdtojewish.xml:1.14 phpdoc/en/reference/calendar/functions/jdtojewish.xml:1.15 --- phpdoc/en/reference/calendar/functions/jdtojewish.xml:1.14 Sun May 13 03:51:24 2007 +++ phpdoc/en/reference/calendar/functions/jdtojewish.xml Sun Jun 17 02:08:16 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> +<!-- $Revision: 1.15 $ --> <refentry id="function.jdtojewish"> <refnamediv> <refname>jdtojewish</refname> @@ -16,18 +16,6 @@ <para> Converts a Julian Day Count to the Jewish Calendar. </para> - <para> - The optional <parameter>hebrew</parameter> and <parameter>fl</parameter> - parameters became available in PHP 5.0.0 - </para> - <para> - If the <parameter>hebrew</parameter> parameter is set to &true;, the - <parameter>fl</parameter> parameter is used for Hebrew, string based, - output format. The available formats are: - <constant>CAL_JEWISH_ADD_ALAFIM_GERESH</constant>, - <constant>CAL_JEWISH_ADD_ALAFIM</constant>, - <constant>CAL_JEWISH_ADD_GERESHAYIM</constant>. - </para> </refsect1> <refsect1 role="parameters"> @@ -42,6 +30,27 @@ </para> </listitem> </varlistentry> + <varlistentry> + <term><parameter>hebrew</parameter></term> + <listitem> + <para> + If the <parameter>hebrew</parameter> parameter is set to &true;, the + <parameter>fl</parameter> parameter is used for Hebrew, string based, + output format. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>fl</parameter></term> + <listitem> + <para> + The available formats are: + <constant>CAL_JEWISH_ADD_ALAFIM_GERESH</constant>, + <constant>CAL_JEWISH_ADD_ALAFIM</constant>, + <constant>CAL_JEWISH_ADD_GERESHAYIM</constant>. + </para> + </listitem> + </varlistentry> </variablelist> </para> </refsect1> @@ -53,6 +62,31 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.0.0</entry> + <entry> + The <parameter>hebrew</parameter> and <parameter>fl</parameter> + parameters were added + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/domxml/functions/domxml-open-mem.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/domxml/functions/domxml-open-mem.xml diff -u phpdoc/en/reference/domxml/functions/domxml-open-mem.xml:1.11 phpdoc/en/reference/domxml/functions/domxml-open-mem.xml:1.12 --- phpdoc/en/reference/domxml/functions/domxml-open-mem.xml:1.11 Fri Jun 17 23:35:55 2005 +++ phpdoc/en/reference/domxml/functions/domxml-open-mem.xml Sun Jun 17 02:08:16 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <refentry id="function.domxml-open-mem"> <refnamediv> <refname>domxml_open_mem</refname> @@ -68,6 +68,32 @@ contents. </para> </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.3.0</entry> + <entry> + The <parameter>mode</parameter> and <parameter>error</parameter> + parameters were added. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/functions/pg-result-status.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/pgsql/functions/pg-result-status.xml diff -u phpdoc/en/reference/pgsql/functions/pg-result-status.xml:1.9 phpdoc/en/reference/pgsql/functions/pg-result-status.xml:1.10 --- phpdoc/en/reference/pgsql/functions/pg-result-status.xml:1.9 Mon May 2 01:46:15 2005 +++ phpdoc/en/reference/pgsql/functions/pg-result-status.xml Sun Jun 17 02:08:16 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.58 --> <refentry id='function.pg-result-status'> <refnamediv> @@ -61,7 +61,31 @@ specified. Otherwise, a <type>string</type> containing the PostgreSQL command tag is returned. </para> </refsect1> - + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.3.0</entry> + <entry> + The <parameter>type</parameter> parameter was added. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zlib/functions/gzencode.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/zlib/functions/gzencode.xml diff -u phpdoc/en/reference/zlib/functions/gzencode.xml:1.8 phpdoc/en/reference/zlib/functions/gzencode.xml:1.9 --- phpdoc/en/reference/zlib/functions/gzencode.xml:1.8 Sun Jan 28 01:27:31 2007 +++ phpdoc/en/reference/zlib/functions/gzencode.xml Sun Jun 17 02:08:16 2007 @@ -1,10 +1,11 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry id="function.gzencode"> <refnamediv> <refname>gzencode</refname> <refpurpose>Create a gzip compressed string</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -24,6 +25,7 @@ version 4.3</ulink> (RFC 1952). </para> </refsect1> + <refsect1 role="parameters"> &reftitle.parameters; <para> @@ -63,33 +65,14 @@ </variablelist> </para> </refsect1> + <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The encoded string, or &false; if an error occurred. </para> </refsect1> - <refsect1 role="examples"> - &reftitle.examples; - <para> - The resulting data contains the appropriate headers and data - structure to make a standard .gz file, e.g.: - <example> - <title>Creating a gzip file</title> - <programlisting role="php"> -<![CDATA[ -<?php -$data = implode("", file("bigfile.txt")); -$gzdata = gzencode($data, 9); -$fp = fopen("bigfile.txt.gz", "w"); -fwrite($fp, $gzdata); -fclose($fp); -?> -]]> - </programlisting> - </example> - </para> - </refsect1> + <refsect1 role="changelog"> &reftitle.changelog; <para> @@ -103,11 +86,9 @@ </thead> <tbody> <row> - <entry>4.2</entry> + <entry>4.2.0</entry> <entry> - <parameter>level</parameter> was added. <function>gzencode</function> - only had the <parameter>data</parameter> and the optional - <parameter>encoding_mode</parameter> parameters before. + The <parameter>encoding_mode</parameter> parameter was added </entry> </row> </tbody> @@ -115,6 +96,29 @@ </informaltable> </para> </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + The resulting data contains the appropriate headers and data + structure to make a standard .gz file, e.g.: + <example> + <title>Creating a gzip file</title> + <programlisting role="php"> +<![CDATA[ +<?php +$data = implode("", file("bigfile.txt")); +$gzdata = gzencode($data, 9); +$fp = fopen("bigfile.txt.gz", "w"); +fwrite($fp, $gzdata); +fclose($fp); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> @@ -127,6 +131,7 @@ </simplelist> </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/dotnet/functions/dotnet-load.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/dotnet/functions/dotnet-load.xml diff -u phpdoc/en/reference/dotnet/functions/dotnet-load.xml:1.3 phpdoc/en/reference/dotnet/functions/dotnet-load.xml:1.4 --- phpdoc/en/reference/dotnet/functions/dotnet-load.xml:1.3 Sun Jan 7 18:32:21 2007 +++ phpdoc/en/reference/dotnet/functions/dotnet-load.xml Sun Jun 17 02:08:16 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="function.dotnet-load"> <refnamediv> <refname>dotnet_load</refname> @@ -16,6 +16,31 @@ &warn.experimental.func; &warn.undocumented.func; </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.1.0</entry> + <entry> + The <parameter>codepage</parameter> parameter was added + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcre/functions/preg-replace.xml?r1=1.24&r2=1.25&diff_format=u Index: phpdoc/en/reference/pcre/functions/preg-replace.xml diff -u phpdoc/en/reference/pcre/functions/preg-replace.xml:1.24 phpdoc/en/reference/pcre/functions/preg-replace.xml:1.25 --- phpdoc/en/reference/pcre/functions/preg-replace.xml:1.24 Sun Feb 25 16:07:44 2007 +++ phpdoc/en/reference/pcre/functions/preg-replace.xml Sun Jun 17 02:08:16 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.24 $ --> +<!-- $Revision: 1.25 $ --> <refentry id="function.preg-replace"> <refnamediv> <refname>preg_replace</refname> @@ -171,7 +171,7 @@ </entry> </row> <row> - <entry>4.0.1</entry> + <entry>4.0.2</entry> <entry> Added the <parameter>limit</parameter> parameter </entry> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/network/functions/fsockopen.xml?r1=1.21&r2=1.22&diff_format=u Index: phpdoc/en/reference/network/functions/fsockopen.xml diff -u phpdoc/en/reference/network/functions/fsockopen.xml:1.21 phpdoc/en/reference/network/functions/fsockopen.xml:1.22 --- phpdoc/en/reference/network/functions/fsockopen.xml:1.21 Sun Jun 10 01:57:08 2007 +++ phpdoc/en/reference/network/functions/fsockopen.xml Sun Jun 17 02:08:16 2007 @@ -1,261 +1,268 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.21 $ --> -<refentry id="function.fsockopen"> - <refnamediv> - <refname>fsockopen</refname> - <refpurpose>Open Internet or Unix domain socket connection</refpurpose> - </refnamediv> - - <refsect1 role="description"> - &reftitle.description; - <methodsynopsis> - <type>resource</type><methodname>fsockopen</methodname> - <methodparam><type>string</type><parameter>hostname</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>port</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter role="reference">errno</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter role="reference">errstr</parameter></methodparam> - <methodparam choice="opt"><type>float</type><parameter>timeout</parameter></methodparam> - </methodsynopsis> - <para> - Initiates a socket connection to the resource specified by - <parameter>hostname</parameter>. - </para> - <para> - PHP supports targets in the Internet and Unix domains as described in - <xref linkend="transports"/>. A list of supported transports can also be - retrieved using <function>stream_get_transports</function>. - </para> - <para> - The socket will by default be opened in blocking mode. You can - switch it to non-blocking mode by using - <function>stream_set_blocking</function>. - </para> - </refsect1> - - <refsect1 role="parameters"> - &reftitle.parameters; - <para> - <variablelist> - <varlistentry> - <term><parameter>hostname</parameter></term> - <listitem> - <para> - If you have compiled in OpenSSL support, you may prefix the - <parameter>hostname</parameter> with either <literal>ssl://</literal> - or <literal>tls://</literal> to use an SSL or TLS client connection - over TCP/IP to connect to the remote host. - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>port</parameter></term> - <listitem> - <para> - The port number. - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>errno</parameter></term> - <listitem> - <para> - If provided, holds the system level error number that occurred in the - system-level <literal>connect()</literal> call. - </para> - <para> - If the value returned in <parameter>errno</parameter> is - <literal>0</literal> and the function returned &false;, it is an - indication that the error occurred before the - <literal>connect()</literal> call. This is most likely due to a - problem initializing the socket. - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>errstr</parameter></term> - <listitem> - <para> - The error message as a string. - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>timeout</parameter></term> - <listitem> - <para> - The connection timeout, in seconds. - </para> - <note> - <para> - If you need to set a timeout for reading/writing data over the - socket, use <function>stream_set_timeout</function>, as the - <parameter>timeout</parameter> parameter to - <function>fsockopen</function> only applies while connecting the - socket. - </para> - </note> - </listitem> - </varlistentry> - </variablelist> - </para> - </refsect1> - - <refsect1 role="returnvalues"> - &reftitle.returnvalues; - <para> - <function>fsockopen</function> returns a file pointer which may be used - together with the other file functions (such as - <function>fgets</function>, <function>fgetss</function>, - <function>fwrite</function>, <function>fclose</function>, and - <function>feof</function>). If the call fails, it will return &false; - </para> - </refsect1> - - <refsect1 role="changelog"> - &reftitle.changelog; - <para> - <informaltable> - <tgroup cols="2"> - <thead> - <row> - <entry>&Version;</entry> - <entry>&Description;</entry> - </row> - </thead> - <tbody> - <row> - <entry>4.3.0</entry> - <entry> - SSL and TLS over TCP/IP support was added. - </entry> - </row> - <row> - <entry>4.0.0</entry> - <entry> - UDP support was added. - </entry> - </row> - <row> - <entry>3.0.9</entry> - <entry> - The <parameter>timeout</parameter> parameter was added. - </entry> - </row> - </tbody> - </tgroup> - </informaltable> - </para> - </refsect1> - - <refsect1 role="examples"> - &reftitle.examples; - <para> - <example> - <title><function>fsockopen</function> Example</title> - <programlisting role="php"> -<![CDATA[ -<?php -$fp = fsockopen("www.example.com", 80, $errno, $errstr, 30); -if (!$fp) { - echo "$errstr ($errno)<br />\n"; -} else { - $out = "GET / HTTP/1.1\r\n"; - $out .= "Host: www.example.com\r\n"; - $out .= "Connection: Close\r\n\r\n"; - - fwrite($fp, $out); - while (!feof($fp)) { - echo fgets($fp, 128); - } - fclose($fp); -} -?> -]]> - </programlisting> - </example> - </para> - <para> - <example> - <title>Using UDP connection</title> - <para> - The example below shows how to retrieve the day and time from the UDP - service "daytime" (port 13) in your own machine. - </para> - <programlisting role="php"> -<![CDATA[ -<?php -$fp = fsockopen("udp://127.0.0.1", 13, $errno, $errstr); -if (!$fp) { - echo "ERROR: $errno - $errstr<br />\n"; -} else { - fwrite($fp, "\n"); - echo fread($fp, 26); - fclose($fp); -} -?> -]]> - </programlisting> - </example> - </para> - </refsect1> - - <refsect1 role="notes"> - &reftitle.notes; - <note> - <para> - Depending on the environment, the Unix domain or the optional - connect timeout may not be available. - </para> - </note> - <warning> - <para> - UDP sockets will sometimes appear to have opened without an error, - even if the remote host is unreachable. The error will only - become apparent when you read or write data to/from the socket. - The reason for this is because UDP is a "connectionless" protocol, - which means that the operating system does not try to establish - a link for the socket until it actually needs to send or receive data. - </para> - </warning> - &ipv6.brackets; - </refsect1> - - <refsect1 role="seealso"> - &reftitle.seealso; - <para> - <simplelist> - <member><function>pfsockopen</function></member> - <member><function>stream_set_blocking</function></member> - <member><function>stream_set_timeout</function></member> - <member><function>fgets</function></member> - <member><function>fgetss</function></member> - <member><function>fwrite</function></member> - <member><function>fclose</function></member> - <member><function>feof</function></member> - <member>The <link linkend="ref.curl">Curl extension</link></member> - </simplelist> - </para> - </refsect1> - -</refentry> - -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.22 $ --> +<refentry id="function.fsockopen"> + <refnamediv> + <refname>fsockopen</refname> + <refpurpose>Open Internet or Unix domain socket connection</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>resource</type><methodname>fsockopen</methodname> + <methodparam><type>string</type><parameter>hostname</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>port</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter role="reference">errno</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter role="reference">errstr</parameter></methodparam> + <methodparam choice="opt"><type>float</type><parameter>timeout</parameter></methodparam> + </methodsynopsis> + <para> + Initiates a socket connection to the resource specified by + <parameter>hostname</parameter>. + </para> + <para> + PHP supports targets in the Internet and Unix domains as described in + <xref linkend="transports"/>. A list of supported transports can also be + retrieved using <function>stream_get_transports</function>. + </para> + <para> + The socket will by default be opened in blocking mode. You can + switch it to non-blocking mode by using + <function>stream_set_blocking</function>. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>hostname</parameter></term> + <listitem> + <para> + If you have compiled in OpenSSL support, you may prefix the + <parameter>hostname</parameter> with either <literal>ssl://</literal> + or <literal>tls://</literal> to use an SSL or TLS client connection + over TCP/IP to connect to the remote host. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>port</parameter></term> + <listitem> + <para> + The port number. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>errno</parameter></term> + <listitem> + <para> + If provided, holds the system level error number that occurred in the + system-level <literal>connect()</literal> call. + </para> + <para> + If the value returned in <parameter>errno</parameter> is + <literal>0</literal> and the function returned &false;, it is an + indication that the error occurred before the + <literal>connect()</literal> call. This is most likely due to a + problem initializing the socket. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>errstr</parameter></term> + <listitem> + <para> + The error message as a string. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>timeout</parameter></term> + <listitem> + <para> + The connection timeout, in seconds. + </para> + <note> + <para> + If you need to set a timeout for reading/writing data over the + socket, use <function>stream_set_timeout</function>, as the + <parameter>timeout</parameter> parameter to + <function>fsockopen</function> only applies while connecting the + socket. + </para> + </note> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + <function>fsockopen</function> returns a file pointer which may be used + together with the other file functions (such as + <function>fgets</function>, <function>fgetss</function>, + <function>fwrite</function>, <function>fclose</function>, and + <function>feof</function>). If the call fails, it will return &false; + </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.3.0</entry> + <entry> + Added support for the <parameter>timeout</parameter> parameter on + win32. + </entry> + </row> + <row> + <entry>4.3.0</entry> + <entry> + SSL and TLS over TCP/IP support was added. + </entry> + </row> + <row> + <entry>4.0.0</entry> + <entry> + UDP support was added. + </entry> + </row> + <row> + <entry>3.0.9</entry> + <entry> + The <parameter>timeout</parameter> parameter was added. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>fsockopen</function> Example</title> + <programlisting role="php"> +<![CDATA[ +<?php +$fp = fsockopen("www.example.com", 80, $errno, $errstr, 30); +if (!$fp) { + echo "$errstr ($errno)<br />\n"; +} else { + $out = "GET / HTTP/1.1\r\n"; + $out .= "Host: www.example.com\r\n"; + $out .= "Connection: Close\r\n\r\n"; + + fwrite($fp, $out); + while (!feof($fp)) { + echo fgets($fp, 128); + } + fclose($fp); +} +?> +]]> + </programlisting> + </example> + </para> + <para> + <example> + <title>Using UDP connection</title> + <para> + The example below shows how to retrieve the day and time from the UDP + service "daytime" (port 13) in your own machine. + </para> + <programlisting role="php"> +<![CDATA[ +<?php +$fp = fsockopen("udp://127.0.0.1", 13, $errno, $errstr); +if (!$fp) { + echo "ERROR: $errno - $errstr<br />\n"; +} else { + fwrite($fp, "\n"); + echo fread($fp, 26); + fclose($fp); +} +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; + <note> + <para> + Depending on the environment, the Unix domain or the optional + connect timeout may not be available. + </para> + </note> + <warning> + <para> + UDP sockets will sometimes appear to have opened without an error, + even if the remote host is unreachable. The error will only + become apparent when you read or write data to/from the socket. + The reason for this is because UDP is a "connectionless" protocol, + which means that the operating system does not try to establish + a link for the socket until it actually needs to send or receive data. + </para> + </warning> + &ipv6.brackets; + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>pfsockopen</function></member> + <member><function>stream_set_blocking</function></member> + <member><function>stream_set_timeout</function></member> + <member><function>fgets</function></member> + <member><function>fgetss</function></member> + <member><function>fwrite</function></member> + <member><function>fclose</function></member> + <member><function>feof</function></member> + <member>The <link linkend="ref.curl">Curl extension</link></member> + </simplelist> + </para> + </refsect1> + +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/network/functions/header.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/en/reference/network/functions/header.xml diff -u phpdoc/en/reference/network/functions/header.xml:1.4 phpdoc/en/reference/network/functions/header.xml:1.5 --- phpdoc/en/reference/network/functions/header.xml:1.4 Sun Jun 10 02:06:13 2007 +++ phpdoc/en/reference/network/functions/header.xml Sun Jun 17 02:08:16 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="function.header"> <refnamediv> <refname>header</refname> @@ -162,6 +162,12 @@ The <parameter>http_response_code</parameter> parameter was added. </entry> </row> + <row> + <entry>4.0.4</entry> + <entry> + The <parameter>replace</parameter> parameter was added. + </entry> + </row> </tbody> </tgroup> </informaltable> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sybase/functions/sybase-connect.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/sybase/functions/sybase-connect.xml diff -u phpdoc/en/reference/sybase/functions/sybase-connect.xml:1.8 phpdoc/en/reference/sybase/functions/sybase-connect.xml:1.9 --- phpdoc/en/reference/sybase/functions/sybase-connect.xml:1.8 Fri Jun 15 00:11:12 2007 +++ phpdoc/en/reference/sybase/functions/sybase-connect.xml Sun Jun 17 02:08:16 2007 @@ -1,141 +1,166 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<refentry id="function.sybase-connect"> - <refnamediv> - <refname>sybase_connect</refname> - <refpurpose>Opens a Sybase server connection</refpurpose> - </refnamediv> - - <refsect1 role="description"> - &reftitle.description; - <methodsynopsis> - <type>resource</type><methodname>sybase_connect</methodname> - <methodparam choice="opt"><type>string</type><parameter>servername</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>username</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>charset</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>appname</parameter></methodparam> - </methodsynopsis> - <para> - <function>sybase_connect</function> establishes a connection to a - Sybase server. - </para> - <para> - In case a second call is made to - <function>sybase_connect</function> with the same arguments, no - new link will be established, but instead, the link identifier of - the already opened link will be returned. - </para> - <para> - The link to the server will be closed as soon as the - execution of the script ends, unless it's closed earlier by - explicitly calling <function>sybase_close</function>. - </para> - </refsect1> - - <refsect1 role="parameters"> - &reftitle.parameters; - <para> - <variablelist> - <varlistentry> - <term><parameter>servername</parameter></term> - <listitem> - <para> - The servername argument has to be a valid servername that is defined - in the 'interfaces' file. - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>username</parameter></term> - <listitem> - <para> - Sybase user name - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>password</parameter></term> - <listitem> - <para> - Password associated with <parameter>username</parameter>. - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>charset</parameter></term> - <listitem> - <para> - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>appname</parameter></term> - <listitem> - <para> - </para> - </listitem> - </varlistentry> - </variablelist> - </para> - </refsect1> - - <refsect1 role="returnvalues"> - &reftitle.returnvalues; - <para> - Returns a positive Sybase link identifier on success, or &false; on - failure. - </para> - </refsect1> - - <refsect1 role="examples"> - &reftitle.examples; - <para> - <example> - <title><function>sybase_connect</function> example</title> - <programlisting role="php"> -<![CDATA[ -<?php -$link = sybase_connect('SYBASE', '', '') - or die("Could not connect !"); -echo "Connected successfully"; -sybase_close($link); -?> -]]> - </programlisting> - </example> - </para> - </refsect1> - - <refsect1 role="seealso"> - &reftitle.seealso; - <para> - <simplelist> - <member><function>sybase_pconnect</function></member> - <member><function>sybase_close</function></member> - </simplelist> - </para> - </refsect1> - -</refentry> - -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.9 $ --> +<refentry id="function.sybase-connect"> + <refnamediv> + <refname>sybase_connect</refname> + <refpurpose>Opens a Sybase server connection</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>resource</type><methodname>sybase_connect</methodname> + <methodparam choice="opt"><type>string</type><parameter>servername</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>username</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>charset</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>appname</parameter></methodparam> + </methodsynopsis> + <para> + <function>sybase_connect</function> establishes a connection to a + Sybase server. + </para> + <para> + In case a second call is made to + <function>sybase_connect</function> with the same arguments, no + new link will be established, but instead, the link identifier of + the already opened link will be returned. + </para> + <para> + The link to the server will be closed as soon as the + execution of the script ends, unless it's closed earlier by + explicitly calling <function>sybase_close</function>. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>servername</parameter></term> + <listitem> + <para> + The servername argument has to be a valid servername that is defined + in the 'interfaces' file. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>username</parameter></term> + <listitem> + <para> + Sybase user name + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>password</parameter></term> + <listitem> + <para> + Password associated with <parameter>username</parameter>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>charset</parameter></term> + <listitem> + <para> + Specifies the charset for the connection + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>appname</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns a positive Sybase link identifier on success, or &false; on + failure. + </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.0.2</entry> + <entry> + The <parameter>charset</parameter> parameter was added. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>sybase_connect</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php +$link = sybase_connect('SYBASE', '', '') + or die("Could not connect !"); +echo "Connected successfully"; +sybase_close($link); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>sybase_pconnect</function></member> + <member><function>sybase_close</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sybase/functions/sybase-pconnect.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/sybase/functions/sybase-pconnect.xml diff -u phpdoc/en/reference/sybase/functions/sybase-pconnect.xml:1.7 phpdoc/en/reference/sybase/functions/sybase-pconnect.xml:1.8 --- phpdoc/en/reference/sybase/functions/sybase-pconnect.xml:1.7 Fri Jun 15 00:11:12 2007 +++ phpdoc/en/reference/sybase/functions/sybase-pconnect.xml Sun Jun 17 02:08:16 2007 @@ -1,125 +1,150 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<refentry id="function.sybase-pconnect"> - <refnamediv> - <refname>sybase_pconnect</refname> - <refpurpose>Open persistent Sybase connection</refpurpose> - </refnamediv> - - <refsect1 role="description"> - &reftitle.description; - <methodsynopsis> - <type>resource</type><methodname>sybase_pconnect</methodname> - <methodparam choice="opt"><type>string</type><parameter>servername</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>username</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>charset</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>appname</parameter></methodparam> - </methodsynopsis> - <para> - <function>sybase_pconnect</function> acts very much like - <function>sybase_connect</function> with two major differences. - </para> - <para> - First, when connecting, the function would first try to find a - (persistent) link that's already open with the same host, - username and password. If one is found, an identifier for it - will be returned instead of opening a new connection. - </para> - <para> - Second, the connection to the SQL server will not be closed when - the execution of the script ends. Instead, the link will remain - open for future use (<function>sybase_close</function> will not - close links established by <function>sybase_pconnect</function>). - </para> - <para> - This type of links is therefore called 'persistent'. - </para> - </refsect1> - - <refsect1 role="parameters"> - &reftitle.parameters; - <para> - <variablelist> - <varlistentry> - <term><parameter>servername</parameter></term> - <listitem> - <para> - The servername argument has to be a valid servername that is defined - in the 'interfaces' file. - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>username</parameter></term> - <listitem> - <para> - Sybase user name - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>password</parameter></term> - <listitem> - <para> - Password associated with <parameter>username</parameter>. - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>charset</parameter></term> - <listitem> - <para> - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>appname</parameter></term> - <listitem> - <para> - </para> - </listitem> - </varlistentry> - </variablelist> - </para> - </refsect1> - - <refsect1 role="returnvalues"> - &reftitle.returnvalues; - <para> - Returns a positive Sybase persistent link identifier on success, or - &false; on error. - </para> - </refsect1> - - <refsect1 role="seealso"> - &reftitle.seealso; - <para> - <simplelist> - <member><function>sybase_connect</function></member> - </simplelist> - </para> - </refsect1> - -</refentry> - -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.8 $ --> +<refentry id="function.sybase-pconnect"> + <refnamediv> + <refname>sybase_pconnect</refname> + <refpurpose>Open persistent Sybase connection</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>resource</type><methodname>sybase_pconnect</methodname> + <methodparam choice="opt"><type>string</type><parameter>servername</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>username</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>charset</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>appname</parameter></methodparam> + </methodsynopsis> + <para> + <function>sybase_pconnect</function> acts very much like + <function>sybase_connect</function> with two major differences. + </para> + <para> + First, when connecting, the function would first try to find a + (persistent) link that's already open with the same host, + username and password. If one is found, an identifier for it + will be returned instead of opening a new connection. + </para> + <para> + Second, the connection to the SQL server will not be closed when + the execution of the script ends. Instead, the link will remain + open for future use (<function>sybase_close</function> will not + close links established by <function>sybase_pconnect</function>). + </para> + <para> + This type of links is therefore called 'persistent'. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>servername</parameter></term> + <listitem> + <para> + The servername argument has to be a valid servername that is defined + in the 'interfaces' file. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>username</parameter></term> + <listitem> + <para> + Sybase user name + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>password</parameter></term> + <listitem> + <para> + Password associated with <parameter>username</parameter>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>charset</parameter></term> + <listitem> + <para> + Specifies the charset for the connection + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>appname</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns a positive Sybase persistent link identifier on success, or + &false; on error. + </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.0.2</entry> + <entry> + The <parameter>charset</parameter> parameter was added. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>sybase_connect</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +-->
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mssql/functions/mssql-connect.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/mssql/functions/mssql-connect.xml diff -u phpdoc/en/reference/mssql/functions/mssql-connect.xml:1.6 phpdoc/en/reference/mssql/functions/mssql-connect.xml:1.7 --- phpdoc/en/reference/mssql/functions/mssql-connect.xml:1.6 Sun Feb 4 22:46:04 2007 +++ phpdoc/en/reference/mssql/functions/mssql-connect.xml Sun Jun 17 02:08:16 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id="function.mssql-connect"> <refnamediv> <refname>mssql_connect</refname> @@ -80,6 +80,30 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.4.1 and 5.1.0</entry> + <entry> + The <parameter>new_link</parameter> parameter was added + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/calendar/functions/jdtojewish.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc/en/reference/calendar/functions/jdtojewish.xml diff -u phpdoc/en/reference/calendar/functions/jdtojewish.xml:1.14 phpdoc/en/reference/calendar/functions/jdtojewish.xml:1.15 --- phpdoc/en/reference/calendar/functions/jdtojewish.xml:1.14 Sun May 13 03:51:24 2007 +++ phpdoc/en/reference/calendar/functions/jdtojewish.xml Sun Jun 17 02:08:16 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> +<!-- $Revision: 1.15 $ --> <refentry id="function.jdtojewish"> <refnamediv> <refname>jdtojewish</refname> @@ -16,18 +16,6 @@ <para> Converts a Julian Day Count to the Jewish Calendar. </para> - <para> - The optional <parameter>hebrew</parameter> and <parameter>fl</parameter> - parameters became available in PHP 5.0.0 - </para> - <para> - If the <parameter>hebrew</parameter> parameter is set to &true;, the - <parameter>fl</parameter> parameter is used for Hebrew, string based, - output format. The available formats are: - <constant>CAL_JEWISH_ADD_ALAFIM_GERESH</constant>, - <constant>CAL_JEWISH_ADD_ALAFIM</constant>, - <constant>CAL_JEWISH_ADD_GERESHAYIM</constant>. - </para> </refsect1> <refsect1 role="parameters"> @@ -42,6 +30,27 @@ </para> </listitem> </varlistentry> + <varlistentry> + <term><parameter>hebrew</parameter></term> + <listitem> + <para> + If the <parameter>hebrew</parameter> parameter is set to &true;, the + <parameter>fl</parameter> parameter is used for Hebrew, string based, + output format. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>fl</parameter></term> + <listitem> + <para> + The available formats are: + <constant>CAL_JEWISH_ADD_ALAFIM_GERESH</constant>, + <constant>CAL_JEWISH_ADD_ALAFIM</constant>, + <constant>CAL_JEWISH_ADD_GERESHAYIM</constant>. + </para> + </listitem> + </varlistentry> </variablelist> </para> </refsect1> @@ -53,6 +62,31 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.0.0</entry> + <entry> + The <parameter>hebrew</parameter> and <parameter>fl</parameter> + parameters were added + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/domxml/functions/domxml-open-mem.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/domxml/functions/domxml-open-mem.xml diff -u phpdoc/en/reference/domxml/functions/domxml-open-mem.xml:1.11 phpdoc/en/reference/domxml/functions/domxml-open-mem.xml:1.12 --- phpdoc/en/reference/domxml/functions/domxml-open-mem.xml:1.11 Fri Jun 17 23:35:55 2005 +++ phpdoc/en/reference/domxml/functions/domxml-open-mem.xml Sun Jun 17 02:08:16 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <refentry id="function.domxml-open-mem"> <refnamediv> <refname>domxml_open_mem</refname> @@ -68,6 +68,32 @@ contents. </para> </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.3.0</entry> + <entry> + The <parameter>mode</parameter> and <parameter>error</parameter> + parameters were added. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/functions/pg-result-status.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/pgsql/functions/pg-result-status.xml diff -u phpdoc/en/reference/pgsql/functions/pg-result-status.xml:1.9 phpdoc/en/reference/pgsql/functions/pg-result-status.xml:1.10 --- phpdoc/en/reference/pgsql/functions/pg-result-status.xml:1.9 Mon May 2 01:46:15 2005 +++ phpdoc/en/reference/pgsql/functions/pg-result-status.xml Sun Jun 17 02:08:16 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.58 --> <refentry id='function.pg-result-status'> <refnamediv> @@ -61,7 +61,31 @@ specified. Otherwise, a <type>string</type> containing the PostgreSQL command tag is returned. </para> </refsect1> - + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.3.0</entry> + <entry> + The <parameter>type</parameter> parameter was added. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zlib/functions/gzencode.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/zlib/functions/gzencode.xml diff -u phpdoc/en/reference/zlib/functions/gzencode.xml:1.8 phpdoc/en/reference/zlib/functions/gzencode.xml:1.9 --- phpdoc/en/reference/zlib/functions/gzencode.xml:1.8 Sun Jan 28 01:27:31 2007 +++ phpdoc/en/reference/zlib/functions/gzencode.xml Sun Jun 17 02:08:16 2007 @@ -1,10 +1,11 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry id="function.gzencode"> <refnamediv> <refname>gzencode</refname> <refpurpose>Create a gzip compressed string</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -24,6 +25,7 @@ version 4.3</ulink> (RFC 1952). </para> </refsect1> + <refsect1 role="parameters"> &reftitle.parameters; <para> @@ -63,33 +65,14 @@ </variablelist> </para> </refsect1> + <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The encoded string, or &false; if an error occurred. </para> </refsect1> - <refsect1 role="examples"> - &reftitle.examples; - <para> - The resulting data contains the appropriate headers and data - structure to make a standard .gz file, e.g.: - <example> - <title>Creating a gzip file</title> - <programlisting role="php"> -<![CDATA[ -<?php -$data = implode("", file("bigfile.txt")); -$gzdata = gzencode($data, 9); -$fp = fopen("bigfile.txt.gz", "w"); -fwrite($fp, $gzdata); -fclose($fp); -?> -]]> - </programlisting> - </example> - </para> - </refsect1> + <refsect1 role="changelog"> &reftitle.changelog; <para> @@ -103,11 +86,9 @@ </thead> <tbody> <row> - <entry>4.2</entry> + <entry>4.2.0</entry> <entry> - <parameter>level</parameter> was added. <function>gzencode</function> - only had the <parameter>data</parameter> and the optional - <parameter>encoding_mode</parameter> parameters before. + The <parameter>encoding_mode</parameter> parameter was added </entry> </row> </tbody> @@ -115,6 +96,29 @@ </informaltable> </para> </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + The resulting data contains the appropriate headers and data + structure to make a standard .gz file, e.g.: + <example> + <title>Creating a gzip file</title> + <programlisting role="php"> +<![CDATA[ +<?php +$data = implode("", file("bigfile.txt")); +$gzdata = gzencode($data, 9); +$fp = fopen("bigfile.txt.gz", "w"); +fwrite($fp, $gzdata); +fclose($fp); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> @@ -127,6 +131,7 @@ </simplelist> </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/dotnet/functions/dotnet-load.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/dotnet/functions/dotnet-load.xml diff -u phpdoc/en/reference/dotnet/functions/dotnet-load.xml:1.3 phpdoc/en/reference/dotnet/functions/dotnet-load.xml:1.4 --- phpdoc/en/reference/dotnet/functions/dotnet-load.xml:1.3 Sun Jan 7 18:32:21 2007 +++ phpdoc/en/reference/dotnet/functions/dotnet-load.xml Sun Jun 17 02:08:16 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="function.dotnet-load"> <refnamediv> <refname>dotnet_load</refname> @@ -16,6 +16,31 @@ &warn.experimental.func; &warn.undocumented.func; </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.1.0</entry> + <entry> + The <parameter>codepage</parameter> parameter was added + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcre/functions/preg-replace.xml?r1=1.24&r2=1.25&diff_format=u Index: phpdoc/en/reference/pcre/functions/preg-replace.xml diff -u phpdoc/en/reference/pcre/functions/preg-replace.xml:1.24 phpdoc/en/reference/pcre/functions/preg-replace.xml:1.25 --- phpdoc/en/reference/pcre/functions/preg-replace.xml:1.24 Sun Feb 25 16:07:44 2007 +++ phpdoc/en/reference/pcre/functions/preg-replace.xml Sun Jun 17 02:08:16 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.24 $ --> +<!-- $Revision: 1.25 $ --> <refentry id="function.preg-replace"> <refnamediv> <refname>preg_replace</refname> @@ -171,7 +171,7 @@ </entry> </row> <row> - <entry>4.0.1</entry> + <entry>4.0.2</entry> <entry> Added the <parameter>limit</parameter> parameter </entry> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/network/functions/fsockopen.xml?r1=1.21&r2=1.22&diff_format=u Index: phpdoc/en/reference/network/functions/fsockopen.xml diff -u phpdoc/en/reference/network/functions/fsockopen.xml:1.21 phpdoc/en/reference/network/functions/fsockopen.xml:1.22 --- phpdoc/en/reference/network/functions/fsockopen.xml:1.21 Sun Jun 10 01:57:08 2007 +++ phpdoc/en/reference/network/functions/fsockopen.xml Sun Jun 17 02:08:16 2007 @@ -1,261 +1,268 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.21 $ --> -<refentry id="function.fsockopen"> - <refnamediv> - <refname>fsockopen</refname> - <refpurpose>Open Internet or Unix domain socket connection</refpurpose> - </refnamediv> - - <refsect1 role="description"> - &reftitle.description; - <methodsynopsis> - <type>resource</type><methodname>fsockopen</methodname> - <methodparam><type>string</type><parameter>hostname</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>port</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter role="reference">errno</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter role="reference">errstr</parameter></methodparam> - <methodparam choice="opt"><type>float</type><parameter>timeout</parameter></methodparam> - </methodsynopsis> - <para> - Initiates a socket connection to the resource specified by - <parameter>hostname</parameter>. - </para> - <para> - PHP supports targets in the Internet and Unix domains as described in - <xref linkend="transports"/>. A list of supported transports can also be - retrieved using <function>stream_get_transports</function>. - </para> - <para> - The socket will by default be opened in blocking mode. You can - switch it to non-blocking mode by using - <function>stream_set_blocking</function>. - </para> - </refsect1> - - <refsect1 role="parameters"> - &reftitle.parameters; - <para> - <variablelist> - <varlistentry> - <term><parameter>hostname</parameter></term> - <listitem> - <para> - If you have compiled in OpenSSL support, you may prefix the - <parameter>hostname</parameter> with either <literal>ssl://</literal> - or <literal>tls://</literal> to use an SSL or TLS client connection - over TCP/IP to connect to the remote host. - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>port</parameter></term> - <listitem> - <para> - The port number. - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>errno</parameter></term> - <listitem> - <para> - If provided, holds the system level error number that occurred in the - system-level <literal>connect()</literal> call. - </para> - <para> - If the value returned in <parameter>errno</parameter> is - <literal>0</literal> and the function returned &false;, it is an - indication that the error occurred before the - <literal>connect()</literal> call. This is most likely due to a - problem initializing the socket. - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>errstr</parameter></term> - <listitem> - <para> - The error message as a string. - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>timeout</parameter></term> - <listitem> - <para> - The connection timeout, in seconds. - </para> - <note> - <para> - If you need to set a timeout for reading/writing data over the - socket, use <function>stream_set_timeout</function>, as the - <parameter>timeout</parameter> parameter to - <function>fsockopen</function> only applies while connecting the - socket. - </para> - </note> - </listitem> - </varlistentry> - </variablelist> - </para> - </refsect1> - - <refsect1 role="returnvalues"> - &reftitle.returnvalues; - <para> - <function>fsockopen</function> returns a file pointer which may be used - together with the other file functions (such as - <function>fgets</function>, <function>fgetss</function>, - <function>fwrite</function>, <function>fclose</function>, and - <function>feof</function>). If the call fails, it will return &false; - </para> - </refsect1> - - <refsect1 role="changelog"> - &reftitle.changelog; - <para> - <informaltable> - <tgroup cols="2"> - <thead> - <row> - <entry>&Version;</entry> - <entry>&Description;</entry> - </row> - </thead> - <tbody> - <row> - <entry>4.3.0</entry> - <entry> - SSL and TLS over TCP/IP support was added. - </entry> - </row> - <row> - <entry>4.0.0</entry> - <entry> - UDP support was added. - </entry> - </row> - <row> - <entry>3.0.9</entry> - <entry> - The <parameter>timeout</parameter> parameter was added. - </entry> - </row> - </tbody> - </tgroup> - </informaltable> - </para> - </refsect1> - - <refsect1 role="examples"> - &reftitle.examples; - <para> - <example> - <title><function>fsockopen</function> Example</title> - <programlisting role="php"> -<![CDATA[ -<?php -$fp = fsockopen("www.example.com", 80, $errno, $errstr, 30); -if (!$fp) { - echo "$errstr ($errno)<br />\n"; -} else { - $out = "GET / HTTP/1.1\r\n"; - $out .= "Host: www.example.com\r\n"; - $out .= "Connection: Close\r\n\r\n"; - - fwrite($fp, $out); - while (!feof($fp)) { - echo fgets($fp, 128); - } - fclose($fp); -} -?> -]]> - </programlisting> - </example> - </para> - <para> - <example> - <title>Using UDP connection</title> - <para> - The example below shows how to retrieve the day and time from the UDP - service "daytime" (port 13) in your own machine. - </para> - <programlisting role="php"> -<![CDATA[ -<?php -$fp = fsockopen("udp://127.0.0.1", 13, $errno, $errstr); -if (!$fp) { - echo "ERROR: $errno - $errstr<br />\n"; -} else { - fwrite($fp, "\n"); - echo fread($fp, 26); - fclose($fp); -} -?> -]]> - </programlisting> - </example> - </para> - </refsect1> - - <refsect1 role="notes"> - &reftitle.notes; - <note> - <para> - Depending on the environment, the Unix domain or the optional - connect timeout may not be available. - </para> - </note> - <warning> - <para> - UDP sockets will sometimes appear to have opened without an error, - even if the remote host is unreachable. The error will only - become apparent when you read or write data to/from the socket. - The reason for this is because UDP is a "connectionless" protocol, - which means that the operating system does not try to establish - a link for the socket until it actually needs to send or receive data. - </para> - </warning> - &ipv6.brackets; - </refsect1> - - <refsect1 role="seealso"> - &reftitle.seealso; - <para> - <simplelist> - <member><function>pfsockopen</function></member> - <member><function>stream_set_blocking</function></member> - <member><function>stream_set_timeout</function></member> - <member><function>fgets</function></member> - <member><function>fgetss</function></member> - <member><function>fwrite</function></member> - <member><function>fclose</function></member> - <member><function>feof</function></member> - <member>The <link linkend="ref.curl">Curl extension</link></member> - </simplelist> - </para> - </refsect1> - -</refentry> - -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.22 $ --> +<refentry id="function.fsockopen"> + <refnamediv> + <refname>fsockopen</refname> + <refpurpose>Open Internet or Unix domain socket connection</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>resource</type><methodname>fsockopen</methodname> + <methodparam><type>string</type><parameter>hostname</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>port</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter role="reference">errno</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter role="reference">errstr</parameter></methodparam> + <methodparam choice="opt"><type>float</type><parameter>timeout</parameter></methodparam> + </methodsynopsis> + <para> + Initiates a socket connection to the resource specified by + <parameter>hostname</parameter>. + </para> + <para> + PHP supports targets in the Internet and Unix domains as described in + <xref linkend="transports"/>. A list of supported transports can also be + retrieved using <function>stream_get_transports</function>. + </para> + <para> + The socket will by default be opened in blocking mode. You can + switch it to non-blocking mode by using + <function>stream_set_blocking</function>. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>hostname</parameter></term> + <listitem> + <para> + If you have compiled in OpenSSL support, you may prefix the + <parameter>hostname</parameter> with either <literal>ssl://</literal> + or <literal>tls://</literal> to use an SSL or TLS client connection + over TCP/IP to connect to the remote host. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>port</parameter></term> + <listitem> + <para> + The port number. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>errno</parameter></term> + <listitem> + <para> + If provided, holds the system level error number that occurred in the + system-level <literal>connect()</literal> call. + </para> + <para> + If the value returned in <parameter>errno</parameter> is + <literal>0</literal> and the function returned &false;, it is an + indication that the error occurred before the + <literal>connect()</literal> call. This is most likely due to a + problem initializing the socket. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>errstr</parameter></term> + <listitem> + <para> + The error message as a string. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>timeout</parameter></term> + <listitem> + <para> + The connection timeout, in seconds. + </para> + <note> + <para> + If you need to set a timeout for reading/writing data over the + socket, use <function>stream_set_timeout</function>, as the + <parameter>timeout</parameter> parameter to + <function>fsockopen</function> only applies while connecting the + socket. + </para> + </note> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + <function>fsockopen</function> returns a file pointer which may be used + together with the other file functions (such as + <function>fgets</function>, <function>fgetss</function>, + <function>fwrite</function>, <function>fclose</function>, and + <function>feof</function>). If the call fails, it will return &false; + </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.3.0</entry> + <entry> + Added support for the <parameter>timeout</parameter> parameter on + win32. + </entry> + </row> + <row> + <entry>4.3.0</entry> + <entry> + SSL and TLS over TCP/IP support was added. + </entry> + </row> + <row> + <entry>4.0.0</entry> + <entry> + UDP support was added. + </entry> + </row> + <row> + <entry>3.0.9</entry> + <entry> + The <parameter>timeout</parameter> parameter was added. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>fsockopen</function> Example</title> + <programlisting role="php"> +<![CDATA[ +<?php +$fp = fsockopen("www.example.com", 80, $errno, $errstr, 30); +if (!$fp) { + echo "$errstr ($errno)<br />\n"; +} else { + $out = "GET / HTTP/1.1\r\n"; + $out .= "Host: www.example.com\r\n"; + $out .= "Connection: Close\r\n\r\n"; + + fwrite($fp, $out); + while (!feof($fp)) { + echo fgets($fp, 128); + } + fclose($fp); +} +?> +]]> + </programlisting> + </example> + </para> + <para> + <example> + <title>Using UDP connection</title> + <para> + The example below shows how to retrieve the day and time from the UDP + service "daytime" (port 13) in your own machine. + </para> + <programlisting role="php"> +<![CDATA[ +<?php +$fp = fsockopen("udp://127.0.0.1", 13, $errno, $errstr); +if (!$fp) { + echo "ERROR: $errno - $errstr<br />\n"; +} else { + fwrite($fp, "\n"); + echo fread($fp, 26); + fclose($fp); +} +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; + <note> + <para> + Depending on the environment, the Unix domain or the optional + connect timeout may not be available. + </para> + </note> + <warning> + <para> + UDP sockets will sometimes appear to have opened without an error, + even if the remote host is unreachable. The error will only + become apparent when you read or write data to/from the socket. + The reason for this is because UDP is a "connectionless" protocol, + which means that the operating system does not try to establish + a link for the socket until it actually needs to send or receive data. + </para> + </warning> + &ipv6.brackets; + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>pfsockopen</function></member> + <member><function>stream_set_blocking</function></member> + <member><function>stream_set_timeout</function></member> + <member><function>fgets</function></member> + <member><function>fgetss</function></member> + <member><function>fwrite</function></member> + <member><function>fclose</function></member> + <member><function>feof</function></member> + <member>The <link linkend="ref.curl">Curl extension</link></member> + </simplelist> + </para> + </refsect1> + +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/network/functions/header.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/en/reference/network/functions/header.xml diff -u phpdoc/en/reference/network/functions/header.xml:1.4 phpdoc/en/reference/network/functions/header.xml:1.5 --- phpdoc/en/reference/network/functions/header.xml:1.4 Sun Jun 10 02:06:13 2007 +++ phpdoc/en/reference/network/functions/header.xml Sun Jun 17 02:08:16 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="function.header"> <refnamediv> <refname>header</refname> @@ -162,6 +162,12 @@ The <parameter>http_response_code</parameter> parameter was added. </entry> </row> + <row> + <entry>4.0.4</entry> + <entry> + The <parameter>replace</parameter> parameter was added. + </entry> + </row> </tbody> </tgroup> </informaltable> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sybase/functions/sybase-connect.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/sybase/functions/sybase-connect.xml diff -u phpdoc/en/reference/sybase/functions/sybase-connect.xml:1.8 phpdoc/en/reference/sybase/functions/sybase-connect.xml:1.9 --- phpdoc/en/reference/sybase/functions/sybase-connect.xml:1.8 Fri Jun 15 00:11:12 2007 +++ phpdoc/en/reference/sybase/functions/sybase-connect.xml Sun Jun 17 02:08:16 2007 @@ -1,141 +1,166 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<refentry id="function.sybase-connect"> - <refnamediv> - <refname>sybase_connect</refname> - <refpurpose>Opens a Sybase server connection</refpurpose> - </refnamediv> - - <refsect1 role="description"> - &reftitle.description; - <methodsynopsis> - <type>resource</type><methodname>sybase_connect</methodname> - <methodparam choice="opt"><type>string</type><parameter>servername</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>username</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>charset</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>appname</parameter></methodparam> - </methodsynopsis> - <para> - <function>sybase_connect</function> establishes a connection to a - Sybase server. - </para> - <para> - In case a second call is made to - <function>sybase_connect</function> with the same arguments, no - new link will be established, but instead, the link identifier of - the already opened link will be returned. - </para> - <para> - The link to the server will be closed as soon as the - execution of the script ends, unless it's closed earlier by - explicitly calling <function>sybase_close</function>. - </para> - </refsect1> - - <refsect1 role="parameters"> - &reftitle.parameters; - <para> - <variablelist> - <varlistentry> - <term><parameter>servername</parameter></term> - <listitem> - <para> - The servername argument has to be a valid servername that is defined - in the 'interfaces' file. - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>username</parameter></term> - <listitem> - <para> - Sybase user name - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>password</parameter></term> - <listitem> - <para> - Password associated with <parameter>username</parameter>. - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>charset</parameter></term> - <listitem> - <para> - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>appname</parameter></term> - <listitem> - <para> - </para> - </listitem> - </varlistentry> - </variablelist> - </para> - </refsect1> - - <refsect1 role="returnvalues"> - &reftitle.returnvalues; - <para> - Returns a positive Sybase link identifier on success, or &false; on - failure. - </para> - </refsect1> - - <refsect1 role="examples"> - &reftitle.examples; - <para> - <example> - <title><function>sybase_connect</function> example</title> - <programlisting role="php"> -<![CDATA[ -<?php -$link = sybase_connect('SYBASE', '', '') - or die("Could not connect !"); -echo "Connected successfully"; -sybase_close($link); -?> -]]> - </programlisting> - </example> - </para> - </refsect1> - - <refsect1 role="seealso"> - &reftitle.seealso; - <para> - <simplelist> - <member><function>sybase_pconnect</function></member> - <member><function>sybase_close</function></member> - </simplelist> - </para> - </refsect1> - -</refentry> - -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.9 $ --> +<refentry id="function.sybase-connect"> + <refnamediv> + <refname>sybase_connect</refname> + <refpurpose>Opens a Sybase server connection</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>resource</type><methodname>sybase_connect</methodname> + <methodparam choice="opt"><type>string</type><parameter>servername</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>username</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>charset</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>appname</parameter></methodparam> + </methodsynopsis> + <para> + <function>sybase_connect</function> establishes a connection to a + Sybase server. + </para> + <para> + In case a second call is made to + <function>sybase_connect</function> with the same arguments, no + new link will be established, but instead, the link identifier of + the already opened link will be returned. + </para> + <para> + The link to the server will be closed as soon as the + execution of the script ends, unless it's closed earlier by + explicitly calling <function>sybase_close</function>. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>servername</parameter></term> + <listitem> + <para> + The servername argument has to be a valid servername that is defined + in the 'interfaces' file. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>username</parameter></term> + <listitem> + <para> + Sybase user name + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>password</parameter></term> + <listitem> + <para> + Password associated with <parameter>username</parameter>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>charset</parameter></term> + <listitem> + <para> + Specifies the charset for the connection + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>appname</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns a positive Sybase link identifier on success, or &false; on + failure. + </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.0.2</entry> + <entry> + The <parameter>charset</parameter> parameter was added. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>sybase_connect</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php +$link = sybase_connect('SYBASE', '', '') + or die("Could not connect !"); +echo "Connected successfully"; +sybase_close($link); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>sybase_pconnect</function></member> + <member><function>sybase_close</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sybase/functions/sybase-pconnect.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/sybase/functions/sybase-pconnect.xml diff -u phpdoc/en/reference/sybase/functions/sybase-pconnect.xml:1.7 phpdoc/en/reference/sybase/functions/sybase-pconnect.xml:1.8 --- phpdoc/en/reference/sybase/functions/sybase-pconnect.xml:1.7 Fri Jun 15 00:11:12 2007 +++ phpdoc/en/reference/sybase/functions/sybase-pconnect.xml Sun Jun 17 02:08:16 2007 @@ -1,125 +1,150 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<refentry id="function.sybase-pconnect"> - <refnamediv> - <refname>sybase_pconnect</refname> - <refpurpose>Open persistent Sybase connection</refpurpose> - </refnamediv> - - <refsect1 role="description"> - &reftitle.description; - <methodsynopsis> - <type>resource</type><methodname>sybase_pconnect</methodname> - <methodparam choice="opt"><type>string</type><parameter>servername</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>username</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>charset</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>appname</parameter></methodparam> - </methodsynopsis> - <para> - <function>sybase_pconnect</function> acts very much like - <function>sybase_connect</function> with two major differences. - </para> - <para> - First, when connecting, the function would first try to find a - (persistent) link that's already open with the same host, - username and password. If one is found, an identifier for it - will be returned instead of opening a new connection. - </para> - <para> - Second, the connection to the SQL server will not be closed when - the execution of the script ends. Instead, the link will remain - open for future use (<function>sybase_close</function> will not - close links established by <function>sybase_pconnect</function>). - </para> - <para> - This type of links is therefore called 'persistent'. - </para> - </refsect1> - - <refsect1 role="parameters"> - &reftitle.parameters; - <para> - <variablelist> - <varlistentry> - <term><parameter>servername</parameter></term> - <listitem> - <para> - The servername argument has to be a valid servername that is defined - in the 'interfaces' file. - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>username</parameter></term> - <listitem> - <para> - Sybase user name - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>password</parameter></term> - <listitem> - <para> - Password associated with <parameter>username</parameter>. - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>charset</parameter></term> - <listitem> - <para> - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>appname</parameter></term> - <listitem> - <para> - </para> - </listitem> - </varlistentry> - </variablelist> - </para> - </refsect1> - - <refsect1 role="returnvalues"> - &reftitle.returnvalues; - <para> - Returns a positive Sybase persistent link identifier on success, or - &false; on error. - </para> - </refsect1> - - <refsect1 role="seealso"> - &reftitle.seealso; - <para> - <simplelist> - <member><function>sybase_connect</function></member> - </simplelist> - </para> - </refsect1> - -</refentry> - -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.8 $ --> +<refentry id="function.sybase-pconnect"> + <refnamediv> + <refname>sybase_pconnect</refname> + <refpurpose>Open persistent Sybase connection</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>resource</type><methodname>sybase_pconnect</methodname> + <methodparam choice="opt"><type>string</type><parameter>servername</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>username</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>charset</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>appname</parameter></methodparam> + </methodsynopsis> + <para> + <function>sybase_pconnect</function> acts very much like + <function>sybase_connect</function> with two major differences. + </para> + <para> + First, when connecting, the function would first try to find a + (persistent) link that's already open with the same host, + username and password. If one is found, an identifier for it + will be returned instead of opening a new connection. + </para> + <para> + Second, the connection to the SQL server will not be closed when + the execution of the script ends. Instead, the link will remain + open for future use (<function>sybase_close</function> will not + close links established by <function>sybase_pconnect</function>). + </para> + <para> + This type of links is therefore called 'persistent'. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>servername</parameter></term> + <listitem> + <para> + The servername argument has to be a valid servername that is defined + in the 'interfaces' file. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>username</parameter></term> + <listitem> + <para> + Sybase user name + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>password</parameter></term> + <listitem> + <para> + Password associated with <parameter>username</parameter>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>charset</parameter></term> + <listitem> + <para> + Specifies the charset for the connection + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>appname</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns a positive Sybase persistent link identifier on success, or + &false; on error. + </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.0.2</entry> + <entry> + The <parameter>charset</parameter> parameter was added. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>sybase_connect</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +-->