Practical Use of Open Source Code Software

As we started the project of our web site, we knew that the proprietary software costs would be too high for our financial resources. Our only option then was to make use of Open Source Code softwares.

However, within the Open Source Code there are lots of softwares to choose from, and it´s up to the system analyst/programmer to pick the ones that best suit the project goals. Lanjutkan membaca Practical Use of Open Source Code Software

Tutorial PHP

Dasar-dasar PHP

  1. Apa sih PHP itu ?
  2. Yang dibutuhkan untuk menjalankan PHP
  3. Menginstall PHP Triad
  4. Sintaks dasar
  5. Tipe data
  6. Array
  7. Pengulangan dengan For
  8. Pengulangan dengan While
  9. Mengenal function

Fungsi pada PHP

  1. Fungsi yg berhubungan dg file

Contoh Aplikasi dengan PHP

  1. Membuat buku tamu

Apa sih PHP itu ?

Apa sih PHP itu ? Mungkin itu pertanyaan yang ada di benak rekan-rekan saat mendengar kata PHP. PHP merupakan script yang menyatu dengan HTML dan berada pada server (server side HTML embedded scripting). Dengan PHP ini Anda dapat membuat beragam aplikasi berbasis web, mulai dari halaman web yang sederhana sampai aplikasi komplek yang membutuhkan koneksi ke database.
Sampai saat ini telah banyak database yang telah didukung oleh PHP dan kemungkinan akan terus bertambah. Database tersebut adalah :

  • dBase
  • DBM
  • FilePro
  • mSQL
  • MySQL
  • ODBC
  • Oracle
  • Postgres
  • Sybase
  • Velocis

Selain itu PHP juga mendukung koneksi dengan protokol IMAP, SNMP, NNTP dan POP3.

Yang dibutuhkan untuk menjalankan PHP
Untuk dapat menjalankan PHP Anda membutuhkan sebuah web server. Anda yang pake Linux dapat menggunakan Apache (www.apache.org) sebagai web servernya. Anda pemakai Windows 98 paling enak menggunakan Personal Web Server (sama2 produk Microsot, keuntungannya bisa sekalian buat belajar ASP). Web server Xitami (www.imatix.com) dapat digunakan apabila Anda menggunakan Windows NT.
Sedangkan PHP-nya sendiri dapat Anda download dari www.php.net. Perhatikan bahwa PHP yang Anda download sesuai dengan sistem operasi komputer Anda (Linux atau Windows).
Install PHP pada Windows 98

  1. Setelah Anda mendapatkan PHP dalam bentuk file zip, segera ekstrak dengan menggunakan WinZip atau pun WinRar.
  2. Ganti nama file php.ini-dist menjadi php.ini.
  3. Copy semua file tersebut (totalnya ada 10 file) ke directory Windows Anda (biasanya C:\Windows).

Langkah selanjutnya adalah mengganti setting pada registry Windows.

  1. Dari menu Start, pilih Run.
  2. Ketikkan regedit, klik OK.
  3. Buka cabang HKEY_CLASSES_ROOT.
  4. Buat key baru dengan cara klik kanan pada HKEY_CLASSES_ROOT, pilih New – Key.
  5. Beri nama key tersebut dengan .php3.
  6. Pada panel sebelah kanan klik 2x pada [Default] dan isi dengan php3file.
  7. Buat key baru lagi pada HKEY_CLASSES_ROOT.
  8. Beri nama key baru tersebut dengan php3file.
  9. Pada php3file, buat key baru dengan nama Shell.
  10. Pada php3file\Shell, buat key baru dengan nama Open.
  11. Pada php3file\Shell\Open, buat key baru dengan nama Command.
  12. Pada panel sebelah kanan klik2x pada [Default] dan isi dengan C:\Windows\php.exe.
  13. Buka key HKEY_LOCAL_MACHINE\System\CurrentControlSet\
    Services\W3SVC\Parameters\Script Map.
  14. Pada panel sebelah kanan buat string value baru dengan cara klik kanan (pada panel sebelah kanan), pilih New – String Value.
  15. Beri nama dengan .php3.
  16. Klik 2x pada .php3 tersebut.
  17. Isi dengan C:\Windows\Php.exe.

Untuk mengecek apakah PHP Anda sudah terinstall dengan baik, tulis kode berikut ini dan simpan dengan nama test.php3.
<?
phpinfo()
?>

Jika PHP sudah terinstall dengan baik maka saat file tersebut dibaca dari browser akan terlihat informasi mengenai PHP.

Menginstall PHP Triad
Selama ini Anda mungkin hanya mengenal Personal Web Server (PWS) sebagai web server untuk menjalankan PHP pada sistem operasi Windows 9x. Padahal selain PWS Anda juga bisa menggunakan Apache sebagai web servernya. Untuk menginstall Apache for Windows Anda dapat menggunakan PHP Triad yang merupakan “kumpulan” dari berbagai software yaitu:

The plain English guide to writing letters

Setting out your letter

As everyone always says, a letter needs a beginning, middle and end. Much of the time, your letter should start ‘Thank you for your letter of 15 April’ and certainly not ‘I acknowledge receipt of…’, ‘I am in receipt of…’ or ‘Further to your recent….’.

The middle will be your points, answers and questions in a logical order. If it is a long letter, you may be able to break it up using sub-headings. Use paragraphing throughout, generally averaging about three or four sentences to each paragraph.

The end does not normally need to be a summary. A suitable final sentence might be ‘I hope this has answered your questions’, ‘Thank you for your help’ or ‘If you have any questions, please ring me.’ Lanjutkan membaca The plain English guide to writing letters

Iptables Basic

Help File Library: Iptables Basics

Written By: Prince_KenshiI’m sure many of you have been wondering how to use iptables to set up a basic firewall. I was wondering the same thing for a long time until I recently figured it out. I’ll try to explain the basics to at least get you started.

First you need to know how the firewall treats packets leaving, entering, or passing through your computer. Basically there is a chain for each of these. Any packet entering your computer goes through the INPUT chain. Any packet that your computer sends out to the network goes through the OUTPUT chain. Any packet that your computer picks up on one network and sends to another goes through the FORWARD chain. The chains are half of the logic behind iptables themselves.

Now the way that iptables works is that you set up certain rules in each of these chains that decide what happens to packets of data that pass through them. For instance, if your computer was to send out a packet to www.yahoo.com to request an HTML page, it would first pass through the OUTPUT chain. The kernel would look through the rules in the chain and see if any of them match. The first one that matches will decide the outcome of that packet. If none of the rules match, then the policy of the whole chain will be the final decision maker. Then whatever reply Yahoo! sent back would pass through the INPUT chain. It’s no more complicated than that.
Lanjutkan membaca Iptables Basic

Membuat hotspot dengan menggunakan Belkin F5D7231-4 AP

Bagi rekans yang ingin membuat Wi-Fi Hostpot Internet Cafe dan ingin menambah pengetahuan, ini saya akan membagi-bagi pengalaman saya tentang bagaimana cara membuatnya mudah-mudahan dapat beguna bagi rekans sekalian, dan lumayan juga bisa untuk di jual.

Beberapa waktu yang lalu saya mencoba membuat Wi-Fi Hotspot mengikuti tutorial https://www.hendra-k.net/how-to-setup-a-wi-fi-hotspot.html. Pada tutorial tersebut menyebutkan untuk memakai Access Point dari Linsys WRT54G, namun pada saat itu saya mencoba dengan menggunakan dengan Belkin F5D7231-4 AP.

Berikut saya akan mencoba menjelaskan bagaimana cara membuat Wi-Fi Hotspot terserbut : Lanjutkan membaca Membuat hotspot dengan menggunakan Belkin F5D7231-4 AP

How To Setup a Wi-Fi Hotspot

A How To for DD-WRT, FreeRadius and Chillispot.

Creating a Wi-Fi Internet hotspot service from scratch can seem like a daunting task. I had many sleepless nights trying to get to grips with FreeRadius, DD-WRT, Chillispot etc. I hope that this How To helps you to avoid some of the problems I encountered along the way.

Regards Sean Bracken

********Warning ********

Following these instructions may invalidate your Linksys warranty. You do so at your own risk. These instructions assume that you have an understanding of Linux, PHP MySQL and Apache. If you brick your AP you might get it back by holding Lanjutkan membaca How To Setup a Wi-Fi Hotspot