On Fri, 2008-10-10 at 02:02 -0700, Sach Senring wrote: > Fajran Iman Rusadi wrote: > > 2008/10/8 Sach Senring <[EMAIL PROTECTED]>: > > > >> Hai bro... > >> > >> Kmrn baru mau nyoba2 running PHP-MySQL on linux (CentOS 5 & Ubuntu Server > >> 8.04 HardyHerron). Tapi baru pertama nyoba,,, skrip byk yg gak jalan pdhl > >> saat nyoba di Windows kok jalan yach... > >> > > > > "tidak jalan" itu seperti apa? coba buat lebih deskriptif. > > > > > > kalau mau jalanin apache, php, dan mysql di Ubuntu, instal dulu paket2 > > terkahit. > > > > $ sudo apt-get install libapache2-mod-php5 php5-mysql > > > > lalu aktifkan modul php5 andai belum aktif, > > > > $ sudo a2enmod php5 > > > > terakhir, force-reload apache2 > > > > $ sudo /etc/init.d/apache2 force-reload > > > > > > > Source code dibawah ini gak jalan.... Knp tuh yach??? ...Pdhl kalo > diWindows jalan.... > > *form1.php > ---------- > <html> > <head> > <title>Latihan Pemasukan Data</title> > </head> > <form action=form2.php method=get> > Silakan Masukkan Nama Anda : <BR> > <input type=text name=alias> <BR> > <input type=submit Value="Kirim"> > </form> > </body> > </html> > > > > form2.php > ----------- > <html> > <head> > <title>Latihan Menampilkan Variabel</title> > </head> > <body> > <? > print("Halo $alias ... Selamat belajar PHP");
di setel dikit nangkep variabelnya; print ("Halo $_GET['alias'] ... Selamat belajar PHP"); > ?> > </body> > </html> > * > Semoga membantu, -- Regard's SQN -=SafeByLinuX=- ___________________________ http://ipen.opensuse-id.org -- FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab Unsubscribe: kirim email ke [EMAIL PROTECTED] Arsip dan info milis selengkapnya di http://linux.or.id/milis