Archives for “PHP”

Tutorial kali ini akan membahas konversi antar 3 data interchange yang populer, yaitu JSON, XML dan Array. Untuk library konversi ini, gunakan salah satu library buatan om Rochak Chauchan dari India yang dipublish pada PHPClasses.org. Untuk file librarynya, kurang lebih sebagai berikut:


Memperhatikan banyaknya request yang masuk ke saya untuk menulis tutorial singkat dan berlanjut tentang pembuatan plugin WordPress, akhirnya malam ini satu tutorial singkat bisa saya luncurkan. Semoga kedepan diberi kelancaran. Pengertian Plugin dan WordPress Plugin Pada tutorial bagian pertama ini, sebelum kita membuat plugin WordPress, terlebih dulu kita harus tahu apa sih plugin itu. Berikut [...]


Problem You want to reverse the words or the bytes in a string. Solution Use strrev( ) to reverse by byte, as in Example 1-19. Example 1-19. Reversing a string by byte Example 1-19 prints: Hasil pencarian tentang artikel ini: contoh pemrograman search engine php pencarian siswa, menyimpan data di dbf dengan vb6


Dalam tutorial kali ini kita akan mencoba mendapatkan data pokok dari seorang siswa yang telah memiliki NISN (Nomor Induk Siswa Nasional) yang dikelola oleh Dapondik, Kemendikbud. Tutorial ini akan bertumpu pada penggunaan library cURL dan manipulasi array-string sederhana. Prinsip Kerja Pada dasarnya, data pokok yang akan kita ambil berasal dari hasil pencarian pada situs Dapondik [...]


Pagi ini saya mendapat pemberitahuan dari Zend selaku pengembang utama dari Zend Framework dan Zend Studio, serta organisasi yang berada dibelakang besarnya bahasa PHP bahwa Zend Studio 9.0.1 telah tersedia. Zend Studio is the leading professional-grade PHP development environment, designed to maximize developer productivity by enabling you to develop and maintain code faster, solve application [...]


Problem You want to replace a substring with a different string. For example, you want to obscure all but the last four digits of a credit card number before printing it. Solution Use substr_replace(), as in Example 1-15. Example 1-15. Replacing a substring with substr_replace( ) Hasil pencarian tentang artikel ini: bikin program sqlite3, memecah [...]


Problem You want to extract part of a string, starting at a particular place in the string. For example, you want the first eight characters of a username entered into a form. Solution Use substr( ) to select your substring, as in Example 1-9. Example 1-9. Extracting a substring with substr( ) Discussion Hasil pencarian [...]


Problem You want to know if a string contains a particular substring. For example, you want to find out if an email address contains a @. Solution Use strpos() Hasil pencarian tentang artikel ini: contoh program upload music dengan php, contoh program java sqlite3, menampilkan konten secara acak dengan php, apakah visual basic 6 0 [...]


Anagram sendiri seperti yang kita kenal adalah permainan mengacak kata-kata dalam suatu bahasa. Dengan PHP kita dapat membuat anagram dan kata-kata acak dengan bantuan sebuah Class, Word Solver karya om Arturs Sosins aka ar2rsawseen. Silakan unduh kode sumbernya disini. Untuk menggunakannya, sesuai contoh berikut: 1. Buat interfacenya Hasil pencarian tentang artikel ini: php anagram, kata acak, membuat anagram, belajar [...]


Pengantar Plagiarisme (penjiplakan) adalah salah satu kejahatan, tidak saja secara moral dan etik bermasalah, namun secara hukum. Nah, bagaimana cara mengetahui sebuah karya tulis merupakan hasil jiplakan karya orang lain? tentunya kita harus melakukan deteksi dengan berbagai teknik dan algoritma tersendiri. Dalam posting kali ini, saya akan mencoba mendemonstrasikan deteksi plagiarisme konten dengan teknik komparasi [...]


Bekerja lintas basis data memang menantang, setiap basis data mempunyai ciri kekhasan sendiri, walaupun sama-sama memakai bahasa SQL. Contohnya ketika bekerja lintas MS-SQL (Microsoft SQL) dengan MySQL. Ada beberapa hal yang harus disesuaikan untuk mendapatkan data yang sesuai dengan format-format masing-masing. Karena itulah, konversi mutlak diperlukan untuk beberapa kasus tertentu, contohnya date time MSSQL dan MySQL [...]


It’s  Back to School 2011 !  We’ll be running back to school focused posts throughout the week of September 2nd, highlighting some good tips and suggestions for making the most out of your Moodle usage in 2011-2012.   A school cancellation due to snow, when I was a student, was like winning the lottery.  The day was disrupted and cancelled and I got to go home, go sledding and drink my hot chocolate without a care in the world


Profanity censorship. The purpose of today’s post is to share with you how I enable a-Year-2008 improved Moodle censorship filter on my site.


Bitty Browser is truly an amazing web application . It allows you to embed a website within a website


It’s  Back to School 2011 !  We’ll be running back to school focused posts throughout the week of September 2nd, highlighting some good tips and suggestions for making the most out of your Moodle usage in 2011-2012.   There are Moodle-related events around the country and world on a regular basis.


As usual here are a few schools and institutions “gone Moodle” either in their new adoption, migration or novel use of the platform. Sonoma State University , Rohnert Park, CA , USA [ article ]: SSU is embracing a more technological approach to course delivery and moving slowly away from the all bricks and mortar, student in the seat learning paradigm


A set of PHP scripts that interact with MySQL or MSSQL to develop surveys ( read more )


Malte Ahlers from Germany sent in this great Microsoft Kinect controlled Delta Robot ( translated to English ).


The LM35 Temperature Sensor is a versatile and inexpensive sensor that could be useful in many projects such as a PWM Fan Controller or this LCD Thermometer project . In this case a ATMega8 reads the analog value and updates the LCD to show the current temperature.


Our friend Robert Oschler is running a Kickstarter for his new Robodance 5 - Telepresence Robotics for the Disabled project. Check it out and support it if you can


Let’s look at a example of a URL which does not attract much Search Engine Love. http://www.yoursite.com/product.php?productid=2&categoryid=3. It is hard even for a human to tell what the product is by looking at this URL. With the trick we will use the final URL can look something like this http://www.yoursite.com/product/13/3/2-GB-MP3-player.html. Now if someone looks at this [...]


Dropbox adalah solusi penyimpanan dokumen dan file online lintas perangkat dengan satu akun, sehingga pemilik akun dapat mengakses file-file diberbagai perangkat PC, notebook, netbook, iPad, mobile dll. Dropbox sendiri sudah menyediakan aplikasi-aplikasi bawaan khusus untuk perangkat yang akan digunakan. Bagaimana jika kita ingin mencadangkan sebuah file/dokumen dalam server kita ke akun dropbox dengan aplikasi berbasis [...]


Kita mengenal dua macam variable URL pada form processing dengan PHP, Post dan Get. Ciri khas variable GET adalah, tampaknya variable-variable tersebut pada aplikasi. Untuk itulah, beberapa aplikasi membuat skenario enkripsi pada variable-variable tersebut. Untuk enkripsi yang dipakai pada praktik kali ini adalah enkripsi base64 dengan key, baik encode dan decode. Anda dapat membaca ulasannya disini: http://wp.me/pTjo8-eV [...]


by Matthew E This article describes the steps to create a custom PHP extension DLL for theWindows platform. The Zend API documentation that comes with PHP 5 on Windows(see php_manual_en.chm) does a good job explaining how to write extension methods, parse method parameters, and return values. But there is not currently a good step-by-step tutorial on how to get your first extension [...]


SQLExpress adalah salah satu edisi Microsoft SQL Server (MSSQL) yang didistribusikan secara gratis untuk para hobiest dan tujuan non komersial. Edisi terbaru dari SQLExpress adalah versi 2008, yang dipaketkan dengan Visual Studio 2010. Sejak PHP5 dirilis, dukungan komunitas untuk database MS-SQL tidak berkembang, hingga akhirnya Microsoft merilis sqlsrv untuk menggantikan ekstensi mssql yang sudah mandeg dikembangkan. [...]




Switch to our mobile site