com doc/de: sync with EN: reference/info/functions/get-magic-quotes-gpc.xml

[email protected] (Martin Samesch)
Newsgroups php.doc.de
Message-ID <[email protected]>
Commit:    c9bd1c3b2dc6f2b26a18535f3791193fc9eb086a
Author:    Martin Samesch <[email protected]>         Sun, 17 Jan 2021 10:51:28 +0100
Parents:   2d9444e2ac5cba8c26c43389734c953bbd8a30e2
Branches:  master

Link:       http://git.php.net/?p=doc/de.git;a=commitdiff;h=c9bd1c3b2dc6f2b26a18535f3791193fc9eb086a

Log:
sync with EN

Changed paths:
  M  reference/info/functions/get-magic-quotes-gpc.xml


Diff:
diff --git a/reference/info/functions/get-magic-quotes-gpc.xml b/reference/info/functions/get-magic-quotes-gpc.xml
index cbe413208..67181d321 100644
--- a/reference/info/functions/get-magic-quotes-gpc.xml
+++ b/reference/info/functions/get-magic-quotes-gpc.xml
@@ -1,7 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 3e15d2894fb35432d2a111db36fe8ba8ebc62024 Maintainer: nobody Status: ready -->
-
+<!-- EN-Revision: f029b664b8728bd5cbb697cb9a4409aea07cb36c Maintainer: nobody Status: ready -->
 <refentry xml:id="function.get-magic-quotes-gpc" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>get_magic_quotes_gpc</refname>
@@ -19,24 +18,14 @@
    <void/>
   </methodsynopsis>
   <para>
-   Gibt die aktuelle Konfiguration von 
-   <link linkend="ini.magic-quotes-gpc">magic_quotes_gpc</link> zurück.
-  </para>
-  <para>
-   Es ist zu beachten, dass der Versuch <link linkend="ini.magic-quotes-gpc">
-   magic_quotes_gpc</link> zur Laufzeit zu setzen, nicht funktioniert.
-  </para>
-  <para>
-   Weitere Informationen bezüglich magic_quotes sind diesem <link
-   linkend="security.magicquotes">Sicherheitsabschnitt</link> zu entnehmen.
+   Gibt immer &false; zurück.
   </para>
  </refsect1>
 
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-   Gibt 0 zurück, wenn magic_quotes_gpc ausgeschaltet ist, anderfalls 1. Von PHP
-   5.4.0 wird immer &false; zurückgegeben. 
+   Gibt immer &false; zurück.
   </para>
  </refsect1>
 
@@ -64,38 +53,6 @@
   </para>
  </refsect1>
 
- <refsect1 role="examples">
-  &reftitle.examples;
-  <para>
-   <example>
-    <title><function>get_magic_quotes_gpc</function> Beispiel</title>
-    <programlisting role="php">
-<![CDATA[
-<?php
-// Wenn magic quotes aktiviert ist
-echo $_POST['lastname'];             // O\'reilly
-echo addslashes($_POST['lastname']); // O\\\'reilly
-
-// Verwendung mit allen PHP-Versionen
-if (get_magic_quotes_gpc()) {
-    $lastname = stripslashes($_POST['lastname']);
-}
-else {
-    $lastname = $_POST['lastname'];
-}
-
-// Bei Verwendung von MySQL
-$lastname = mysql_real_escape_string($lastname);
-
-echo $lastname; // O\'reilly
-$sql = "INSERT INTO lastnames (lastname) VALUES ('$lastname')";
-?>
-]]>
-    </programlisting>
-   </example>
-  </para>
- </refsect1>
-
  <refsect1 role="seealso">
   &reftitle.seealso;
   <para>
@@ -109,7 +66,6 @@ $sql = "INSERT INTO lastnames (lastname) VALUES ('$lastname')";
  </refsect1>
 
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.