Ignore:
Timestamp:
Nov 27, 2009, 4:54:48 PM (15 years ago)
Author:
roby
Message:

prova di modifica iniziale

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/modules/Elezioni/index.php

    r2 r10  
    4141if (isset($param['tipo_cons'])) $tipo_cons=intval($param['tipo_cons']); else $tipo_cons='';
    4242if (isset($param['descr_circ'])) $descr_circ=intval($param['descr_circ']); else $descr_circ='';
     43
     44
     45# anti-xss nov. 2009
     46$id_comune=htmlentities($id_comune);
     47$id_comune=intval($id_comune);
     48$perc=floatval($perc);
     49$perc_lista=floatval($perc_lista);
     50$datipdf= htmlentities($datipdf);
     51$op= htmlentities($op);
     52$info= htmlentities($info);
     53$files=htmlentities($files);
     54$lettera=htmlentities($lettera);
     55$ordine=htmlentities($ordine);
    4356
    4457$res = mysql_query("SELECT id_conf FROM ".$prefix."_ele_cons_comune where id_cons_gen='$id_cons_gen' and id_comune='$id_comune'" , $dbi);
Note: See TracChangeset for help on using the changeset viewer.