ci sono riuscito
controllo tag - [*/url]
[PHP]<?
$message = " The first expression (expr1) is evaluated (executed) once unconditionally at the beginning of the loop.
In the beginning of each iteration, expr2 javascript:alert(cols) is evaluated. If it evaluates to TRUE, the loop continues and the nested statement(s) are executed. If it evaluates to FALSE, the execution of the loop ends.
http://www.google.it
At the end of each iteration, expr3 is evaluated (executed). javascript:alert funzione get ";
$urlaperto = explode("", $message);
$conteggio = count($urlaperto);
for ($i = 1; $i <= $conteggio; $i++) {
// echo $i;
if (eregi('', $urlaperto*)) {
//seconda funzione
$tagurl = explode("", $urlaperto*);
if (eregi('javascript:alert', $tagurl[0])) {
//è stata trovata
echo " contiene caratteri non consentiti! $tagurl[0]";
}
}
}
?>[/PHP]