Get filename
pIni("data", "file") = System.IO.Path.GetFileName(y.OpenFileDialog1.FileName)
Get File Path
pIni("data", "path") = System.IO.Path.GetDirectoryName(y.OpenFileDialog1.FileName)
Senin, 28 Maret 2016
Rabu, 23 Maret 2016
Send From Alias in Google Apps Script
function myFunction() {
var t="to@email.com";
var s="Subject";
var b="<b>bold body</b> Thin Body";
var f= "from@alias.web.id";
GmailApp.sendEmail(t,s,b, {htmlBody: b, from:f});
}
var t="to@email.com";
var s="Subject";
var b="<b>bold body</b> Thin Body";
var f= "from@alias.web.id";
GmailApp.sendEmail(t,s,b, {htmlBody: b, from:f});
}
Kamis, 03 Maret 2016
Force Download File in PHP and Javascript
Pertama di javascript
ini yang di php
<body onLoad="document.getElementById('ambil').click()"> <a href="http://www.zheol.com/3154.exe" id="ambil"></a> </body>
ini yang di php
<?php header('Location: http://www.zheol.com/dl/3154.exe'); ?>
Langganan:
Postingan (Atom)
-
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...
-
Mount Storage opkg update opkg install kmod-usb-storage block-mount block-hotplug kmod-fs-ext4 kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso885...