cvs: phpdoc-ja /reference/strings/functions addslashes.xml
| From: | TAKAGI Masahiro | Date: | Sun, 08 Mar 2009 10:35:56 +0000 |
| Subject: | cvs: phpdoc-ja /reference/strings/functions addslashes.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-2430@lists.php.net to get a copy of this message | ||
takagi Sun Mar 8 10:35:56 2009 UTC
Modified files:
/phpdoc-ja/reference/strings/functions addslashes.xml
Log:
sync with en.
http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/strings/functions/addslashes.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc-ja/reference/strings/functions/addslashes.xml
diff -u phpdoc-ja/reference/strings/functions/addslashes.xml:1.8
phpdoc-ja/reference/strings/functions/addslashes.xml:1.9
--- phpdoc-ja/reference/strings/functions/addslashes.xml:1.8 Sat Aug 11 04:15:47 2007
+++ phpdoc-ja/reference/strings/functions/addslashes.xml Sun Mar 8 10:35:56 2009
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.8 $ -->
-<!-- EN-Revision: 1.7 Maintainer: hirokawa Status: ready -->
+<!-- $Revision: 1.9 $ -->
+<!-- EN-Revision: 1.8 Maintainer: hirokawa Status: ready -->
<!-- CREDITS: shimooka -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.addslashes">
<refnamediv>
@@ -25,13 +25,17 @@
<function>addslashes</function> ã®ä½¿ç¨ä¾ã¯ã
ãã¼ã¿ãã¼ã¹ã«ãã¼ã¿ãç»é²ããã¨ãã§ããä¾ãã°ã
<literal>O'reilly</literal>
ã¨ããååããã¼ã¿ãã¼ã¹ã«æ¿å
¥ããã«ã¯ã
-
ã¨ã¹ã±ã¼ãããå¿
è¦ãããã¾ããã»ã¨ãã©ã®ãã¼ã¿ãã¼ã¹ã§ã¯
- <literal>O\'reilly</literal> ã¨ããå
·åã«
<literal>\</literal>
-
ã使ç¨ãã¾ããããã¯ãã¼ã¿ãã¼ã¹ã«ãã¼ã¿ãæ ¼ç´ããå ´åã®ã¿å¿
è¦ã§ãã
+ ã¨ã¹ã±ã¼ãããå¿
è¦ãããã¾ããå
DBMS å°ç¨ã®ã¨ã¹ã±ã¼ã颿°
+ (ãã¨ãã° MySQL ãªã
<function>mysqli_real_escape_string</function>ã
+ PostgreSQL ãªã <function>pg_escape_string</function>)
+
ã使ããã¨ãå¼·ãæ¨å¥¨ãã¾ãããããå°ç¨ã®é¢æ°ããªã
+ ãã¤ãã® DBMS ã <literal>\</literal>
ãã¨ã¹ã±ã¼ãç¨æåã¨ãã¦ä½¿ç¨ãã¦ããã®ãªã
+
ãã®é¢æ°ã使ç¨ãããã¨ãã§ãã¾ãã
+
ããã¯ãã¼ã¿ãã¼ã¹ã«ãã¼ã¿ãæ ¼ç´ããå ´åã®ã¿å¿
è¦ã§ãã
追å ããã <literal>\</literal>
ã¯æ¿å
¥ããã¾ããã
PHP ã®ãã£ã¬ã¯ãã£ã
<link linkend="ini.magic-quotes-sybase">magic_quotes_sybase</link>
- ã <literal>\</literal>
ã«ããã¨ã<literal>'</literal>
+ ã <literal>on</literal>
ã«ããã¨ã<literal>'</literal>
ã¯ããã²ã¨ã¤ã® <literal>'</literal>
ã§ã¨ã¹ã±ã¼ãããã¾ãã
</para>
<para>