Posts Tagged ‘database’

uninstall LAMP ubuntu 9.10

Posted: 11th December 2009 by arYo in note
Tags: , , , , , , , , ,

berikut langkah2nya sudo invoke-rc.d mysql stop sudo invoke-rc.d apache2 stop sudo update-rc.d -f apache2 remove sudo update-rc.d -f mysql remove hasil dari commend di atas seperti ini Removing any system startup links for /etc/init.d/apache2 … /etc/rc0.d/K09apache2 /etc/rc1.d/K09apache2 /etc/rc2.d/S91apache2 /etc/rc3.d/S91apache2 /etc/rc4.d/S91apache2 /etc/rc5.d/S91apache2 /etc/rc6.d/K09apache2 Removing any system startup links for /etc/init.d/mysql … /etc/rc0.d/K21mysql /etc/rc1.d/K21mysql /etc/rc2.d/S19mysql /etc/rc3.d/S19mysql /etc/rc4.d/S19mysql [...]

LAMP singkatan dari Linux, Apache, MySQL, PHP. tutorial ini memperlihatkan cara install  Apache2 webserver di Ubuntu 9.10 server dengan PHP5 support (mod_php) dan MySQL support. I do not issue any guarantee that this will work for you! 1 Preliminary Note In this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100 atau localhost. [...]

Trik mencegah SQL injection

Posted: 21st November 2009 by arYo in note
Tags: , ,

ini ada penjelasan bagus mengenai SQL Injection : http://www.unixwiz.net/techtips/sql-injection.html Sekarang bagaimana cara memproteksi form inputan kita dari serangan model seperti itu.. php sudah menyediakan fungsi untuk itu : berikut scriptnya // menggunakan ctype_alnum if ((ctype_alnum($username) == false) or (ctype_alnum($pass) == false)) { die (“Maaf, anda harus menginputkan alphanumerik”) : } ?> lebih jelasnya bisa liat [...]