Dim cnn As New _
OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _
this.appDir & "\data\keuangan.mdb;Jet OLEDB:Database Password=ppp;")
' OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & _
' this.appDir & "\data\keuangan.mdb;Jet OLEDB:Database Password=ppp;")
Dim cmd As New OleDb.OleDbCommand
cmd.Connection = cnn
cmd.CommandType = CommandType.Text
cmd.CommandText = "delete * from trx_spp where `nospp` = '" & e.Link.Split("|")(1) & "' and " & this.sFilter
Using cnn
cnn.open()
cmd.ExecuteNonQuery()
cnn.Close()
End Using
=======================
'Friend koneksi As New _
' Odbc.OdbcConnection("Driver={Microsoft Access Driver (*.mdb)};dbq=" & _
' this.appDir & "\data\keuangan.mdb;defaultdir=D:\;Uid=Admin;Pwd=-+--+;")
'Friend koneksi As New _
' OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & _
' this.appDir & "\data\keuangan.mdb;Jet OLEDB:Database Password=-+--;")
Friend koneksi As New _
OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _
this.appDir & "\data\keuangan.mdb;Persist Security Info=False;Jet OLEDB:Database Password=-+;")
Senin, 22 Agustus 2016
Rabu, 17 Agustus 2016
Redirect using .htaccess
Redirect include subfolder
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^layanankilat\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.layanankilat\.com$
RewriteRule (.*)$ http://prosides.magelangsoft.com/$1 [R=301,L]
</IfModule>
Redirect without subfolder<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^situsdesa\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.situsdesa\.com$
RewriteRule (.*)$ http://www.zheol.com/ [R=301,L]
</IfModule>
Redirect to root folder<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^.+$ / [R=301,NC,L]
</IfModule>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Redirect non to https
RewriteCond %{HTTP_HOST} ^pastioke\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://pastioke.com/$1 [R,L]
sumber : cholar.com/blog/redirect-an-old-domain-to-a-new-domain-with-htaccess/
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...