http://www.MegaLab.it/response.php?tito ... 20spammare!
ste_95 ha scritto:Potresti anche fare in modo che visualizzi il testo che devi mettere nell'indirizzo per vedere quel testo...
<?php
$url = 'http://robertoxxx.altervista.org'; // URL DEL SITO SENZA IL / FINALE
if($_GET)
{
echo $_GET['messaggio'];
echo "<br><br><br>Url per visualizzare il testo: <br><textarea readonly id='text'>" . $url . $_SERVER['REQUEST_URI'] . "</textarea><br><button onclick='text.focus(); text.select()'>Seleziona tutto</button>";
}
else
{
echo '
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Messaggio personalizzato..</title>
</head>
<body>
<form method="get">
Inserisci il messaggio(Per andare a capo usa <br>!):<br />
<textarea name="messaggio"></textarea><br />
<input type="submit" value="Visualizza Messaggio" />
</form>
</body>
</html>';
}
?>
<?php
function generaPwd()
{
$pass = rand(1,100000000000);
echo $pass;
}
if($_GET['mode'] == 'pwdg')
{
echo "Generatore di Password Numerale<br>";
echo "Password generata: ";
generaPwd();
}
else if($_GET['mode'] == 'md5')
{
if($_POST)
{
$pwd = $_POST['password'];
$cripted = md5($pwd);
echo 'Password criptata in MD5: ' . $cripted;
}
else
{
?>
<form method="post">
Inserisci qui la tua password da criptare in MD5:<br />
<input type="text" name="password" /><br />
<input type="submit" value="Cripta Password" />
</form>
<font color="red"><b>Nota Importante: Una volta criptata la password in MD5, non si potrà più decriptarla.</b></font>
<?php
}
}
else
{
echo "Scegli una Modalità:";
echo "<br><a href='?mode=pwdg'>Generatore di Password Numerale</a>";
echo "<br><a href='?mode=md5'>Convertitore di password in MD5</a>";
}
?>
Visitano il forum: Nessuno e 0 ospiti
megalab.it: testata telematica quotidiana registrata al Tribunale di Cosenza n. 22/09 del 13.08.2009, editore Master New Media S.r.l.; © Copyright 2008 Master New Media S.r.l. a socio unico - P.I. 02947530784. GRUPPO EDIZIONI MASTER Spa Tutti i diritti sono riservati. Per la pubblicità: Master Advertising