6630 Insert SIM solution![]() |
8xxx USB / LG cavo caricabatteria |
DB2020 Unlock added: k800i - w850 - k618i |
TRIP 2007 : Italy / United Kingdom / Thailand / Australia |
as title said slot74 ask this
ok:
from VNC / RealVNC doc U need “F8″ key - try && post 2me Ur feedback
<?php
global $count;
$count = 0;
Function fact($n)
{ $ris=1;
for ($i=1; $i<=$n; $i++)
$ris *= $i;
return $ris;
}
Function Ana($prefix,$testo)
{ global $count;
$l=strlen($testo);
if ($l>1)
{ $i =1;
while ($i<=$l)
{ $prefix1 = $prefix.substr($testo,$i-1,1);
$testo1 = substr($testo,0,$i-1).substr($testo,$i,$l-$i);
Ana($prefix1,$testo1);
$i = $i +1;
}
}
else
{ $count = $count +1;
echo ‘['.$count.'] <strong>’.$prefix.$testo.’</strong><br/>’;
}
}
Function Anagramma($testo)
{ echo ‘<b>Testo: </b> ‘.$testo.’ ’;
$l=strlen($testo);
echo ‘<b>Lunghezza: </b>’.$l.’ ’;
echo ‘<b>Anagrammi: </b>’.fact(strlen($testo)).’</b><br/><br/><br/>’;
Ana(”,$testo);
echo ‘<br/><br/><br/>’;
}
echo ‘<br/><br/>’;
if (isset($_POST['w']))
{ $testo=$_POST['w'];
Anagramma($testo);
}
?>
<form method=”POST” action=”<?php echo $_SERVER['PHP_SELF']?>”>
<input type=”text” name=”w” size=”20″><input type=”submit” value=”Anagramma” name=”s”>
</form>