Skip to main content

Posts

Showing posts from June, 2017

Ion Cube

Dalam hal ini localhost yang saya pakai adalah XAMPP dan terinstall pada operating system Windows . Jika anda menggunakan localhost lainnya, seperti WAMP, atau mengistallnya pada operating system lainnya, silahkan di sesuaikan lokasinya. Atau, jika anda tidak/belum menggunakan XAMPP atau ingin menginstallnya silahkan download filenya di https://www.apachefriends.org/download.html Oke, langsung saja, saya anggap anda telah mengintall XAMPP pada komputer anda dan sudah menjalankannya. Buka link http://localhost, lalu lihat sidebar sebelah kiri dan cari tulisan phpinfo(). Setelah mengklik bagian seperti diatas, maka akan terlihat secara details spesifikasi php yang anda gunakan, dan fungsi atau ekstensi apa saja yang sudah jalan atau terinstall pada localhost anda. Untuk menginstall ioncube loader, maka bagian yang perlu ada perhatikan adalah pada tab php version, compilernya serta lokasi file php.ini. Dalam gambar diatas, versi php yang saya gunakan pada localho

Aplikasi Raport SD Kurikulum 2013

<?php $path  = $_SERVER['DOCUMENT_ROOT'];     $path1 = "/raport/assets/mpdf60/mpdf.php";     include ($path.$path1); ob_start(); ?> <?php $link = mysqli_connect("localhost", "root", "", "raport"); $id_raport = $_GET['id_raport']; $id_raport_siswa = $_GET['id_raport_siswa']; $kelas = '1'; $semester = '2'; ?> <style> td {     padding: 3px 5px 3px 5px;     border-right: 1px solid #666666;     border-bottom: 1px solid #666666; } .head td {     font-weight: bold;     font-size: 12px;     background: #b7f0ff; } table .main tbody tr td {     font-size: 12px; } table, table .main {     width: 100%;     border-top: 1px solid #666;     border-left: 1px solid #666;     border-collapse: collapse;     background: #fff; } h1 {     font-size:20px; } </style> <?php     $query_siswa = "SELECT * FROM data_siswa WHERE id_raport = '$id_raport' AND id_raport_siswa = '$id_ra

MPDF - php

<?php include ( './mpdf57/mpdf.php' ) ;   ob_start ( ) ; ?>   <style> td { padding: 3px 5px 3px 5px; border-right: 1px solid #666666; border-bottom: 1px solid #666666; }   .head td { font-weight: bold; font-size: 12px; background: #b7f0ff; }   table .main tbody tr td { font-size: 12px; }   table, table .main { width: 100%; border-top: 1px solid #666; border-left: 1px solid #666; border-collapse: collapse; background: #fff; }   h1 { font-size:20px; } </style>   <table class='main' repeat_header="1" cellspacing="0" width="100%" style="width:100%"> <thead> <tr class="head"> <td align='center' height="30">No.</td> <td>Kode Barang</td> <td align='center'>Nama Barang</td> <td align='right'>Saldo Stok</td> </tr> </thead>   <

Hack XLXS

When Microsoft introduced Excel 2007, they introduced new file types – we all know them by now: xlsx, xlsm, xltx, etc. These file types are often referred to as Open XML. That’s because the new file types are essentially packages that contain XML files. If you take an xlsx file and change the extension to zip, you’ll be able to see all the xml documents that make up your Excel file. The new Open XML file types come with lots of benefits. One of the major benefits is that you can change the content and properties of an Excel 2007 file simply by manipulating the XML documents that make it up. Well, while playing with the Open XML files, I discovered that you can remove spreadsheet protection simply by applying a simple edit to the xml within the Excel file. Say I have a workbook where Sheet1 is password protected. So I think to myself, “the nerve of some people – trying to keep me out of their spreadsheet”. I decide that I want to unprotect this sheet, but I don’t