HTML Check Checked
dd
HTML Check Checked
dd
VB COde
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Using wc As New System.Net.WebClient()
wc.UploadFile("http://apps.pastioke.com/info.php", "x:\wa.php")
End Using
End Sub
PHP CODE
<?
if($_FILES){
$myfile = fopen("newfile.txt", "w") or die("Unable to open file!");
$txt = print_r($_FILES, true);
$target_file = 'ff.txt';
move_uploaded_file($_FILES["file"]["tmp_name"], $target_file);
fwrite($myfile, $txt);
$txt = print_r($_GET);
fwrite($myfile, $txt);
fclose($myfile);
}
?>
s
Move Document to End (Scroll to end)
window.scrollTo(0,document.body.scrollHeight);
const divs = document.querySelectorAll('.hitung');
or
const divs = document.querySelector('button[type="submit"]');
divs.forEach(el => el.addEventListener('keyup', event => {
var fm=el.form;
fm['a[harga1]'].value=fm["a[bruto]"].value - (fm["a[diskon1]"].value * fm["a[bruto]"].value / 100);
fm['a[harga2]'].value=fm["a[harga1]"].value - (fm["a[diskon2]"].value * fm["a[harga1]"].value / 100);
fm['a[harga3]'].value=fm["a[harga2]"].value - (fm["a[diskon3]"].value * fm["a[harga2]"].value / 100);
fm['a[harga]'].value=fm['a[harga3]'].value;
event.preventDefault();
//console.log(event.target.classList[1]);
}));
form to display data
code to load data
code to display
$mulai=explode(":",$logtugas->jammulai)[0]*3600 + explode(":",$logtugas->jammulai)[1]*60 + explode(":",$logtugas->jammulai)[2]*1;
$sekarang=date("H")*3600 + date("i")*60 + date("s")*1;
$akhir=$mulai*1 + ($logtugas->durasi*60) ;
$sisawaktu=$akhir*1 - $sekarang*1;