codice:
<html>
<head>
<title>Inserisci Sala Prove</title>
</head>
<body background="weblink18.jpg">
<center>
<?
if (B1)
// variabile per return
$nl = chr(13);
// prendo i dati dal file e li metto in $comm
$comm = join ('', file ("saleprova.txt"));
if (!($T2))
die ("Manca il Nome della Sala");
if (!($T3))
die ("Manca l'Indirizzo");
if (!($D1))
die ("Manca la Città");
// apro il file dai e cancello tutto
$f = fopen("saleprova.txt","w+");
flock ($f,2);
fputs ($f, "Nome della Sala: ".strtoupper($T2)."
");
fputs ($f, "Indirizzo: ".strtoupper($T3)."
");
fputs ($f, "Email: ".($T27)."
");
fputs ($f, "Città: $D1
");
if ($T4.$T5.$T6!="") fputs ($f, "Orario Lunedì: ".strtoupper($T4)." ".($T5)." ".($T6)."
");
if ($T7.$T8.$T9!="") fputs ($f, "Orario Martedì: ".strtoupper($T7)." ".($T8)." ".($T9)."
");
if ($T10.$T11.$T12!="")fputs ($f, "Orario Mercoledì: ".strtoupper($T10)." ".($T11)." ".($T12)."
");
if ($T13.$T14.$T15!="")fputs ($f, "Orario Giovedì: ".strtoupper($T13)." ".($T14)." ".($T15)."
");
if ($T16.$T17.$T18!="")fputs ($f, "Orario Venerdì: ".strtoupper($T16)." ".($T17)." ".($T18)."
");
if ($T19.$T20.$T21!="")fputs ($f, "Orario Sabato: ".strtoupper($T19)." ".($T20)." ".($T21)."
");
if ($T22.$T23.$T24!="")fputs ($f, "Orario Domenica: ".strtoupper($T22)." ".($T23)." ".($T24)."
");
if ($T25!="")fputs ($f, "Costo Orario: ".strtoupper($T25)."
");
if ($T26!="")fputs ($f, "Metri Quadri: ".strtoupper($T26)."
");
if ($S1!="")fputs ($f, "Modalità Prenotazione: $S1
");
if ($T28!="")fputs ($f, "Marca Batteria: ".strtoupper($T28)."
");
if ($D2!="")fputs ($f, "Stato Batteria: $D2
");
if ($T29!="")fputs ($f, "Piatti: ".strtoupper($T29)."
");
if ($T30!="")fputs ($f, "Totale Amplificatori Chitarra: ".strtoupper($T30)."
");
if ($T31.$T36!="")fputs ($f, "Marca e Watt: ".strtoupper($T31)." ".($T36)."
");
if ($T32.$T37!="")fputs ($f, "Marca e Watt: ".strtoupper($T32)." ".($T37)."
");
if ($T323.$T38!="")fputs ($f, "Marca e Watt: ".strtoupper($T33)." ".($T38)."
");
if ($T324.$T39!="")fputs ($f, "Marca e Watt: ".strtoupper($T34)." ".($T39)."
");
if ($T35.$T40!="")fputs ($f, "Marca e Watt: ".strtoupper($T35)." ".($T40)."
");
if ($T41!="")fputs ($f, "Totale Amplificatori Basso: ".strtoupper($T41)."
");
if ($T42.$T47!="")fputs ($f, "Marca e Watt: ".strtoupper($T42)." ".($T47)."
");
if ($T34.$T48!="")fputs ($f, "Marca e Watt: ".strtoupper($T43)." ".($T48)."
");
if ($T44.$T49!="")fputs ($f, "Marca e Watt: ".strtoupper($T44)." ".($T49)."
");
if ($T45.$T50!="")fputs ($f, "Marca e Watt: ".strtoupper($T45)." ".($T50)."
");
if ($T46.$T51!="")fputs ($f, "Marca e Watt: ".strtoupper($T46)." ".($T51)."
");
if ($T52!="")fputs ($f, "Impiano Voci: ".strtoupper($T52)."
");
if ($T53.$T57!="")fputs ($f, "Marca e Watt: ".strtoupper($T53)." ".($T57)."
");
if ($T54.$T58!="")fputs ($f, "Marca e Watt: ".strtoupper($T54)." ".($T58)."
");
if ($T55.$T59!="")fputs ($f, "Marca e Watt: ".strtoupper($T55)." ".($T59)."
");
if ($T56.$T60!="")fputs ($f, "Marca e Watt: ".strtoupper($T56)." ".($T60)."
");
if ($T61!="")fputs ($f, "Mixer n° canali: ".strtoupper($T61)."
");
if ($T62!="")fputs ($f, "Marca: ".strtoupper($T62)."
");
if ($T63!="")fputs ($f, "Micofoni n°: ".strtoupper($T63)."
");
if ($T64!="")fputs ($f, "Marca: ".strtoupper($T64)."
");
fputs ($f, "Altre Info: $S2
<hr>
$nl");
fputs ($f, $comm);
flock ($f,3);
fclose ($f);
echo "Annuncio inserito";
?>
<style type="text/css">
div.counter {
margin-top: 20px;
color: blue;
font-size: 60pt;
cursor: default;
}
</style>
<script src="coolRedirect.js" type="text/javascript"></script>
</head>
<body onload="coolRedirect('vedisale.php')">
<div align="center">
Attendi per vedere il tuo annuncio
<div class="counter" id="COOL_REDIRECT">5</div>
</body>
</html>
ma non credo che dipenda da questo.....