1 2 3 4 5 6 7 8 9 10 11 12 13
| if ($file_size_true==$file_size) {
$file_size_format = formatsize($file_size_true);
$req_ins = "insert delayed into trans(id_trans,iden_client,file,serveur,type,size) values('','$idd','$entry','$name','téléchargé','$file_size_format')";
$result = mysql_query($req_ins) or die("erreur d\'insertion : ".mysql_error());
} else {
$req_ins = "insert delayed into trans(id_trans,iden_client,file,serveur,type,size) values('','$idd','$entry','$name','téléchargé','download error')";
$result = mysql_query($req_ins) or die("erreur d\'insertion : ".mysql_error());
} |
Partager