Add info about addslashes()
This commit is contained in:
@@ -38,6 +38,10 @@
|
||||
the "lang/en" files and call them using get_string() or print_string().</li>
|
||||
<li class="spaced">All help files should be translatable - create new texts
|
||||
in the "en/help" directory and call them using helpbutton().</li>
|
||||
<li class="spaced">Incoming data from the browser (sent via GET or POST) automatically
|
||||
has magic_quotes applied (regardless of the PHP settings) so that you can safely
|
||||
insert it straight into the database. All other raw data (from files, or from databases)
|
||||
must be escaped with <font color="#339900">addslashes()</font> before inserting it into the database.</li>
|
||||
</ol>
|
||||
<p> </p>
|
||||
<h2>Coding Style</h2>
|
||||
|
||||
Reference in New Issue
Block a user