cvs: phpdoc /nl/chapters config.xml install.xml intro.xml /nl/features remote-files.xml /nl/functions array.xml mcrypt.xml mhash.xml pdf.xml
sybase.xml zlib.xml
| From: | Derick Rethans | Date: | Wed, 18 Oct 2000 22:13:08 +0000 |
| Subject: | cvs: phpdoc /nl/chapters config.xml install.xml intro.xml /nl/features remote-files.xml /nl/functions array.xml mcrypt.xml mhash.xml pdf.xml sybase.xml zlib.xml |
||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969332542@lists.php.net to get a copy of this message | ||
derick Wed Oct 18 15:13:08 2000 EDT
Modified files:
/phpdoc/nl/chapters config.xml install.xml intro.xml
/phpdoc/nl/features remote-files.xml
/phpdoc/nl/functions array.xml mcrypt.xml mhash.xml pdf.xml
sybase.xml zlib.xml
Log:
- Updated from English tree
Index: phpdoc/nl/chapters/config.xml
diff -u phpdoc/nl/chapters/config.xml:1.1 phpdoc/nl/chapters/config.xml:1.2
--- phpdoc/nl/chapters/config.xml:1.1 Tue Oct 10 15:07:53 2000
+++ phpdoc/nl/chapters/config.xml Wed Oct 18 15:13:07 2000
@@ -85,6 +85,30 @@
<para>
<variablelist>
+ <varlistentry id="ini.allow-url-fopen">
+ <term>
+ <parameter>allow_url_fopen</parameter>
+ <type>boolean</type>
+ </term>
+ <listitem>
+ <para>
+ This option enables the URL-aware fopen wrappers that enable accessing URL object
+ like files. Default wrappers are provided for the access of
+ <link linkend="features.remote-files">remote files</link>
+ using the ftp or http protocol, some extensions like zlib may register additional wrappers.
+ </para>
+
+ <note>
+ <para>
+ This option was introduced immediately after the release of version 4.0.3. For versions up to
+ and including 4.0.3 you can only disable this feature at compile time by using the
configuration switch
+ <link
linkend="install.configure.disable-url-fopen-wrapper"><parameter>--disable-url-fopen-wrapper</parameter></link>.
+ </para>
+ </note>
+
+ </listitem>
+ </varlistentry>
+
<varlistentry id="ini.asp-tags">
<term>
<parameter>asp_tags</parameter>
Index: phpdoc/nl/chapters/install.xml
diff -u phpdoc/nl/chapters/install.xml:1.2 phpdoc/nl/chapters/install.xml:1.3
--- phpdoc/nl/chapters/install.xml:1.2 Wed Oct 11 09:55:45 2000
+++ phpdoc/nl/chapters/install.xml Wed Oct 18 15:13:07 2000
@@ -272,7 +272,7 @@
</para>
</sect2>
- <sect2>
+ <sect2 id="install.building">
<title>Building</title>
<simpara>
When PHP is configured, you are ready to build the CGI executable
@@ -282,7 +282,7 @@
</simpara>
</sect2>
- <sect2>
+ <sect2 id="install.testing">
<title>Testing</title>
<simpara>
If you have built PHP as a CGI program, you may test your build
@@ -292,7 +292,7 @@
</simpara>
</sect2>
- <sect2>
+ <sect2 id="install.benchmarking">
<title>Benchmarking</title>
<simpara>
If you have built PHP as a CGI program, you may benchmark your
@@ -2121,6 +2121,14 @@
PHP 3, PHP 4: Disable the URL-aware fopen wrapper that allows accessing
files via http or ftp.
</para>
+ <warning>
+ <para>
+ This switch is only available for PHP versions up to 4.0.3, newer
+ versions provide an INI parameter called
+ <parameter>allow_url_fopen</parameter> instead of forcing you to
+ decide upon this feature at compile time.
+ </para>
+ </warning>
</listitem>
</varlistentry>
@@ -2657,7 +2665,7 @@
</itemizedlist>
</para>
- <sect2>
+ <sect2 id="install.windows.general">
<title>General Installation Steps</title>
<para>
@@ -2736,7 +2744,7 @@
</sect2>
- <sect2>
+ <sect2 id="install.windows.iis3">
<title>Windows 95/98/NT and PWS/IIS 3</title>
<simpara>
@@ -2885,7 +2893,7 @@
</sect2>
- <sect2>
+ <sect2 id="install.windowsnt.iis4">
<title>Windows NT and IIS 4</title>
<simpara>
@@ -2944,7 +2952,7 @@
</sect2>
- <sect2>
+ <sect2 id="install.windows.apache">
<title>Windows 9x/NT and Apache 1.3.x</title>
<simpara>
@@ -3005,7 +3013,7 @@
</sect2>
- <sect2>
+ <sect2 id="install.windows.omnihttpd">
<title>Omni HTTPd 2.0b1 for Windows</title>
<simpara>
@@ -3057,7 +3065,7 @@
</sect2>
- <sect2>
+ <sect2 id="install.windows.modules">
<title>PHP Modules</title>
<para>
@@ -3154,7 +3162,7 @@
</simpara>
</sect2>
- <sect2>
+ <sect2 id="install.bugreports">
<title>Bug reports</title>
<simpara>
If you think you have found a bug in PHP, please report it. The
@@ -3165,7 +3173,7 @@
</simpara>
</sect2>
- <sect2>
+ <sect2 id="install.otherproblems">
<title>Other problems</title>
<simpara>
Index: phpdoc/nl/chapters/intro.xml
diff -u phpdoc/nl/chapters/intro.xml:1.2 phpdoc/nl/chapters/intro.xml:1.3
--- phpdoc/nl/chapters/intro.xml:1.2 Wed Oct 11 14:33:59 2000
+++ phpdoc/nl/chapters/intro.xml Wed Oct 18 15:13:07 2000
@@ -136,16 +136,17 @@
werd totaal herschreven.
</simpara>
<simpara>
- Heden ten dagen (eind 2000) worden zowel PHP/FI, PHP 3 en PHP4
+ Heden ten dagen (eind 2000) worden zowel PHP 3 en PHP 4
gedistribueerd bij een groot aantal commerciële producten
zoals C2's StrongHold web server en RedHat Linux. A pessimistisch
aantal, gebaseerd op een extrapolatie van het aantal gepubliceerd
door <ulink url="&url.netcraft;">NetCraft</ulink>
(zie ook <ulink url="&url.netcraft-survey;">Netcraft Web Server
- Survey</ulink>) geeft aan dat PHP in gebruik is bij meer dan 1000000
+ Survey</ulink>) geeft aan dat PHP in gebruik is bij meer dan 3.300.000
sites over de hele wereld. In vergelijking, dit is op meer plaatsen
dan sites die Netscape's vlaggeschip Enterprise Server gebruiken op
- het Internet.
+ het Internet, en komt aardig dicht bij het aantal IIS server op het
+ Internet (3.8 miljoen).
</simpara>
<!--
<figure>
Index: phpdoc/nl/features/remote-files.xml
diff -u phpdoc/nl/features/remote-files.xml:1.3 phpdoc/nl/features/remote-files.xml:1.4
--- phpdoc/nl/features/remote-files.xml:1.3 Wed Oct 11 15:12:37 2000
+++ phpdoc/nl/features/remote-files.xml Wed Oct 18 15:13:07 2000
@@ -4,10 +4,12 @@
<para>
Zo lang de ondersteuning voor "URL fopen wrapper" actief is
wanneer je PHP configureert (is standaard actief tenzij je expliciet de
- <option>--disable-url-fopen-wrapper</option> optie gebruikt) kan je
- HTTP en FTP urls gebruiken met de meeste functies die standaard gezien
- een bestandsnaam als argument vereisen, dit werkt ook met de
- <function>require</function> en <function>include</function> functies.
+ <option>--disable-url-fopen-wrapper</option> optie gebruikt (voor versies
+ tot en met 4.0.3) of <parameter>allow_url_fopen</parameter> zet to
+ "off"l (voor nieuwere versies) kun je HTTP en FTP urls gebruiken
+ met de meeste functies die standaard gezien een bestandsnaam als argument
+ vereisen, dit werkt ook met de <function>require</function> en
+ <function>include</function> functies.
</para>
<para>
<note>
@@ -49,7 +51,7 @@
</example>
</para>
<para>
- Je kan ook naar bestanden schrijven op een FTP server als je teminste
+ Je kunt ook naar bestanden schrijven op een FTP server als je teminste
de juiste rechten hebt voor deze operatie en zolang het bestand nog
niet bestaat op de FTP server. Om in te loggen als een user anders dan
'anonymous' moet je je gebruikersnaam en mogelijk je paswoord opgeven in de URL,
Index: phpdoc/nl/functions/array.xml
diff -u phpdoc/nl/functions/array.xml:1.2 phpdoc/nl/functions/array.xml:1.3
--- phpdoc/nl/functions/array.xml:1.2 Wed Oct 11 09:53:48 2000
+++ phpdoc/nl/functions/array.xml Wed Oct 18 15:13:07 2000
@@ -1296,6 +1296,9 @@
It returns the output array with all the variables added to it.
</para>
<para>
+ Any strings that are not set will simply be skipped.
+ </para>
+ <para>
<example>
<title><function>Compact</function> example</title>
<programlisting role="php">
@@ -1305,7 +1308,7 @@
$location_vars = array ("city", "state");
-$result = compact ("event", $location_vars);
+$result = compact ("event", "nothing_here", $location_vars);
</programlisting>
<para>
After this, <varname>$result</varname> will be <literal>array
("event"
@@ -1352,6 +1355,27 @@
</warning>
</para>
<para>
+ <example>
+ <title><function>Count</function> example</title>
+ <programlisting role="php">
+$a[0] = 1;
+$a[1] = 3;
+$a[2] = 5;
+$result = count ($a);
+//$result == 3, not 2, as there are 3 assigned elements
+
+$a[2] = 1;
+$a[4] = "";
+$a[6] = 5;
+$a[8] = 7;
+$a[10] = 11;
+$a[12] = "";
+$result = count ($a);
+// $result == 4, as there are 4 assigned elements
+ </programlisting>
+ </example>
+ </para>
+ <para>
See also: <function>sizeof</function>,
<function>isset</function>, and
<function>is_array</function>.
@@ -1651,6 +1675,13 @@
<varname>$wddx_size</varname>, and
<varname>$wddx_shape</varname>.
</para>
+ <para>
+ You must use an associative array, a numerically indexed array
+ will not produce results.
+ </para>
+ <para>
+ See also: <function>compact</function>.
+ </para>
</refsect1>
</refentry>
@@ -1678,8 +1709,9 @@
<title><function>In_array</function> example</title>
<programlisting role="php">
$os = array ("Mac", "NT", "Irix", "Linux");
-if (in_array ("Irix", $os))
+if (in_array ("Irix", $os)){
print "Got Irix";
+ }
</programlisting>
</example>
</para>
@@ -1820,6 +1852,11 @@
<function>sort</function>, <function>natsort</function>, and
<function>rsort</function>.
</simpara>
+ <note>
+ <para>
+ The second parameter was added in PHP 4.
+ </para>
+ </note>
</refsect1>
</refentry>
@@ -2227,12 +2264,13 @@
</funcsynopsis>
<para>
This function shuffles (randomizes the order of the elements in)
- an array.
+ an array. You must use <function>srand</function> to seed this
+ function.
<example>
<title><function>Shuffle</function> example</title>
<programlisting role="php">
$numbers = range (1,20);
-srand (time());
+srand ((double)microtime()*1000000);
shuffle ($numbers);
while (list (, $number) = each ($numbers)) {
echo "$number ";
@@ -2341,9 +2379,14 @@
See also: <function>arsort</function>,
<function>asort</function>, <function>ksort</function>,
<function>natsort</function>, <function>natcasesort</function>,
- <function>rsort</function>, <function>usort</function>
- and <function>uksort</function>.
+ <function>rsort</function>, <function>usort</function>,
+ <function>array_multisort</function>, and <function>uksort</function>.
</para>
+ <note>
+ <para>
+ The second parameter was added in PHP 4.
+ </para>
+ </note>
</refsect1>
</refentry>
Index: phpdoc/nl/functions/mcrypt.xml
diff -u phpdoc/nl/functions/mcrypt.xml:1.1 phpdoc/nl/functions/mcrypt.xml:1.2
--- phpdoc/nl/functions/mcrypt.xml:1.1 Tue Oct 10 15:07:53 2000
+++ phpdoc/nl/functions/mcrypt.xml Wed Oct 18 15:13:07 2000
@@ -37,13 +37,13 @@
and <function>mcrypt_ofb</function>) can operate in both modes
which are named MCRYPT_ENCRYPT and MCRYPT_DECRYPT, respectively.
<example>
- <title>Encrypt an input value with TripleDES in ECB mode</title>
+ <title>Encrypt an input value with TripleDES under 2.2.x in ECB mode</title>
<programlisting role="php">
<?php
$key = "this is a very secret key";
$input = "Let us meet at 9 o'clock at the secret place.";
-$encrypted_data = mcrypt_ecb (MCRYPT_TripleDES, $key, $input, MCRYPT_ENCRYPT);
+$encrypted_data = mcrypt_ecb (MCRYPT_3DES, $key, $input, MCRYPT_ENCRYPT);
?>
</programlisting>
</example>
@@ -54,7 +54,7 @@
If you linked against libmcrypt 2.4.x, these functions are still
available, but it is recommended that you use the advanced functions.
<example>
- <title>Encrypt an input value with TripleDES in ECB mode</title>
+ <title>Encrypt an input value with TripleDES under 2.4.x in ECB mode</title>
<programlisting role="php">
<?php
$key = "this is a very secret key";
@@ -144,6 +144,11 @@
<itemizedlist>
<listitem>
<simpara>
+ MCRYPT_3DES
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
MCRYPT_ARCFOUR_IV (libmcrypt 2.4.x only)
</simpara>
</listitem>
@@ -309,7 +314,7 @@
</listitem>
<listitem>
<simpara>
- MCRYPT_TRIPLEDES
+ MCRYPT_TRIPLEDES (libmcrypt 2.4.x only)
</simpara>
</listitem>
<listitem>
@@ -961,7 +966,9 @@
<para>
<parameter>Key</parameter> is the key with which the data
will be encrypted. If it's smaller that the required keysize, it
- is padded with '\0'.
+ is padded with '\0'. It is better not to use ASCII strings for
+ keys. It is recommended to use the mhash functions to create a key
+ from a string.
</para>
<para>
<parameter>Data</parameter> is the data that will be encrypted
Index: phpdoc/nl/functions/mhash.xml
diff -u phpdoc/nl/functions/mhash.xml:1.1 phpdoc/nl/functions/mhash.xml:1.2
--- phpdoc/nl/functions/mhash.xml:1.1 Tue Oct 10 15:07:53 2000
+++ phpdoc/nl/functions/mhash.xml Wed Oct 18 15:13:08 2000
@@ -19,29 +19,31 @@
this extension.
</para>
<para>
- Mhash can be used to create checksums, message digests, and
- more.
+ Mhash can be used to create checksums, message digests, message
+ authentication codes, and more.
</para>
<para>
<example>
- <title>Compute the SHA1 key and print it out as hex</title>
+ <title>Compute the MD5 digest and hmac and print it out as hex</title>
<programlisting role="php">
<?php
-$input = "Let us meet at 9 o' clock at the secret place.";
-$hash = mhash (MHASH_SHA1, $input);
-
-print "The hash is ".bin2hex ($hash)."\n";
+$input = "what do ya want for nothing?";
+$hash = mhash (MHASH_MD5, $input);
+print "The hash is ".bin2hex ($hash)."\n<br>";
+$hash = mhash (MHASH_MD5, $input, "Jefe");
+print "The hmac is ".bin2hex ($hash)."\n<br>";
?>
</programlisting>
</example>
This will produce:
<programlisting>
-The hash is d3b85d710d8f6e4e5efd4d5e67d041f9cecedafe
+The hash is d03cb659cbf9192dcd066272249f8412
+The hmac is 750c783e6ab0b503eaa86e310a5db738
</programlisting>
For a complete list of supported hashes, refer to the
documentation of mhash. The general rule is that you can access
the hash algorithm from PHP with MHASH_HASHNAME. For example, to
- access HAVAL you use the PHP constant MHASH_HAVAL.
+ access TIGER you use the PHP constant MHASH_TIGER.
</para>
<para>
Here is a list of hashes which are currently supported by mhash. If a
@@ -60,27 +62,27 @@
</listitem>
<listitem>
<simpara>
- MHASH_HAVAL
+ MHASH_HAVAL256
</simpara>
</listitem>
<listitem>
<simpara>
- MHASH_RIPEMD160
+ MHASH_HAVAL192
</simpara>
</listitem>
<listitem>
<simpara>
- MHASH_RIPEMD128
+ MHASH_HAVAL160
</simpara>
</listitem>
<listitem>
<simpara>
- MHASH_SNEFRU
+ MHASH_HAVAL128
</simpara>
</listitem>
<listitem>
<simpara>
- MHASH_TIGER
+ MHASH_RIPEMD160
</simpara>
</listitem>
<listitem>
@@ -90,6 +92,11 @@
</listitem>
<listitem>
<simpara>
+ MHASH_TIGER
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
MHASH_CRC32
</simpara>
</listitem>
@@ -217,12 +224,17 @@
<funcdef>string <function>mhash</function></funcdef>
<paramdef>int <parameter>hash</parameter></paramdef>
<paramdef>string <parameter>data</parameter></paramdef>
+ <paramdef>string <parameter>[ key ]</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
<function>Mhash</function> applies a hash function specified by
<parameter>hash</parameter> to the <parameter>data</parameter> and
- returns the resulting hash (also called digest).
+ returns the resulting hash (also called digest). If the <parameter>
key</parameter>
+ is specified it will return the resulting HMAC. HMAC is keyed hashing
+ for message authentication, or simply a message digest that depends on
+ the specified key. Not all algorithms supported in mhash can be used in
+ HMAC mode and will return an error.
</para>
</refsect1>
</refentry>
Index: phpdoc/nl/functions/pdf.xml
diff -u phpdoc/nl/functions/pdf.xml:1.2 phpdoc/nl/functions/pdf.xml:1.3
--- phpdoc/nl/functions/pdf.xml:1.2 Sat Oct 14 06:26:34 2000
+++ phpdoc/nl/functions/pdf.xml Wed Oct 18 15:13:08 2000
@@ -240,8 +240,8 @@
is probably to create a very simple pdf document at all. The following
example should help to get started.
It creates the file <filename>test.pdf</filename>
- with one page. The page contains the text "Times-Roman" in an
- outlined 30pt font. The text is also underlined.
+ with one page. The page contains the text "Times Roman outlined" in an
+ outlined, 30pt font. The text is also underlined.
</simpara>
<para>
<example>
@@ -603,6 +603,7 @@
<paramdef>double <parameter>width</parameter></paramdef>
<paramdef>double <parameter>height</parameter></paramdef>
<paramdef>string <parameter>mode</parameter></paramdef>
+ <paramdef>string
<parameter><optional>feature</optional></parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
@@ -616,6 +617,9 @@
<parameter>mode</parameter> can be "left", "right" or
"center".
If <parameter>width</parameter> or <parameter>height</parameter> is
unequal zero it can also be "justify" and "fulljustify".
+ </para>
+ <para>If the parameter <parameter>feature</parameter> is set to
"blind",
+ the text is not shown.
</para>
<para>Returns the number of characters that could not be processed because
they did not fit into the box.
Index: phpdoc/nl/functions/sybase.xml
diff -u phpdoc/nl/functions/sybase.xml:1.1 phpdoc/nl/functions/sybase.xml:1.2
--- phpdoc/nl/functions/sybase.xml:1.1 Tue Oct 10 15:07:53 2000
+++ phpdoc/nl/functions/sybase.xml Wed Oct 18 15:13:08 2000
@@ -17,22 +17,25 @@
</funcprototype>
</funcsynopsis>
<para>
- Returns: The number of affected rows by the last query.</para>
+ Returns: The number of affected rows by the last query.
+ </para>
<para>
<function>sybase_affected_rows</function> returns the number of
rows affected by the last INSERT, UPDATE or DELETE query on the
server associated with the specified link identifier. If the
- link identifier isn't specified, the last opened link is assumed.</para>
+ link identifier isn't specified, the last opened link is assumed.
+ </para>
<para>
This command is not effective for SELECT statements, only on
statements which modify records. To retrieve the number of rows
returned from a SELECT, use <function>sybase_num_rows</function>.
- <note>
- <para>
- This function is only available using the CT library interface
- to Sybase, and not the DB library.
- </para>
- </note></para>
+ <note>
+ <para>
+ This function is only available using the CT library interface
+ to Sybase, and not the DB library.
+ </para>
+ </note>
+ </para>
</refsect1>
</refentry>
@@ -45,11 +48,12 @@
<title>Description</title>
<funcsynopsis>
<funcprototype>
- <funcdef>int <function>sybase_close</function></funcdef>
+ <funcdef>bool <function>sybase_close</function></funcdef>
<paramdef>int <parameter>link_identifier</parameter></paramdef>
</funcprototype>
</funcsynopsis>
- <para>Returns: true on success, false on error
+ <para>
+ Returns: true on success, false on error
</para>
<para> sybase_close() closes the link to a Sybase database that's
associated with the specified link identifier. If the link
@@ -114,7 +118,7 @@
<title>Description</title>
<funcsynopsis>
<funcprototype>
- <funcdef>int <function>sybase_data_seek</function></funcdef>
+ <funcdef>bool <function>sybase_data_seek</function></funcdef>
<paramdef>int <parameter>result_identifier</parameter></paramdef>
<paramdef>int <parameter>row_number</parameter></paramdef>
</funcprototype>
@@ -140,7 +144,7 @@
<title>Description</title>
<funcsynopsis>
<funcprototype>
- <funcdef>int <function>sybase_fetch_array</function></funcdef>
+ <funcdef>array <function>sybase_fetch_array</function></funcdef>
<paramdef>int <parameter>result</parameter></paramdef>
</funcprototype>
</funcsynopsis>
@@ -175,7 +179,8 @@
<funcprototype>
<funcdef>object <function>sybase_fetch_field</function></funcdef>
<paramdef>int <parameter>result</parameter></paramdef>
- <paramdef>int <parameter>field_offset</parameter></paramdef>
+ <paramdef>int <parameter>
+ <optional>field_offset</optional></parameter></paramdef>>
</funcprototype>
</funcsynopsis>
<para>
@@ -315,7 +320,7 @@
<title>Description</title>
<funcsynopsis>
<funcprototype>
- <funcdef>int <function>sybase_free_result</function></funcdef>
+ <funcdef>bool <function>sybase_free_result</function></funcdef>
<paramdef>int <parameter>result</parameter></paramdef>
</funcprototype>
</funcsynopsis>
@@ -330,6 +335,130 @@
</refsect1>
</refentry>
+ <refentry id="function.sybase-get-last-message">
+ <refnamediv>
+ <refname>sybase_get_last_message</refname>
+ <refpurpose>Returns the last message from the server</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>string
<function>sybase_get_last_message</function></funcdef>
+ <paramdef>void <parameter></parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ <para>
+ <function>sybase_get_last_message</function> returns the last
+ message reported by the server.
+ </para>
+ </refsect1>
+ </refentry>
+
+ <refentry id="function.sybase-min-client-severity">
+ <refnamediv>
+ <refname>sybase_min_client_severity</refname>
+ <refpurpose>Sets minimum client severity</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>void
<function>sybase_min_client_severity</function></funcdef>
+ <paramdef>int <parameter>severity</parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ <para>
+ <function>sybase_min_client_severity</function> sets the minimum
+ client severity level.
+ <note>
+ <para>
+ This function is only available using the CT library interface
+ to Sybase, and not the DB library.
+ </para>
+ </note>
+ </para>
+ <para>
+ See also: <function>sybase_min_server_severity</function>.
+ </para>
+ </refsect1>
+ </refentry>
+
+ <refentry id="function.sybase-min-error-severity">
+ <refnamediv>
+ <refname>sybase_min_error_severity</refname>
+ <refpurpose>Sets minimum error severity</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>void
<function>sybase_min_error_severity</function></funcdef>
+ <paramdef>int <parameter>severity</parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ <para>
+ <function>sybase_min_error_severity</function> sets the minimum
+ error severity level.
+ </para>
+ <para>
+ See also: <function>sybase_min_message_severity</function>.
+ </para>
+ </refsect1>
+ </refentry>
+
+ <refentry id="function.sybase-min-message-severity">
+ <refnamediv>
+ <refname>sybase_min_message_severity</refname>
+ <refpurpose>Sets minimum message severity</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>void
<function>sybase_min_message_severity</function></funcdef>
+ <paramdef>int <parameter>severity</parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ <para>
+ <function>sybase_min_message_severity</function> sets the minimum
+ message severity level.
+ </para>
+ <para>
+ See also: <function>sybase_min_error_severity</function>.
+ </para>
+ </refsect1>
+ </refentry>
+
+ <refentry id="function.sybase-min-server-severity">
+ <refnamediv>
+ <refname>sybase_min_server_severity</refname>
+ <refpurpose>Sets minimum server severity</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>void
<function>sybase_min_server_severity</function></funcdef>
+ <paramdef>int <parameter>severity</parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ <para>
+ <function>sybase_min_server_severity</function> sets the minimum
+ server severity level.
+ <note>
+ <para>
+ This function is only available using the CT library interface
+ to Sybase, and not the DB library.
+ </para>
+ </note>
+ </para>
+ <para>
+ See also: <function>sybase_min_client_severity</function>.
+ </para>
+ </refsect1>
+ </refentry>
+
<refentry id="function.sybase-num-fields">
<refnamediv>
<refname>sybase_num_fields</refname>
@@ -366,7 +495,7 @@
<funcsynopsis>
<funcprototype>
<funcdef>int <function>sybase_num_rows</function></funcdef>
- <paramdef>string <parameter>result</parameter></paramdef>
+ <paramdef>int <parameter>result</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
@@ -412,10 +541,11 @@
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 <literal>sybase_pconnect()</literal>).</para>
+ close links established by <function>sybase_pconnect()</function>).
+ </para>
<para>
- This type of links is therefore called 'persistent'.</para>
-
+ This type of links is therefore called 'persistent'.
+ </para>
</refsect1>
</refentry>
@@ -461,7 +591,7 @@
<title>Description</title>
<funcsynopsis>
<funcprototype>
- <funcdef>int <function>sybase_result</function></funcdef>
+ <funcdef>string <function>sybase_result</function></funcdef>
<paramdef>int <parameter>result</parameter></paramdef>
<paramdef>int <parameter>row</parameter></paramdef>
<paramdef>mixed <parameter>field</parameter></paramdef>
@@ -505,7 +635,7 @@
<title>Description</title>
<funcsynopsis>
<funcprototype>
- <funcdef>int <function>sybase_select_db</function></funcdef>
+ <funcdef>bool <function>sybase_select_db</function></funcdef>
<paramdef>string <parameter>database_name</parameter></paramdef>
<paramdef>int <parameter>link_identifier</parameter></paramdef>
</funcprototype>
Index: phpdoc/nl/functions/zlib.xml
diff -u phpdoc/nl/functions/zlib.xml:1.1 phpdoc/nl/functions/zlib.xml:1.2
--- phpdoc/nl/functions/zlib.xml:1.1 Tue Oct 10 15:07:54 2000
+++ phpdoc/nl/functions/zlib.xml Wed Oct 18 15:13:08 2000
@@ -14,6 +14,21 @@
with gzip-compressed files (and uncompressed files, too, but not
with sockets).
</para>
+ <note>
+ <para>
+ The current CVS version 4.0.4-dev introduces a fopen-wrapper
+ for .gz-files, so that you can use a special 'zlib:' URL to
+ access compressed files transparently using the normal
+ f*() file access functions if you prepend the filename or path
+ with a 'zlib:' prefix when calling <function>fopen</function>.
+ </para>
+ <para>
+ This feature requires a C runtime library that provides the
+ <literal>fopencookie()</literal> function. To my current
+ knowledge the GNU libc is the only library that provides
+ this feature.
+ </para>
+ </note>
<sect1 id="zlib-example">
<title>Small code example</title>