Kamis, 22 Oktober 2020
Rabu, 07 Oktober 2020
Upload file using VB.NET and PHP
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
Minggu, 04 Oktober 2020
Little Javascript Trick
Move Document to End (Scroll to end)
window.scrollTo(0,document.body.scrollHeight);
Langganan:
Postingan (Atom)
-
Tutorial ini menjelaskan bagaimana menghapus blog di blogger. Pertama, anda harus login ke blogger.com, kemudian pilih blog yang hendak anda...
-
a < script > /** * sends a request to the specified url from a form. this will change the window location. * @param {string} path th...
-
function popup ( idbrg ){ $.ajax({ type : 'POST', url : '?plain=app/barang-harga.php...