Articles Comments

{ Berbagi, Menulis, Dan Mengajar } Ilmu… » Archive

SOAL UJIAN UAS PKG UBHARA 2013

SOAL-UJIAN-UAS-PKG _senin-selasa SOAL-UJIAN-UAS-PKG _senin-selasa-jumat SOAL-UJIAN-UAS-PKG_senin-selasa-jumat … Read entire article »

Filed under: 7. Operating System

Script php arif ptpn-11.com

<? $param = array( “server” => ‘192.168.11.254’, “speedy” => ‘180.247.54.151’, “dns_lokal” => ‘detik.com’, “ip_lokal” => ‘203.190.241.43’, “dns_global” => ‘google.com’, “ip_global” => ‘118.98.36.35’, ); function getRealIpAddr() { if (!empty($_SERVER[‘HTTP_CLIENT_IP’]))   //check ip from share internet { $ip=$_SERVER[‘HTTP_CLIENT_IP’]; } elseif (!empty($_SERVER[‘HTTP_X_FORWARDED_FOR’]))   //to check ip is pass from proxy { $ip=$_SERVER[‘HTTP_X_FORWARDED_FOR’]; } else { $ip=$_SERVER[‘REMOTE_ADDR’]; } return $ip; } … Read entire article »

Filed under: 7. Operating System

PHP WEB REDIRECT

<?php header( 'Location: http://www.yoursite.com/new_page.html' ) ; ?> … Read entire article »

Filed under: 7. Operating System

No Resi Kiriman Barang TIKI Pak Jokie 4 unit wavecom

02-017-132-0860   … Read entire article »

Filed under: 7. Operating System

Urutan Code Name Debian

agan2 tau gak? sistem operasi linux? pasti kenal juga kan dengan DEBIAN? OS yang digunakan untuk server linux? pasti tau lah. sistem operasi ribet begini mah bagi yang pertama kali mencobanya ada yang unik dari rahasia si OS DEBIAN ini, mau tau? mau tau? mau tau? yang uniknya dari codename2 debian ini merupakan nama nama karakter dari film TOY STORY, hahahha, aneh juga yah sekarang ini, os debian telah mencapai versi 6.0 dengan nama SQUEEZE yang baru rilis pada bulan Febuary 2011 tapi kita tidak akan mebicarakan tentang isi buluk kuduk debiannya, tapi kita akan membahas nama codenamenya saja dimulai dari awal rilis … Read entire article »

Filed under: 7. Operating System

Update Firewall tgl 15 / 06 / 2013

firewall_bca (1) firewall_ikc(bca->ok)   … Read entire article »

Filed under: 7. Operating System

libapache2-mod-php5

Today I wanted to give my users possibility to test their PHP scripts, but without all the fuss with creating virtual hosts for each one of them. My first and obvious choice was userdir – user creates public_html directory in his home dir, puts there files, and those files are accessible via http://servername/~username/ URL. To enable this behavior you only have to enable userdir module (a2enmod userdir), and remember to set correct permissions to the userdir (chmod +x $HOME) and public_html (chmod 755 $HOME/public_html). I did this, and everything was working fine, except PHP scripts – browser wanted to download them instead of displaying proper processed content. It appeared that apache in Debian has by default PHP disabled for userdirs. To enable scripting in this dirctory, open file /etc/apache2/mods-enabled/php5.conf, find that … Read entire article »

Filed under: 7. Operating System

Catatan Aplikasi – Stok

Aplikasi Stok — 1. Klik Transaksi, jika transaksi belum di cetak maka statusnya masih belum di approve, 2. jika transaksi di cetak, dan cetak ditekan tombol print maka setatus akan berubah menjadi Nila Total Transaksi. — view print ada disini –> $this->load->view->cetak_invoice.php — di view –> cetak_invoice.php — ada icon print, nah …icon ini akan melakukan function javascript cetak Line : 5 <script> function cetak(){ var ctk = window.open(”,”,’width=820,height=auto’); ctk.document.open(“text/html”); ctk.document.write(document.getElementById(‘cetakWadah’).innerHTML); ctk.document.close(); ctk.print(); } </script> — tapi sebelum ini script ini membuka form <form method=”post” action=”<?php echo site_url(‘transaksi/masuk_harga’);?>”> melakukan post data ke controller –> transaksi/masuk_harga — ini isi fungsi masuk_harga function masuk_harga(){ $id = $this->input->post(‘trKode’); $hr = $this->input->post(‘trHarga’); $ds = $this->input->post(‘trDiskon’); $pj = $this->input->post(‘trPajak’); $gr = $this->input->post(‘trGrand’); $this->m_transaksi->accept_harga( $id, $hr, $ds, $pj, $gr); redirect(‘transaksi/lihat’); } — Dari sini harga berubah, melakukan update harga terbaru…   … Read entire article »

Filed under: 7. Operating System

Soal Ujian UAS C++ Semester IV POLSAS

UJIAN UAS C++_ polsas UJIAN UAS C++ … Read entire article »

Filed under: 7. Operating System

UAS C++ SAKTI SURABAYA

UJIAN UAS C++ / SAKTI … Read entire article »

Filed under: 7. Operating System