h1

Setting WML di Apache 2.2

April 7, 2009

setelah berhari2 pusing supaya script php bisa digabung dengan wml, akhirnya dapet juga jawabannya, ternyata ada settingan tambahan, berikut langkah2 nya :

1.  Buka File mime.types (Apache/conf/mime.types) tambahkan tulisan dibawah ini pada baris akhir(g mesti di baris akhir sih)

text/vnd.wap.wml   wml
application/vnd.wap.wmlc   wmlc
text/vnd.wap.wmlscript   wmls
application/vnd.wap.wmlscriptc   wmlsc
image/vnd.wap.wbmp   wbmp

2. Restart Apache

3. Buat File Untuk mengetes apakah, php sudah bisa digabung dengan wml

h1

Repair Ubuntu Desktop Resolution

March 30, 2009

berikut ini langkah-langkah memperbaiki resolusi display yang berubah

1. Install displayconfig-gtk –> sudo apt-get install displayconfig-gtk
2. jalankan displayconfig-gtk –> sudo displayconfig-gtk
3. setting pada GUI displayconfig-gtk
^ Model –> Monitor 1024 x 768
^ Resolution –> 1024 x 768 at 60 Hz
^ Klik icon Disket (save), tentukan lokasi dan nama file konfigurasinya : /home/xxx/settingDisplay.conf
4. Backup file xorg.conf –> sudo cp /etc/X11/xorg.conf /home/xxx/xorg.conf
5. Pindahkan file settingDisplay.conf ke /etc/X11 –> sudo mv /home/xxx/settingDisplay.conf /etc/X11/xorg.conf
6. Restart X11 –> ctrl + alt + backspace
7. Jika tidak mengalamai perubahan, edit file xorg.conf menjadi
SubSection “Display”
Depth 24
Virtual 1024 768
Modes “1024×768@60″ “1024×768@70″ “1024×768@75″ “832×624@75″ “800×600@60″ “800×600@75″ “800×600@72″ “800×600@56″ “640×480@75″ “640×480@72″ “640×480@60″
EndSubSection

semoga berhasil

h1

Validasi Form dengan PHP

January 8, 2009

Anda mau membuat peraturan untuk form-form di website anda??
Seperti:

- Nomor Telephone Harus memakai awalan “0″ dan minimum 5 angka
- Email Harus ada “@” dan .com / .net atau apa saja
- Password harus sama dengan ReTypePassword
- Atau jika Form ada yang kosong salah satu maka batalkan proses

Untuk memvalidasi lebih baik gunakan PHP dari pada javascript

Oke ini Penjelasan script nya:

Read the rest of this entry »

h1

Can’t connect to MySQL server on ‘host’ (111) on ubuntu

December 15, 2008

coba connect ke database mysql di komputer host pake navicat/console dapet error yang sama :

Can’t connect to MySQL server on ‘192.168.1.68′ (111)

Read the rest of this entry »

h1

Error When Install Apache2 & PHP5 in ubuntu

December 12, 2008

langsung aja dech…

Pas jalanin perintah “make install” (install php5 di ubuntu) muncul error kayak gini :

Installing PHP SAPI module:       apache2handler
/usr/share/apache2/build/instdso.sh SH_LIBTOOL=’/usr/share/apr-1.0/build/libtool’ libphp5.la /usr/lib/apache2/modules
/usr/share/apr-1.0/build/libtool –mode=install cp libphp5.la /usr/lib/apache2/modules/ Read the rest of this entry »

h1

Repair datafile di oracle

December 1, 2008

hari ini disalah satu server billing ada error : ORA-27072: skgfdisp: I/O error
Linux-x86_64 Error: 30: Read-only file system.
lalu si bos googling sana sini dan akhirnya dapet jawabannya.
setelah errornya bisa diperbaiki, akhirnya si bos dengan hati yang riang mau berbagi dengan kita2 semua
menurut si bos, berikut ini langkah2 untuk mengantisipasi error tersebut:

:: Offline kan tablespace yang bermasalah
SQL> alter tablespace “nama tablespace” offline;
:: Recover datafile yang tablespacenya bermasalah
SQL> recover datafile ‘/path/nama datafile.dbf’;
:: Online kan kembali tablespace yang tadi di offline kan
SQL> alter tablespace nama_tablespace online;

h1

OHS(Oracle HTTP Server) Error

October 27, 2008

Beberapa hari yang lalu,si bos minta diinstall Oracle HTTP Server(OHS) dari CD Companion nya Oracle.

Proses installasi tahap awal berjalan lancar, tapi ketika diakhir installasi muncul error.

ketika dipanggil lewat console juga sama

./opmnctl startall
Read the rest of this entry »

h1

Memindahkan Datafile Pada Oracle 10g

August 15, 2008

Langsung aja dech g usah basa-basi. Jika ingin memindahkan datafile oracle dari satu lokasi disk/partisi, maka langkah-langkahnya adalah sebagai berikut :

  • Masuk ke sqlplus, cari lokasi dimana datafile oracle tersimpan:

Read the rest of this entry »

h1

Koneksi php ke oracle

May 6, 2008

setelah berhasil install oracle di pc, akhirnya coba-coba buat script pake php untuk bisa connect ke oracle. setelah googling sana-sini akhirnya dapet juga cara untuk bisa koneksi dari php ke database oracle.

1. Pastikan php anda sudah support dengan oci8(oracle).

h1

TNS:No Listener

May 2, 2008

Sering banget dapet error message pas mau lsnrctl start / status kayak gini :

TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
Read the rest of this entry »