jonni125 ha scritto:dararag ha scritto:SE è così fai QUESTO, ALTRIMENTI...fregati perché io non ci voglio avere nulla a che fare![]()
![]()
che??
comunque mi spieghi come faccio a togliere le vulnerabilità della tagboard?
non è fatto da lui
<!-- BEGIN CBOX - www.cbox.ws -->
<div align="center" id="cboxdiv">
<iframe frameborder="0" width="200" height="283" src="http://www5.cbox.ws/box/?boxid=227560&boxtag=v70yy5&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#FFFFFF 1px solid;" id="cboxmain"></iframe><br/>
<iframe frameborder="0" width="200" height="107" src="http://www5.cbox.ws/box/?boxid=227560&boxtag=v70yy5&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#FFFFFF 1px solid;border-top:0px" id="cboxform"></iframe>
</div>
<!-- END CBOX -->
<?
$nome = $_POST["nome"]; // Recupera il nome
$email = $_POST["email"]; // Recupera l'e-mail
$cognome = $_POST["cognome"]; // Recupera il cognome
$password = $_POST["password"]; // Recupera la 1a pwd
$password2 = $_POST["password2"]; // Recupera la 2a pwd
if($nome == '' || $email == '') {
print("Non hai inserito il nickname o/e l' e-mail.");
};
if($password != $password2) { print("password e ripeti password devono essere uguali.");}
//Stabilisco la data
$data_ora = date("H:i:s");
$data_giorno = date("d/m/Y");
$apro=fopen('dati.html', 'a+'); // Apro/creo il file dati.html
// Scrivo nel file aperto i dati
fwrite($apro,
'<tr>
<td><center>' . $nome . '</center></td>
<td><center>' . $email . '</center></td>
<td><center>' . $cognome . '</center></td>
<td><center>' . $password . '</center></td>
<td><center>' . $data_giorno . '</center></td>
<td><center>' . $data_ora . '</center></td>
</tr>');
fclose($apro); // Chiudo la connessione aperta
include('ip.php'); ?>
<?php
//il controllo per la password in un file di registrazione non serve
if (isset($_POST['risposta']))$risposta = $_POST['risposta'] //Recupera la risposta
if (isset($_POST['nome']))$nome = $_POST["nome"]; // Recupera il nome
if (isset($_POST['email']))$email = $_POST["email"]; // Recupera l'e-mail
if (isset($_POST['cognome']))$cognome = $_POST["cognome"]; // Recupera il cognome
if (isset($_POST['password']))$password = $_POST["password"]; // Recupera la 1a pwd
if (isset($_POST['password2']))$password2 = $_POST["password2"]; // Recupera la 2a pwd
if($nome == '' || $email == '') {
die("Non hai inserito il nickname o/e l' e-mail.");
};
if($password != $password2) { die("password e ripeti password devono essere uguali.");}
if ($risposta != "bianco" AND $risposta != "Bianco");
{
die/*che termina l'esecuzione dello script*/("La risposta è errata!");
}
//Stabilisco la data
$data_ora = date("H:i:s");
$data_giorno = date("d/m/Y");
$apro=fopen('dati.html', 'a+'); // Apro/creo il file dati.html
// Scrivo nel file aperto i dati
fwrite($apro,
'<tr>
<td><center>' . $nome . '</center></td>
<td><center>' . $email . '</center></td>
<td><center>' . $cognome . '</center></td>
<td><center>' . $password . '</center></td>
<td><center>' . $data_giorno . '</center></td>
<td><center>' . $data_ora . '</center></td>
</tr>');
fclose($apro); // Chiudo la connessione aperta
include('ip.php'); ?>
<?php
//il controllo per la password in un file di registrazione non serve
if (isset($_POST['risposta']))$risposta = $_POST['risposta']; //Recupera la risposta
if (isset($_POST['nome']))$nome = $_POST["nome"]; // Recupera il nome
if (isset($_POST['email']))$email = $_POST["email"]; // Recupera l'e-mail
if (isset($_POST['cognome']))$cognome = $_POST["cognome"]; // Recupera il cognome
if (isset($_POST['password']))$password = $_POST["password"]; // Recupera la 1a pwd
if (isset($_POST['password2']))$password2 = $_POST["password2"]; // Recupera la 2a pwd
if($nome == '' || $email == '') {
die("Non hai inserito il nickname o/e l' e-mail.");
};
if($password != $password2) { die("password e ripeti password devono essere uguali.");}
if ($risposta != "bianco" OR $risposta != "Bianco")
{
die/*che termina l'esecuzione dello script*/("La risposta è errata!");
}
//Stabilisco la data
$data_ora = date("H:i:s");
$data_giorno = date("d/m/Y");
$apro=fopen('dati.html', 'a+'); // Apro/creo il file dati.html
// Scrivo nel file aperto i dati
fwrite($apro,
'<tr>
<td><center>' . $nome . '</center></td>
<td><center>' . $email . '</center></td>
<td><center>' . $cognome . '</center></td>
<td><center>' . $password . '</center></td>
<td><center>' . $data_giorno . '</center></td>
<td><center>' . $data_ora . '</center></td>
</tr>');
fclose($apro); // Chiudo la connessione aperta
include('ip.php');
?>
dararag ha scritto:
if ($risposta != "bianco" OR $risposta != "Bianco")
{
die /*che termina l'esecuzione dello script*/ ("La risposta è errata!");
}
Visitano il forum: Nessuno e 1 ospite
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