cvs: phpdoc /de Translators /de/features safe-mode.xml /de/functions fdf.xml recode.xml satellite.xml zip.xml
| From: | Stefan Saasen | Date: | Sun, 25 Nov 2001 18:34:35 +0000 |
| Subject: | cvs: phpdoc /de Translators /de/features safe-mode.xml /de/functions fdf.xml recode.xml satellite.xml zip.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969339270@lists.php.net to get a copy of this message | ||
stefan_saasen Sun Nov 25 13:34:35 2001 EDT
Modified files:
/phpdoc/de/features safe-mode.xml
/phpdoc/de/functions fdf.xml recode.xml satellite.xml zip.xml
/phpdoc/de Translators
Log:
sync with en tree
Index: phpdoc/de/features/safe-mode.xml diff -u phpdoc/de/features/safe-mode.xml:1.3 phpdoc/de/features/safe-mode.xml:1.4 --- phpdoc/de/features/safe-mode.xml:1.3 Sun Nov 18 16:00:37 2001 +++ phpdoc/de/features/safe-mode.xml Sun Nov 25 13:34:35 2001 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.15 Maintainer: stefan_saasen Status: ready --> +<!-- EN-Revision: 1.16 Maintainer: stefan_saasen Status: ready --> <chapter id="features.safe-mode"> <title>Safe Mode</title> <para> @@ -14,12 +14,14 @@ <para> Es existieren folgende Direktiven um Safe Mode zu konfigurieren: <programlisting role="ini"> +<![CDATA[ safe_mode = Off open_basedir = safe_mode_exec_dir = safe_mode_allowed_env_vars = PHP_ safe_mode_protected_env_vars = LD_LIBRARY_PATH disable_functions = +]]> </programlisting> </para> <para> @@ -29,20 +31,26 @@ werden soll. Beispiel: <programlisting role="ls"> +<![CDATA[ -rw-rw-r-- 1 rasmus rasmus 33 Jul 1 19:20 script.php -rw-r--r-- 1 root root 1116 May 26 18:01 /etc/passwd +]]> </programlisting> Bei der Ausführung dieses Skriptes <programlisting role="php"> -<?php +<![CDATA[ +<?php readfile('/etc/passwd'); -?> +?> +]]> </programlisting> erscheint bei aktiviertem Safe Mode folgende Warnung: - <programlisting role="php"> + <screen> +<![CDATA[ Warning: SAFE MODE Restriction in effect. The script whose uid is 500 is not allowed to access /etc/passwd owned by uid 0 in /docroot/script.php on line 2 - </programlisting> +]]> + </screen> </para> <para> Wenn anstelle von <link linkend="ini.safe-mode">safe_mode</link> ein @@ -50,28 +58,36 @@ nur noch unterhalb dieses Verzeichnisses vorgenommen werden. Beispiel (Apache httpd.conf): <programlisting role="ini"> -<Directory /docroot> +<![CDATA[ +<Directory /docroot> php_admin_value open_basedir /docroot -</Directory> +</Directory> +]]> </programlisting> Wenn das Skript script.php mit der open_basedir Einstellung ausgeführt wird, erscheint folgende Warnung: - <programlisting role="php"> + <screen> +<![CDATA[ Warning: open_basedir restriction in effect. File is in wrong directory in /docroot/script.php on line 2 - </programlisting> +]]> + </screen> </para> <para> Darüberhinaus können einzelne Funktionen deaktiviert werden. Würde man folgenden Eintrag in der php.ini vornehmen: <programlisting role="ini"> +<![CDATA[ disable_functions readfile,system +]]> </programlisting> Würde diese Warnung erscheinen: - <programlisting role="php"> + <screen> +<![CDATA[ Warning: readfile() has been disabled for security reasons in /docroot/script.php on line 2 - </programlisting> +]]> + </screen> </para> <sect1 id="features.safe-mode.functions"> <title>Funktionen, die durch Safe Mode deaktiviert oder eingeschränkt werden</title> Index: phpdoc/de/functions/fdf.xml diff -u phpdoc/de/functions/fdf.xml:1.14 phpdoc/de/functions/fdf.xml:1.15 --- phpdoc/de/functions/fdf.xml:1.14 Sat Nov 10 16:49:23 2001 +++ phpdoc/de/functions/fdf.xml Sun Nov 25 13:34:35 2001 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.20 Maintainer: stefan_saasen Status: ready --> +<!-- EN-Revision: 1.22 Maintainer: stefan_saasen Status: ready --> <reference id="ref.fdf"> <title>Forms Data Format Funktionen</title> <titleabbrev>FDF</titleabbrev> @@ -64,7 +64,8 @@ <example> <title>Auswertung eines FDF Dokuments</title> <programlisting role="php"> -<?php +<![CDATA[ +<?php // Speichern der FDF Daten in eine temporäre Datei $fdffp = fopen("test.fdf", "w"); fwrite($fdffp, $HTTP_FDF_DATA, strlen($HTTP_FDF_DATA)); @@ -77,29 +78,30 @@ $fdf = fdf_open("test.fdf"); $band = fdf_get_value($fdf, "band"); -echo "Das Feld Band hat den Wert '<B>$band</B>'<BR>"; +echo "Das Feld Band hat den Wert '<B>$band</B>'<BR>"; $datum = fdf_get_value($fdf, "datum"); -echo "Das Feld Datum hat den Wert '<B>$datum</B>'<BR>"; +echo "Das Feld Datum hat den Wert '<B>$datum</B>'<BR>"; $kommentar = fdf_get_value($fdf, "kommentar"); -echo "Das Feld Kommentar hat den Wert '<B>$kommentar</B>'<BR>"; +echo "Das Feld Kommentar hat den Wert '<B>$kommentar</B>'<BR>"; if (fdf_get_value($fdf, "zeige_verleger") == "On") { $verleger = fdf_get_value($fdf, "verleger"); - echo "Das Feld Verleger hat den Wert '<B>$verleger</B>'<BR>"; + echo "Das Feld Verleger hat den Wert '<B>$verleger</B>'<BR>"; } else { - echo "Verleger soll nicht angezeigt werden.<BR>"; + echo "Verleger soll nicht angezeigt werden.<BR>"; } if (fdf_get_value($fdf, "zeige_bearbeiter") == "On") { $bearbeiter = fdf_get_value($fdf, "bearbeiter"); - echo "Das Feld Bearbeiter hat den Wert '<B>$bearbeiter</B>'<BR>"; + echo "Das Feld Bearbeiter hat den Wert '&<B>$bearbeiter</B>'<BR>"; } else { - echo "Bearbeiter soll nicht angezeigt werden.<BR>"; + echo "Bearbeiter soll nicht angezeigt werden.<BR>"; } fdf_close($fdf); -?> +?> +]]> </programlisting> </example> </partintro> @@ -132,7 +134,8 @@ <example> <title>Zugang zu den Fornmulardaten</title> <programlisting> -<?php +<![CDATA[ +<?php // Speichern der FDF Daten in eine temporäre Datei $fdffp = fopen("test.fdf", "w"); fwrite($fdffp, $HTTP_FDF_DATA, strlen($HTTP_FDF_DATA)); @@ -142,7 +145,8 @@ $fdf = fdf_open("test.fdf"); ... fdf_close($fdf); -?> +?> +]]> </programlisting> </example> </para> @@ -198,7 +202,8 @@ <example> <title>Füllen von Formularwerten in einem PDF Dokument</title> <programlisting> -<?php +<![CDATA[ +<?php $outfdf = fdf_create(); fdf_set_value($outfdf, "band", $band, 0); @@ -209,7 +214,8 @@ $fp = fopen("outtest.fdf", "r"); fpassthru($fp); unlink("outtest.fdf"); -?> +?> +]]> </programlisting> </example> </para> Index: phpdoc/de/functions/recode.xml diff -u phpdoc/de/functions/recode.xml:1.9 phpdoc/de/functions/recode.xml:1.10 --- phpdoc/de/functions/recode.xml:1.9 Sat Nov 10 16:49:24 2001 +++ phpdoc/de/functions/recode.xml Sun Nov 25 13:34:35 2001 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.13 Maintainer: stefan_saasen Status: ready --> +<!-- EN-Revision: 1.16 Maintainer: stefan_saasen Status: ready --> <reference id="ref.recode"> <title>GNU Recode Funktionen</title> <titleabbrev>Recode</titleabbrev> @@ -55,7 +55,9 @@ <example> <title>Einfaches <function>recode_string</function> Beispiel:</title> <programlisting role="php"> -print recode_string ("us..flat", "Der folgende Buchstabe hat ein diakritisches Zeichen: &aacute;"); +<![CDATA[ +print recode_string ("us..flat", "Der folgende Buchstabe hat ein diakritisches Zeichen: á"); +]]> </programlisting> </example> </para> @@ -120,9 +122,11 @@ <example> <title>Einfaches <function>recode_file</function> Beispiel</title> <programlisting role="php"> +<![CDATA[ $input = fopen ('input.txt', 'r'); $output = fopen ('output.txt', 'w'); -recode_file ("us..flat", $input, $output); +recode_file ("us..flat", $input, $output); +]]> </programlisting> </example> </para> @@ -146,4 +150,8 @@ 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 + --> Index: phpdoc/de/functions/satellite.xml diff -u phpdoc/de/functions/satellite.xml:1.6 phpdoc/de/functions/satellite.xml:1.7 --- phpdoc/de/functions/satellite.xml:1.6 Sat Nov 10 16:49:24 2001 +++ phpdoc/de/functions/satellite.xml Sun Nov 25 13:34:35 2001 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.14 Maintainer: stefan_saasen Status: ready --> +<!-- EN-Revision: 1.18 Maintainer: stefan_saasen Status: ready --> <reference id="ref.satellite"> <title>Satellite CORBA Client Erweiterung</title> <titleabbrev>Satellite</titleabbrev> @@ -36,13 +36,15 @@ <para> <example> <title>IDL Beispieldatei</title> - <programlisting> + <programlisting role="idl"> +<![CDATA[ interface MyInterface { void SetInfo (string info); string GetInfo(); attribute int value; } +]]> </programlisting> </example> </para> @@ -50,7 +52,8 @@ <example> <title>PHP Code um auf MyInterface zuzugreifen</title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $obj = new OrbitObject ($ior); $obj->SetInfo ("A 2GooD object"); @@ -61,6 +64,7 @@ echo $obj->value; ?> +]]> </programlisting> </example> </para> @@ -91,10 +95,12 @@ <para> <example> <title>IDL Beispieldatei</title> - <programlisting> + <programlisting role="idl"> +<![CDATA[ enum MyEnum { a,b,c,d,e }; +]]> </programlisting> </example> </para> @@ -102,13 +108,15 @@ <example> <title>PHP Code für den Zugang zu MyEnum</title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $enum = new OrbitEnum ("MyEnum"); echo $enum->a; /* write 0 */ echo $enum->c; /* write 2 */ echo $enum->e; /* write 4 */ ?> +]]> </programlisting> </example> </para> @@ -139,7 +147,8 @@ <para> <example> <title>IDL Beispieldatei</title> - <programlisting> + <programlisting role="idl"> +<![CDATA[ struct MyStruct { short shortvalue; string stringvalue; @@ -149,6 +158,7 @@ void SetValues (MyStruct values); MyStruct GetValues(); } +]]> </programlisting> </example> </para> @@ -156,7 +166,8 @@ <example> <title>PHP Code für den Zugang zu MyStruct</title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $obj = new OrbitObject ($ior); $initial_values = new OrbitStruct ("IDL:MyStruct:1.0"); @@ -170,6 +181,7 @@ echo $values->shortvalue; echo $values->stringvalue; ?> +]]> </programlisting> </example> </para> @@ -201,7 +213,8 @@ <para> <example> <title>IDL Beispieldatei</title> - <programlisting> + <programlisting role="idl"> +<![CDATA[ /* ++?????++ Out of Cheese Error. Redo From Start. */ exception OutOfCheeseError { int parameter; @@ -210,6 +223,7 @@ interface AnotherInterface { void AskWhy() raises (OutOfCheeseError); } +]]> </programlisting> </example> </para> @@ -217,7 +231,8 @@ <example> <title>PHP Code zur Behandlung von CORBA Exceptions</title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $obj = new OrbitObject ($ior); $obj->AskWhy(); @@ -229,6 +244,7 @@ } } ?> +]]> </programlisting> </example> </para> @@ -239,7 +255,7 @@ <refnamediv> <refname>satellite_exception_id</refname> <refpurpose> - Gibt die Repository Id von der letzten Exception zurück + Gibt die Repository Id der letzten Exception zurück </refpurpose> </refnamediv> <refsect1> @@ -303,5 +319,8 @@ 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 --> Index: phpdoc/de/functions/zip.xml diff -u phpdoc/de/functions/zip.xml:1.5 phpdoc/de/functions/zip.xml:1.6 --- phpdoc/de/functions/zip.xml:1.5 Sat Nov 10 16:49:24 2001 +++ phpdoc/de/functions/zip.xml Sun Nov 25 13:34:35 2001 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.13 Maintainer: stefan_saasen Status: ready --> +<!-- EN-Revision: 1.15 Maintainer: stefan_saasen Status: ready --> <reference id="ref.zip"> <title>ZIP Funktionen (Lesezugriff)</title> <titleabbrev>Zip</titleabbrev> @@ -43,7 +43,8 @@ <example> <title>Beispiel zur Verwendung der Zip Funktion</title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $zip = zip_open("/tmp/test2.zip"); @@ -70,7 +71,8 @@ } -?> +?> +]]> </programlisting> </example> </sect1> Index: phpdoc/de/Translators diff -u phpdoc/de/Translators:1.213 phpdoc/de/Translators:1.214 --- phpdoc/de/Translators:1.213 Sun Nov 25 09:51:29 2001 +++ phpdoc/de/Translators Sun Nov 25 13:34:35 2001 @@ -59,7 +59,7 @@ persistent-connections.xml Catharina Paulsen fertig remote-files.xml Catharina Paulsen in Arbeit ??? remote-files.xml Mark Kronsbein in Arbeit -safe-mode.xml Stefan Saasen fertig (Rev. 1.15) +safe-mode.xml Stefan Saasen fertig (Rev. 1.16) ------- functions ----------------------------------------------------------- adabas.xml Johann-Peter Hartmann fertig apache.xml Johann-Peter Hartmann fertig @@ -85,7 +85,7 @@ domxml.xml Sebastian Bergmann fertig exec.xml Wolfgang Drews fertig (bis V. 1.18) errorfunc.xml -fdf.xml Stefan Saasen fertig (Rev 1.17) +fdf.xml Stefan Saasen fertig (Rev 1.22) filepro.xml Martin Jansen fertig filesystem.xml Wolfgang Drews + Thomas fertig (bis V. 1.69) ftp.xml Thomas Schuermann fertig @@ -128,9 +128,9 @@ posix.xml Martin Samesch in Arbeit pspell.xml readline.xml Friedhelm Betz fertig (bis V. 1.9) -recode.xml Stefan Saasen fertig (Rev. 1.13) +recode.xml Stefan Saasen fertig (Rev. 1.16) regex.xml Martin Samesch fertig (Rev. 1.24) -satellite.xml Stefan Saasen fertig (Rev 1.14) +satellite.xml Stefan Saasen fertig (Rev 1.18) sem.xml Hartmut Holzgraefe fertig sesam.xml Martin Kraemer fertig (Rev. 1.6) session.xml Martin Samesch Änderungen @@ -149,7 +149,7 @@ xml.xml Sven Lauer in Arbeit xslt.xml Urs Gehrig in Arbeit yaz.xml -zip.xml Stefan Saasen fertig (Rev 1.9) +zip.xml Stefan Saasen fertig (Rev 1.15) zlib.xml Hartmut Holzgraefe in Arbeit -------- language ---------------------------------------------------------- basic-syntax.xml Sven Lauer fertig
Index: phpdoc/de/features/safe-mode.xml diff -u phpdoc/de/features/safe-mode.xml:1.3 phpdoc/de/features/safe-mode.xml:1.4 --- phpdoc/de/features/safe-mode.xml:1.3 Sun Nov 18 16:00:37 2001 +++ phpdoc/de/features/safe-mode.xml Sun Nov 25 13:34:35 2001 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.15 Maintainer: stefan_saasen Status: ready --> +<!-- EN-Revision: 1.16 Maintainer: stefan_saasen Status: ready --> <chapter id="features.safe-mode"> <title>Safe Mode</title> <para> @@ -14,12 +14,14 @@ <para> Es existieren folgende Direktiven um Safe Mode zu konfigurieren: <programlisting role="ini"> +<![CDATA[ safe_mode = Off open_basedir = safe_mode_exec_dir = safe_mode_allowed_env_vars = PHP_ safe_mode_protected_env_vars = LD_LIBRARY_PATH disable_functions = +]]> </programlisting> </para> <para> @@ -29,20 +31,26 @@ werden soll. Beispiel: <programlisting role="ls"> +<![CDATA[ -rw-rw-r-- 1 rasmus rasmus 33 Jul 1 19:20 script.php -rw-r--r-- 1 root root 1116 May 26 18:01 /etc/passwd +]]> </programlisting> Bei der Ausführung dieses Skriptes <programlisting role="php"> -<?php +<![CDATA[ +<?php readfile('/etc/passwd'); -?> +?> +]]> </programlisting> erscheint bei aktiviertem Safe Mode folgende Warnung: - <programlisting role="php"> + <screen> +<![CDATA[ Warning: SAFE MODE Restriction in effect. The script whose uid is 500 is not allowed to access /etc/passwd owned by uid 0 in /docroot/script.php on line 2 - </programlisting> +]]> + </screen> </para> <para> Wenn anstelle von <link linkend="ini.safe-mode">safe_mode</link> ein @@ -50,28 +58,36 @@ nur noch unterhalb dieses Verzeichnisses vorgenommen werden. Beispiel (Apache httpd.conf): <programlisting role="ini"> -<Directory /docroot> +<![CDATA[ +<Directory /docroot> php_admin_value open_basedir /docroot -</Directory> +</Directory> +]]> </programlisting> Wenn das Skript script.php mit der open_basedir Einstellung ausgeführt wird, erscheint folgende Warnung: - <programlisting role="php"> + <screen> +<![CDATA[ Warning: open_basedir restriction in effect. File is in wrong directory in /docroot/script.php on line 2 - </programlisting> +]]> + </screen> </para> <para> Darüberhinaus können einzelne Funktionen deaktiviert werden. Würde man folgenden Eintrag in der php.ini vornehmen: <programlisting role="ini"> +<![CDATA[ disable_functions readfile,system +]]> </programlisting> Würde diese Warnung erscheinen: - <programlisting role="php"> + <screen> +<![CDATA[ Warning: readfile() has been disabled for security reasons in /docroot/script.php on line 2 - </programlisting> +]]> + </screen> </para> <sect1 id="features.safe-mode.functions"> <title>Funktionen, die durch Safe Mode deaktiviert oder eingeschränkt werden</title> Index: phpdoc/de/functions/fdf.xml diff -u phpdoc/de/functions/fdf.xml:1.14 phpdoc/de/functions/fdf.xml:1.15 --- phpdoc/de/functions/fdf.xml:1.14 Sat Nov 10 16:49:23 2001 +++ phpdoc/de/functions/fdf.xml Sun Nov 25 13:34:35 2001 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.20 Maintainer: stefan_saasen Status: ready --> +<!-- EN-Revision: 1.22 Maintainer: stefan_saasen Status: ready --> <reference id="ref.fdf"> <title>Forms Data Format Funktionen</title> <titleabbrev>FDF</titleabbrev> @@ -64,7 +64,8 @@ <example> <title>Auswertung eines FDF Dokuments</title> <programlisting role="php"> -<?php +<![CDATA[ +<?php // Speichern der FDF Daten in eine temporäre Datei $fdffp = fopen("test.fdf", "w"); fwrite($fdffp, $HTTP_FDF_DATA, strlen($HTTP_FDF_DATA)); @@ -77,29 +78,30 @@ $fdf = fdf_open("test.fdf"); $band = fdf_get_value($fdf, "band"); -echo "Das Feld Band hat den Wert '<B>$band</B>'<BR>"; +echo "Das Feld Band hat den Wert '<B>$band</B>'<BR>"; $datum = fdf_get_value($fdf, "datum"); -echo "Das Feld Datum hat den Wert '<B>$datum</B>'<BR>"; +echo "Das Feld Datum hat den Wert '<B>$datum</B>'<BR>"; $kommentar = fdf_get_value($fdf, "kommentar"); -echo "Das Feld Kommentar hat den Wert '<B>$kommentar</B>'<BR>"; +echo "Das Feld Kommentar hat den Wert '<B>$kommentar</B>'<BR>"; if (fdf_get_value($fdf, "zeige_verleger") == "On") { $verleger = fdf_get_value($fdf, "verleger"); - echo "Das Feld Verleger hat den Wert '<B>$verleger</B>'<BR>"; + echo "Das Feld Verleger hat den Wert '<B>$verleger</B>'<BR>"; } else { - echo "Verleger soll nicht angezeigt werden.<BR>"; + echo "Verleger soll nicht angezeigt werden.<BR>"; } if (fdf_get_value($fdf, "zeige_bearbeiter") == "On") { $bearbeiter = fdf_get_value($fdf, "bearbeiter"); - echo "Das Feld Bearbeiter hat den Wert '<B>$bearbeiter</B>'<BR>"; + echo "Das Feld Bearbeiter hat den Wert '&<B>$bearbeiter</B>'<BR>"; } else { - echo "Bearbeiter soll nicht angezeigt werden.<BR>"; + echo "Bearbeiter soll nicht angezeigt werden.<BR>"; } fdf_close($fdf); -?> +?> +]]> </programlisting> </example> </partintro> @@ -132,7 +134,8 @@ <example> <title>Zugang zu den Fornmulardaten</title> <programlisting> -<?php +<![CDATA[ +<?php // Speichern der FDF Daten in eine temporäre Datei $fdffp = fopen("test.fdf", "w"); fwrite($fdffp, $HTTP_FDF_DATA, strlen($HTTP_FDF_DATA)); @@ -142,7 +145,8 @@ $fdf = fdf_open("test.fdf"); ... fdf_close($fdf); -?> +?> +]]> </programlisting> </example> </para> @@ -198,7 +202,8 @@ <example> <title>Füllen von Formularwerten in einem PDF Dokument</title> <programlisting> -<?php +<![CDATA[ +<?php $outfdf = fdf_create(); fdf_set_value($outfdf, "band", $band, 0); @@ -209,7 +214,8 @@ $fp = fopen("outtest.fdf", "r"); fpassthru($fp); unlink("outtest.fdf"); -?> +?> +]]> </programlisting> </example> </para> Index: phpdoc/de/functions/recode.xml diff -u phpdoc/de/functions/recode.xml:1.9 phpdoc/de/functions/recode.xml:1.10 --- phpdoc/de/functions/recode.xml:1.9 Sat Nov 10 16:49:24 2001 +++ phpdoc/de/functions/recode.xml Sun Nov 25 13:34:35 2001 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.13 Maintainer: stefan_saasen Status: ready --> +<!-- EN-Revision: 1.16 Maintainer: stefan_saasen Status: ready --> <reference id="ref.recode"> <title>GNU Recode Funktionen</title> <titleabbrev>Recode</titleabbrev> @@ -55,7 +55,9 @@ <example> <title>Einfaches <function>recode_string</function> Beispiel:</title> <programlisting role="php"> -print recode_string ("us..flat", "Der folgende Buchstabe hat ein diakritisches Zeichen: &aacute;"); +<![CDATA[ +print recode_string ("us..flat", "Der folgende Buchstabe hat ein diakritisches Zeichen: á"); +]]> </programlisting> </example> </para> @@ -120,9 +122,11 @@ <example> <title>Einfaches <function>recode_file</function> Beispiel</title> <programlisting role="php"> +<![CDATA[ $input = fopen ('input.txt', 'r'); $output = fopen ('output.txt', 'w'); -recode_file ("us..flat", $input, $output); +recode_file ("us..flat", $input, $output); +]]> </programlisting> </example> </para> @@ -146,4 +150,8 @@ 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 + --> Index: phpdoc/de/functions/satellite.xml diff -u phpdoc/de/functions/satellite.xml:1.6 phpdoc/de/functions/satellite.xml:1.7 --- phpdoc/de/functions/satellite.xml:1.6 Sat Nov 10 16:49:24 2001 +++ phpdoc/de/functions/satellite.xml Sun Nov 25 13:34:35 2001 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.14 Maintainer: stefan_saasen Status: ready --> +<!-- EN-Revision: 1.18 Maintainer: stefan_saasen Status: ready --> <reference id="ref.satellite"> <title>Satellite CORBA Client Erweiterung</title> <titleabbrev>Satellite</titleabbrev> @@ -36,13 +36,15 @@ <para> <example> <title>IDL Beispieldatei</title> - <programlisting> + <programlisting role="idl"> +<![CDATA[ interface MyInterface { void SetInfo (string info); string GetInfo(); attribute int value; } +]]> </programlisting> </example> </para> @@ -50,7 +52,8 @@ <example> <title>PHP Code um auf MyInterface zuzugreifen</title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $obj = new OrbitObject ($ior); $obj->SetInfo ("A 2GooD object"); @@ -61,6 +64,7 @@ echo $obj->value; ?> +]]> </programlisting> </example> </para> @@ -91,10 +95,12 @@ <para> <example> <title>IDL Beispieldatei</title> - <programlisting> + <programlisting role="idl"> +<![CDATA[ enum MyEnum { a,b,c,d,e }; +]]> </programlisting> </example> </para> @@ -102,13 +108,15 @@ <example> <title>PHP Code für den Zugang zu MyEnum</title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $enum = new OrbitEnum ("MyEnum"); echo $enum->a; /* write 0 */ echo $enum->c; /* write 2 */ echo $enum->e; /* write 4 */ ?> +]]> </programlisting> </example> </para> @@ -139,7 +147,8 @@ <para> <example> <title>IDL Beispieldatei</title> - <programlisting> + <programlisting role="idl"> +<![CDATA[ struct MyStruct { short shortvalue; string stringvalue; @@ -149,6 +158,7 @@ void SetValues (MyStruct values); MyStruct GetValues(); } +]]> </programlisting> </example> </para> @@ -156,7 +166,8 @@ <example> <title>PHP Code für den Zugang zu MyStruct</title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $obj = new OrbitObject ($ior); $initial_values = new OrbitStruct ("IDL:MyStruct:1.0"); @@ -170,6 +181,7 @@ echo $values->shortvalue; echo $values->stringvalue; ?> +]]> </programlisting> </example> </para> @@ -201,7 +213,8 @@ <para> <example> <title>IDL Beispieldatei</title> - <programlisting> + <programlisting role="idl"> +<![CDATA[ /* ++?????++ Out of Cheese Error. Redo From Start. */ exception OutOfCheeseError { int parameter; @@ -210,6 +223,7 @@ interface AnotherInterface { void AskWhy() raises (OutOfCheeseError); } +]]> </programlisting> </example> </para> @@ -217,7 +231,8 @@ <example> <title>PHP Code zur Behandlung von CORBA Exceptions</title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $obj = new OrbitObject ($ior); $obj->AskWhy(); @@ -229,6 +244,7 @@ } } ?> +]]> </programlisting> </example> </para> @@ -239,7 +255,7 @@ <refnamediv> <refname>satellite_exception_id</refname> <refpurpose> - Gibt die Repository Id von der letzten Exception zurück + Gibt die Repository Id der letzten Exception zurück </refpurpose> </refnamediv> <refsect1> @@ -303,5 +319,8 @@ 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 --> Index: phpdoc/de/functions/zip.xml diff -u phpdoc/de/functions/zip.xml:1.5 phpdoc/de/functions/zip.xml:1.6 --- phpdoc/de/functions/zip.xml:1.5 Sat Nov 10 16:49:24 2001 +++ phpdoc/de/functions/zip.xml Sun Nov 25 13:34:35 2001 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.13 Maintainer: stefan_saasen Status: ready --> +<!-- EN-Revision: 1.15 Maintainer: stefan_saasen Status: ready --> <reference id="ref.zip"> <title>ZIP Funktionen (Lesezugriff)</title> <titleabbrev>Zip</titleabbrev> @@ -43,7 +43,8 @@ <example> <title>Beispiel zur Verwendung der Zip Funktion</title> <programlisting role="php"> -<?php +<![CDATA[ +<?php $zip = zip_open("/tmp/test2.zip"); @@ -70,7 +71,8 @@ } -?> +?> +]]> </programlisting> </example> </sect1> Index: phpdoc/de/Translators diff -u phpdoc/de/Translators:1.213 phpdoc/de/Translators:1.214 --- phpdoc/de/Translators:1.213 Sun Nov 25 09:51:29 2001 +++ phpdoc/de/Translators Sun Nov 25 13:34:35 2001 @@ -59,7 +59,7 @@ persistent-connections.xml Catharina Paulsen fertig remote-files.xml Catharina Paulsen in Arbeit ??? remote-files.xml Mark Kronsbein in Arbeit -safe-mode.xml Stefan Saasen fertig (Rev. 1.15) +safe-mode.xml Stefan Saasen fertig (Rev. 1.16) ------- functions ----------------------------------------------------------- adabas.xml Johann-Peter Hartmann fertig apache.xml Johann-Peter Hartmann fertig @@ -85,7 +85,7 @@ domxml.xml Sebastian Bergmann fertig exec.xml Wolfgang Drews fertig (bis V. 1.18) errorfunc.xml -fdf.xml Stefan Saasen fertig (Rev 1.17) +fdf.xml Stefan Saasen fertig (Rev 1.22) filepro.xml Martin Jansen fertig filesystem.xml Wolfgang Drews + Thomas fertig (bis V. 1.69) ftp.xml Thomas Schuermann fertig @@ -128,9 +128,9 @@ posix.xml Martin Samesch in Arbeit pspell.xml readline.xml Friedhelm Betz fertig (bis V. 1.9) -recode.xml Stefan Saasen fertig (Rev. 1.13) +recode.xml Stefan Saasen fertig (Rev. 1.16) regex.xml Martin Samesch fertig (Rev. 1.24) -satellite.xml Stefan Saasen fertig (Rev 1.14) +satellite.xml Stefan Saasen fertig (Rev 1.18) sem.xml Hartmut Holzgraefe fertig sesam.xml Martin Kraemer fertig (Rev. 1.6) session.xml Martin Samesch Änderungen @@ -149,7 +149,7 @@ xml.xml Sven Lauer in Arbeit xslt.xml Urs Gehrig in Arbeit yaz.xml -zip.xml Stefan Saasen fertig (Rev 1.9) +zip.xml Stefan Saasen fertig (Rev 1.15) zlib.xml Hartmut Holzgraefe in Arbeit -------- language ---------------------------------------------------------- basic-syntax.xml Sven Lauer fertig