Changeset 153 for trunk/client/modules.php
- Timestamp:
- Oct 14, 2012, 8:35:58 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules.php
r80 r153 1 1 <?php 2 3 2 4 3 /************************************************************************/ … … 12 11 13 12 // Additional security (Union, CLike, XSS) 14 15 13 // We want to use the function stripos, 16 14 // but thats only available since PHP5. … … 105 103 } 106 104 mysql_query("SET NAMES 'utf8'", $dbi); 105 106 # protezione csrf ottobre 2012 - by l.apolito 107 if (file_exists("inc/csrf-magic/csrf-magic.php")) { 108 include_once 'inc/csrf-magic/csrf-magic.php'; 109 } 110 111 112 113 114 107 115 108 116 # carica i parametri di default sulla tabella … … 220 228 $file=(isset($_GET['file'])) ? htmlentities($_GET['file']):"index"; 221 229 $name=(isset($_GET['name'])) ? htmlentities($_GET['name']):"Elezioni"; 230 $op=(isset($_GET['op'])) ? htmlentities($_GET['op']):"gruppo"; 222 231 if (!isset($_GET['op'])) $_GET['op']="gruppo"; 223 232
Note:
See TracChangeset
for help on using the changeset viewer.