didou Wed Feb 18 12:09:17 2004 EDT
Modified files:
/phpdoc/en/security database.xml
Log:
role=sql
http://cvs.php.net/diff.php/phpdoc/en/security/database.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc/en/security/database.xml
diff -u phpdoc/en/security/database.xml:1.1 phpdoc/en/security/database.xml:1.2
--- phpdoc/en/security/database.xml:1.1 Mon Jan 26 08:22:25 2004
+++ phpdoc/en/security/database.xml Wed Feb 18 12:09:16 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<!-- splitted from ./index.xml, last change in rev 1.66 -->
<sect1 id="security.database">
<title>Database Security</title>
@@ -181,7 +181,7 @@
break in by appending a <function>urlencode</function>'d form of the
following to the URL
<informalexample>
- <programlisting>
+ <programlisting role="sql">
<![CDATA[
// in case of PostgreSQL
0;
@@ -234,7 +234,7 @@
The static part of the query can be combined with another
<literal>SELECT</literal> statement which reveals all passwords:
<informalexample>
- <programlisting>
+ <programlisting role="sql">
<![CDATA[
'
union select '1', concat(uname||'-'||passwd) as name, '1971-01-01', '0' from
usertable;