Archive | PHP RSS feed for this section

Kenapa XAMPP, service XAMPP dan Apache tidak berjalan di windows 7

  Kenapa XAMPP, service XAMPP dan Apache tidak berjalan di windows 7. Karena port 80 dan ssl 443 sudah digunakan. Sebelumnya, download dan install dulu XAMPP disini. Jika sudah, masuk ke folder C:\xampp\apache\conf\httpd.conf, bukalah file httpd.conf ini menggunakan notepad, setelah itu cari kode Listen 80, lalu ubah menjadi Listen 85 atau berapa saja yang penting [...]

Read full story Comments { 0 }

XAMPP joomla error: Strict Standards: Accessing static property JCache::$_handler as non static

One more thing i tried to change php.ini file. I have two files in Joomla 1.7. php Whats difference between both? I tried many thing to switch off strict standards: ; display_errors ; Default Value: Off ; Development Value: Off ; Production Value: Off also ; error_reporting ; Default Value: E_ALL & ~E_DEPRECATED ; Development [...]

Read full story Comments { 0 }
Aside

jQuery UI datepicker, disable hari tertentu dan hari libur

jQuery UI datepicker memungkinkan kita untuk men-disable pilihan tanggal-tanggal tertentu. Untuk men-disable hari Sabtu dan Minggu, dapat menggunakan utility function $.datepicker.noWeekends $(“#datepicker”).datepicker( { beforeShowDay: $.datepicker.noWeekends }); $( function() { var holiday = [ new Date(2011, 7, 17).getTime(), // proklamasi 17 agustus new Date(2011, 7, 30).getTime(), // 1 syawal 1432 H new Date(2011, 7, 31).getTime() // [...]

Read full story Comments { 0 }
Aside

Menghandle local system mail dengan Ubuntu 8.04 + Zimbra

Zimbra Mail Server include dengan web-server dan mail server postfix di dalamnya. Sehingga dalam proses installnya pun kita diharuskan mendisable Sendmail / Postfix. Bagaimana apabila kita ingin menginstall mail server lokal untuk mengirim log ke internal email kita? tentunya harus menggunakan sendmail. Untuk membuat fungsi sendmail dapat digunakan lagi tanpa harus menginstall packet postfix tersendiri [...]

Read full story Comments { 0 }
Aside

Install apache mysql php dan phpmyadmin di ubuntu

Pastikan ubuntu anda terkoneksi ke internet, Langkah-langkah install web Apache, PHP dan server database MySQL langkah-langkahnya sebagai berikut: Instalasi web server Apache # apt-get install apache2 Instalasi database server MySQL # apt-get install mysql-server Instalasi php untuk web server Apache # apt-get install php5 Instalasi MySQL untuk Apache # apt-get install libapache-mod-acct-mysql # apt-get install [...]

Read full story Comments { 0 }
Aside

Datetime format dalam PHP dan MySQL

Solusi berikut ini dapat di coba agar kita tetap menggunakan kedua format waktu yang didukung oleh PHP dan MySQL. Misalkan kita ingin mendapatkan waktu sistem saat ini dan di simpan kedalam tabel MySQL dengan tipe data datetime. $mysqldate = date(’Y-m-d H:i:s’); cara diatas akan mengembalikan waktu sistem saat ini, dan disesuaikan langsung dengan format datetime [...]

Read full story Comments { 2 }
Aside

Test Gratis SMS Gateway

Tittle yang aneh..,Saya baru punya ide untuk mencoba sms gateway yang saya buat dengan GAMMU dan PHP MySQL namun HP yang pakai untuk Modem tidak ada pulsa sama sekali. eeeeem bagimana caranya supaya kita tahu bahwa SMS Gateway yang saya buat tadi sudah bisa kirim dan terima SMS. Yaa.. saya coba kirim SMS ke nomer [...]

Read full story Comments { 1 }
Aside

Tools and Libraries for Sending and Receiving SMS Messages with a Computer

Hyperlinks to some free software, tools and libraries for sending and receiving SMS messages with a computer / PC are listed below. Many of the software, tools and libraries shown below are not only free, but are open source. For Non-Developers Microsoft SMS Sender Microsoft SMS Sender is a piece of free Windows software that [...]

Read full story Comments { 1 }
Aside

Validating email address

< ?php function ValidEmailAddress($address) { $regex = ‘/^[A-z0-9][w.-]*@[A-z0-9][w-.]+.[A-z0-9]{2,6}$/\’; return (preg_match($regex, $address)); } ?>

Read full story Comments { 0 }
Aside

Virtual Host pada server lokal

Buka httpd.conf pada direktori C:/Apache2/conf/ (Win XP). Tambahkan pada httpd.conf NameVirtualHost 127.0.0.1 ServerAdmin admin@virtualhost.com DocumentRoot D:\www\dir\wirya.com ServerName www.virtualhost.com ServerAlias www.virtualhost.com *.www.virtualhost.com Sesuaikan dengan document root Anda/ folder yang menyimpan file yang akan diakses lewat virtual host. buka file host pada direktori C:/Windows/System32/Driver/etc/ Tembahkan ini 127.0.0.1 www.virtualhost.com Restart Apache Anda, Start menu->Programs->Apache HTTP Server 2.0.58->Control Apache [...]

Read full story Comments { 0 }
UA-5197120-2