Kamis, 16 Desember 2010

Change MySQL ROOT Password



How Change MySQL ROOT Password? its pretty simple when using phpmyadmin, especially we using XAMMP just go to http://localhost/phpmyadmin on your browser, then choose privilege menu, then write your password like picture above.

Minggu, 28 November 2010

Mobile Broadband Telkomsel di Linux Fedora Core 13 dan Huawei E220 3G

Awalnya cukup ragu akan ada driver Huawei E220 di linux fedora core 13, namun setelah mampir dan sedikit mencuri ilmu di gramedia (tanpa membeli bukunya), ternyata ada caranya..

mungkin dengan gambar gambar berikut ini dapat menggambarkan bagaimana kita dapat melakukan koneksi Mobile Broadband Telkomsel di Linux Fedora Core 13. Internetan dengan modem 3G di Linux sama saja dengan di Windows, hanya saja kita tidak perlu melakukan instalasi modem disini.



Mobile Broadband Telkomsel di Linux Fedora Core 13 dan Huawei E220 3G

Mobile Broadband Telkomsel di Linux Fedora Core 13 dan Huawei E220 3G

Mobile Broadband Telkomsel di Linux Fedora Core 13 dan Huawei E220 3G


Mobile Broadband Telkomsel di Linux Fedora Core 13 dan Huawei E220 3G

Mobile Broadband Telkomsel di Linux Fedora Core 13 dan Huawei E220 3G

Minggu, 14 November 2010

Print POST Array with PHP

Print POST Array with PHP
It was difficult to detect our post field without using this manner.

i feel easy to detect any error in PHP POST Array

echo '<pre>';
print_r($_POST);
echo '</pre>';


and the result

Jumat, 29 Oktober 2010

Capture Web Page Scrolling Screen

I Have found a Firefox Add ons to Capture Web Page Scrolling Screen for long time, but a tragedy happen and i must reinstall my operating system and forgot it's name.

What the hell is the name. I search on google and cannot found the add ons because it was less popular in search engine.

A day later i remember the name and suddenly i install it again. The name is ScreenGrab. it was popular add ons to Capture Web Page Screen and it can be doing task like Capture Web Page Scrolling Screen.

Here it is the result of ScreenGrab



Jumat, 15 Oktober 2010

Locate Command can not open. [SOLVED]

Locate is a command to find file or directory in LINUX.


LOCATE COMMAND can not open `/var/lib/mlocate/mlocate.db': Permission denied [SOLVED]


You can solve problem with:

1)cd /var/lib

2)chmod -R 755 mlocate/mlocate.db

Rabu, 25 Agustus 2010

VLOOKUP Excel 2007

Fungsi VLOOKUP adalah fungsi yang dipergunakan untuk menemukan data tertentu dengan referensi dari table utama / tabel master.



Video ini menggunakan * Range_lookup = True
Anda bisa belajar banyak dari video yang sangat menarik ini diantaranya Fungsi Random VLOOKUP, dan Absolute in Excel (dengan tombol F4).

Tulisan ini membahas fungsi excel VLOOKUP. jika sumber data tidak ada maka VLOOKUP menghasilkan nilai #N/A yang artinya “Not Available” atau tidak ada nilai yang tepat. Hal ini sangat menolong kita supaya tidak terjadi kesalahan dalam pengambilan data.

* Lookup_value
Nilai apa yang akan kita cari
* Table_array
Table dimana tempat data yang akan dicari
* Col_index_num
Kolom yang keberapa yang akan dicari dari dari seluruh kolom yang di blok.
* Range_lookup
Diisi dengan true(1) atau false(0)
Amannya untuk menghindari salah mencari data pakai nilai false(0) -->> Exact Match --> benar-benar sama. (namun di video menggunakan toleransi atau nilai Range_lookup=1)

Pelengkap:
Penjelasan Absolut : http://fairuzelsaid.wordpress.com/2009/11/23/modul-microsoft-excel-alamat-sel-absolut/

Jumat, 20 Agustus 2010

Speed Eye Home Monitoring Telkom Speedy

Speed Eye Home Monitoring Telkom Speedy
Sistem Monitoring yang ditawarkan Telkom Speedy adalah sistem untuk monitoring home dan tempat bertipe residen, namun bisa juga untuk toko (tidak berskala besar).

Menariknya pihak telkom menyediakan ruang penyimpanan di server mereka untuk menyimpan file video yang dapat kita rekam dalam suatu kapasitas terbatas.

Manfaat yang mungkin akan sangat terasa adalah ketika seorang ayah memantau keadaan anak / bayinya di rumah, apakah anak / bayinya sedang istirahat atau sedang dalam ruangan.

Akan lebih baik bila yang digunakan untuk memantau adalah internet dari Jaringan Telkom (Telkom Speedy) karena seolah seperti jaringan lokal (tentunya jaringan Telkom sangat terkait dengan jaringan monitoring ini).

Bandwidth Lokal yang baik (tidak seperti bandwidth Internasional yang harus di share) harus mampu memberikan layanan terbaik bagi pelanggan. Untuk itu layanan ini harus mampu memberikan layanan yang baik karena hanya bisa digunakan bagi mereka yang menggunakan minimal paket 1MBps.

Dengan sebuah login, kita dapat memantau dari jaringan Internet menggunakan Flash maupun Mobile Phone asalkan koneksi memadai.

Berkembangnya layanan yang lebih berbasis konten menandakan akan berubahnya bisnis telco indonesia dari yang mutlak ke layanan telekomunikasi ke arah informasi, media dan konten edukasi dan entertainment.

Kamis, 19 Agustus 2010

Menghapus / Delete file dengan PHP menggunakan fungsi UNLINK

Bagaimana kita dapat menghapus file dengan menggunakan bahasa pemrograman PHP? PHP telah menyediakan sebuah fungsi untuk penghapusan FILE. sayangnya saya tidak mempergunakan sebelum-sebelumnya dikarenakan sebuah keinginan untuk historical data. Namun sebaiknya file file yang datanya di dalam database terhapus sebaiknya ikut kita hapus, karena bakal memenuhkan ruang penyimpanan saja. Berikut ini adalah cara sederhana untuk Menghapus / Delete file dengan PHP menggunakan fungsi unlink() 


Kebutuhan: 
Menghapus data di database (Salah satu field data di database tersebut menyimpan nama file yang akan dihapus). File ikut terhapus dengan menyertakan fungsi unlink() di dalam syntax PHP. Data dan File Terhapus, menghemat beban database dan Disk Space. Selesai Di dalam Program


if($_GET[action]=="delete"){
// dapatkan nama file
 $sql_="select id_video, judul, file
from tb_video where id_video=$_GET[id]";
$hasil_=mysqli_query($link,$sql_);
$data_=mysqli_fetch_array($hasil_);   

//delete row
$sql = "delete from tb_video where id_video=$_GET[id]";
$hasil = mysqli_query($link,$sql);

//delete file
 if($hasil_) {
 unlink("../source/$data_[file]"); 
 }

//reload page otomatis dengan javascript
 echo "<script language=javascript>
alert('Data Berhasil Dihapus');</script>";
echo '<script type=text/javascript>
<!--
window.location = "index.php"
//-->
</script>';
}



Demikian sebuah contoh sederhana untuk Menghapus / Delete file dengan PHP menggunakan fungsi UNLINK. Semoga membantu

Minggu, 11 Juli 2010

MiniLyrics Program Karaoke untuk Winamp Anda

Ada MiniLyrics Sebuah Program Karaoke dan Lyrics / Lirik untuk Winamp Anda, Sebenarnya MiniLyrics Program Karaoke yang berbaya untuk Winamp Anda. Programnya sangat menarik.



MiniLyrics untuk Winamp dapat anda download di website resminya http://www.winamp.com/plugin/minilyrics/143654 jika anda tertarik denga n plugin ini anda dapat membelinya.

Review dari beberapa pengguna sangat positif.

Nice program - This plug-in is really great. Lyrics are synchronized so you can follow it easily. Even you minimize the winamp you can read the lyrics on the top of screen.I suggest everyone to use this plug-in :)

MiniLyrics is an amazing lyrics plug-in Winamp. It will download and display lyrics automatically, You can follow along with the artist and catch every word. MiniLyrics can save lyrics in mp3 files, you can view lyrics on iPod touch or iPhone. Its lyrics database expands every day.


Untuk Settingan MiniLyrics Sebaiknya kita gunakan Static Text Style

Minggu, 04 Juli 2010

Your Yahoo! Mail account is no longer active : No Login for 4 Month

Your Yahoo! Mail account is no longer active ?
Why is my yahoo account inactive?

Yahoo! Mail deactivated your mail account because:

* You have not logged into your mail account during the past four months; or
* You have requested that Yahoo! Mail deactivate your account.

What does this mean?

* All email messages, folders, attachments and preferences have been deleted and cannot be recovered.
* All messages sent to de.karud@yahoo.com are being returned to the sender.
* You can still use your Yahoo! ID to access other registered services on Yahoo!.

To reactivate your account, please choose one of the following options:


Reactivate and protect my Yahoo! Mail account in the future

I don't want to risk losing important messages and contact information stored in my mail account. I would like to subscribe to Yahoo! Mail Plus so that my account will not be deactivated again in the future if I don't use it for four months.



Reactivate my account without protection

I know that my account will be deactivated again in the future if I do not log in for a four-month period. I understand that I will risk losing valuable email messages and other important information.

Better to choose to Reactivate and protect my Yahoo! Mail account in the future. so no deactivate again.

Jumat, 18 Juni 2010

Keajaiban Telkomsel Flash Flash : Flash Unlimited 125 ribu mencapai kecepatan > 125 KBps

Keajaiban Flash : Flash Unlimited 125 ribu perbulan mencapai kecepatan 125 KBps? apakah anda merasa aneh..? ini saya rasakan sendiri bahkan diluar kota pula. Saat ini ada di daerah Rogojampi, Salah satu kecamatan di Banyuwangi.

Berikut ini adalah kecepatan yang saya dapatkan.

Berapa Kecepatan Download Telkomsel Flash ?, Kecepatan Download Telkomsel Flash, Kecepatan Download Maksimum Telkomsel Flash, Berlangganan Telkomsel Flash Unlimited, Kecepatan Download Dengan Telkomsel Flash, Telkomsel Flash Support HSPA+, LTE Telkomsel Flash
Berapa Kecepatan Download Telkomsel Flash ?, Kecepatan Download Telkomsel Flash, Kecepatan Download Maksimum Telkomsel Flash, Berlangganan Telkomsel Flash Unlimited, Kecepatan Download Dengan Telkomsel Flash, Telkomsel Flash Support HSPA+, LTE Telkomsel FlashBerapa Kecepatan Download Telkomsel Flash ?, Kecepatan Download Telkomsel Flash, Kecepatan Download Maksimum Telkomsel Flash, Berlangganan Telkomsel Flash Unlimited, Kecepatan Download Dengan Telkomsel Flash, Telkomsel Flash Support HSPA+, LTE Telkomsel FlashBerapa Kecepatan Download Telkomsel Flash ?, Kecepatan Download Telkomsel Flash, Kecepatan Download Maksimum Telkomsel Flash, Berlangganan Telkomsel Flash Unlimited, Kecepatan Download Dengan Telkomsel Flash, Telkomsel Flash Support HSPA+, LTE Telkomsel FlashBerapa Kecepatan Download Telkomsel Flash ?, Kecepatan Download Telkomsel Flash, Kecepatan Download Maksimum Telkomsel Flash, Berlangganan Telkomsel Flash Unlimited, Kecepatan Download Dengan Telkomsel Flash, Telkomsel Flash Support HSPA+, LTE Telkomsel Flash

Sehingga Kecepatan yang saya Dapatkan adalah Sebagai Berikut:

Berapa Kecepatan Download Telkomsel Flash ?, Kecepatan Download Telkomsel Flash, Kecepatan Download Maksimum Telkomsel Flash, Berlangganan Telkomsel Flash Unlimited, Kecepatan Download Dengan Telkomsel Flash, Telkomsel Flash Support HSPA+, LTE Telkomsel FlashBerapa Kecepatan Download Telkomsel Flash ?, Kecepatan Download Telkomsel Flash, Kecepatan Download Maksimum Telkomsel Flash, Berlangganan Telkomsel Flash Unlimited, Kecepatan Download Dengan Telkomsel Flash, Telkomsel Flash Support HSPA+, LTE Telkomsel FlashBerapa Kecepatan Download Telkomsel Flash ?, Kecepatan Download Telkomsel Flash, Kecepatan Download Maksimum Telkomsel Flash, Berlangganan Telkomsel Flash Unlimited, Kecepatan Download Dengan Telkomsel Flash, Telkomsel Flash Support HSPA+, LTE Telkomsel Flash

Akankah ini petanda semakin baiknya layanan wireless broadband Indonesia? Semoga.

Rabu, 09 Juni 2010

Proses Multiplexing pada Format Transmisi Digital E1

E1 atau sirkuit E-1 (Inggris: E-carrier) adalah nama format transmisi digital dengan 30 kanal suara digital berkecepatan 2,048 megabit per detik. E1 merupakan standar yang dipakai di Eropa dan Indonesia

Saluran ini berbentuk saluran telepon khusus dan digunakan pada awalnya untuk sambungan trunk antar sentral telepon, namun sekarang mulai banyak disewakan oleh perusahaan telekomunikasi untuk jalur komunikasi data.

Frekuensi Sampling yang diterapkan pada E1 adalah 8 kHz
ada 32 Timeslot pada E1
1 Timeslot berisikan 8 bit
Timeslot1 untuk Sinkronisasi
Timeslot16 untuk Signaling

karena frekuensi standar yang digunakan adalah 8kHz, maka periode pada setiap timeslot adalah 1/frekuensi

T=1/8kHz
T=125 mikro detik

karena 1 timeslot berisikan 8 bit, maka dalam 1 time slot memiliki kecepatan penyaluran data 8bit/125mikro detik =0.064 x 10kbps = 64 Kbps

Jadi kecepatan untuk sebuah E1= 32 slot x 64 kbps = 2048 kbps = 2.048 Mbps.

Pengolahan Sinyal Digital : Sampling, Quantizing, Encoding

Pada dasarnya semua suara audio, baik vokal maupun bunyi tertentu merupakan suatu bentukan dari getaran. Ini menandakan semua audio memiliki bentuk gelombangnya masing-masing. Umumnya bentukan gelombangnya disebut dengan sinyal analog. Sinyal analog adalah sinyal yang bentuknya seperti pada . Namun sebuah teknik memungkinkan sinyal ini diubah dan diproses sehingga menjadi lebih baik. Teknik ini memungkinkan perubahan sinyal analog menjadi bit-bit digital. Teknik itu disebut teknik sampling. Jika telah menjadi sinyal digital maka sinyal ini jauh lebih baik, sedikit noisenya dan juga dapat diproses / ditransmisikan dengan mudah.

Proses sampling

Pada proses ini terjadi suatu pencuplikan dari bentukan sinyal analog. Pencuplikan dilakukan pada bagian-bagian sinyal analog. Ini dilakukan dengan sinyal-sinyal sample. Bentukan sinyal sample dapat dilihat pada Gambar berikut:

Ada suatu aturan tertentu dari sinyal ini. Teori Shannon menyatakan frekuensi sinyal ini paling sedikit adalah 2 kali frekuensi sinyal yang akan disampling(sinyal analog). Ini adalah batas minimum dari frekuensi sample agar nantinya cuplikan yang diambil menunjukkan bentukan sinyal yang asli (analog). Lebih besar tentunya lebih baik, karena cuplikan akan lebih menggambarkan sinyal yang asli.

Contoh suara manusia lebih sensitif mendengar suara dengan frekuensi 400 Hz sampai dengan 4000Hz. Hal ini tentunya akan sangat baik disampling dengan Frekuensi Sampling 8000 Hz atau 8kHz.


Gambar diatas adalah bentukan proses pencuplikan. Setelah dilakukan proses ini maka terbentuklah suatu sinyal analog-diskrit yang bentuknya menyerupai aslinya namun hanya diambil diskrit-diskrit saja.

Quantisasi

Ini adalah proses pembandingan level-level tiap diskrit sinyal hasil sampling dengan tetapan level tertentu. Level-level ini adalah tetapan angka-angka yang dijadikan menjadi bilangan biner. Sinyal-sinyal diskrit yang ada akan disesuaikan levelnya dengan tetapan yang ada. Jika lebih kecil akan dinaikkan dan jika lebih besar akan diturunkan. Prosesnya hampir sama dengan pembulatan angka. Tetapan level yang ada tergantung pada resolusi dari alat, karena tetapan level merupakan kombinasi angka biner, maka jika bitnya lebih besar kombinasinya akan lebih banyak dan tetapan akan lebih banyak. Ini membuat pembulatan level sinyal diskrit menjadi tidak jauh dengan level aslinya. Dan bentukan sinyal akan lebih bervariasi sehingga akan terbentuk seperti aslinya. Proses ini membuat sinyal lebih baik karena bentukkannya lebih tetap. Proses ini juga mengecilkan error dari suatu sinyal. Sinyal juga akan dikecilkan atau dibesarkan mengikuti besar Quantisasinya.


Perubahan ke digital (Encoding)

Setelah diquantisasi maka tiap-tiap diskrit yang ada telah memiliki tetapan tertentu. Tetapan ini dapat dijadikan kombinasi bilangan biner, maka terbentuklah bilangan-bilangan biner yang merupakan informasi dari sinyal. Setelah menjadi sinyal digital maka proses-proses perekayasaan dapat dilakukan. Yang harus dilakukan adalah merubah informasi digital tersebut dengan proses digital sehingga menjadi suara-suara yang kita inginkan. Proses dapat dilakukan dengan berbagai macam alat-alat digital (komputer). Sample-sample yang ada juga digunakan sebagai informasi untuk menciptakan suara dari berbagai macam alat elektronik (keyboard dan syntitizer). Penyimpanan suara juga akan lebih baik karena informasinya adalah digital.

Contoh Jika Dikuantisasi 8 Bit maka pada Perubahan Digitalnya akan menjadi 8 bit biner.
Jika sinyal yang menempel pada sumbu Y bernilai 5 maka akan menjadi 00000101

Source : http://elektroindonesia.com/elektro/elek35a.html

Senin, 07 Juni 2010

Internet and Network Connection Glossary

Virtual Private LAN Service (VPLS)
Virtual Private LAN Service (VPLS) allows different sites to communicate as if they are connected
to the same LAN. Service providers offer simplified “any to any” (or “multipoint-to-multipoint”)
VPLS service to enterprise customers, allowing enterprises to focus on their core business.
In addition, broadband network operators can use VPLS to efficiently distribute “point-tomultipoint”
traffic such as IPTV to multiple subscribers concurrently.

Autonomous System (AS)
An autonomous system (AS) is a collection of connected Internet Protocol (IP) routing prefixes under the control of one or more network operators that presents a common, clearly defined routing policy to the Internet.

Multi-Service Access Node (MSAN)
A 'Multi-Service access node' or (MSAN) also known as MSAG or 'Multi-Service Access Gateway' is a device typically installed in a telephone exchange (although sometimes in a roadside serving area interface cabinet) which connects customers' telephone lines to the core network, to provide telephone, ISDN, and broadband such as DSL all from a single platform.



Broadband Remote Access Server (BRAS)
A Broadband Remote Access Server (BRAS, B-RAS or BBRAS) routes traffic to and from the Digital Subscriber Line Access Multiplexers (DSLAM) on an Internet service provider's (ISP) network.

Digital Subscriber Line Access Multiplexer (DSLAM)
A Digital Subscriber Line Access Multiplexer (DSLAM) allows telephone lines to make faster connections to the Internet. It is a network device, located in the telephone exchanges of the service providers, that connects multiple customer Digital Subscriber Lines (DSLs) to a high-speed Internet backbone line using multiplexing techniques.

Asymmetric Digital Subscriber Line (ADSL)
Asymmetric Digital Subscriber Line (ADSL) is one form of the Digital Subscriber Line technology, a data communications technology that enables faster data transmission over copper telephone lines than a conventional voiceband modem can provide. At the telephone exchange the line generally terminates at a DSLAM where another frequency splitter separates the voice band signal for the conventional phone network.

Digital Loop Carrier (DLC)
A Digital Loop Carrier (DLC) is a system which uses digital transmission to extend the range of the local loop farther than would be possible using only twisted pair copper wires. A DLC digitizes and multiplexes the individual signals carried by the local loops onto a single datastream on the DLC segment.

Sabtu, 29 Mei 2010

Perkembangan Jaringan Nirkabel tahun 2010 dan beberapa tahun kedepan : HSPA+ , LTE , Wimax

USB Wireless Network / USB dongle telah menjadi perangkat pendongkrak popularitas 4G bersama dengan CPE (Customer Premise Equipment) dan laptop. Akan tetapi, handset mobile akan menjadi kunci keberhasilan WiMax. Sebagai contoh, Yota (Rusia), Sprint dan Clearwire (Amerika Serikat) telah menyediakan layanan mereka dengan perangkat dari HTC dan Samsung.

Di saat yang sama, operator mobile juga terus berusaha mendapatkan lisensi LTE (Long Term Evolution). Sekitar 20 operator diperkirakan akan meluncurkan layanan mereka pada kuartal keempat 2010 mendatang. LTE sendiri merupakan Next Generation dari GSM setelah HSPA+

Evolusi GSM, Perkembangan GSM, Perkembangan Teknologi GSM

LTE capabilities:


  • Downlink peak data rates up to 326 Mbps with 20 MHz bandwidth


  • Uplink peak data rates up to 86.4 Mbps with 20 MHz bandwidth


  • Operation in both TDD and FDD modes


  • Scalable bandwidth up to 20 MHz, covering 1.4, 3, 5, 10, 15, and 20 MHz in the study phase


  • Increased spectral efficiency over Release 6 HSPA by a factor of two to four


  • Reduced latency, up to 10 milliseconds (ms) round-trip times between user equipment and the base station, and to less than 100 ms transition times from inactive to active
 
Cakupan layanan LTE memang belum akan menyaingi WiMax, akan tetapi pada akhir kuartal keempat 2012, diprediksikan sekitar 600 juta pengguna akan dapat menikmati layanan tersebut.

Pasar 4G akan mencapai 150 juta pelanggan di akhir tahun 2014 mendatang. Adapun pangsa pasar antara WiMax dan LTE akan tergantung pada komitmen operator WiMax untuk mengupgrade ke 802.16m.

Vendor MiMax seperti Motorola dan Huawei sendiri sedang menyiapkan perangkat 802.16e+ yang akan membawa fitur-fitur 802.16m ke pasar. Sejumlah perusahaan di ekosistem ini sendiri sudah mulai mengujicoba interoperabilitas untuk 802.16m.

ABI Research sendiri telah mengumpulkan data kota-kota dan populasi yang tercakup layanan 4G selama setahun terakhir. “TD-LTE merupakan kuncinya,” kata Jake Saunders, Vice President for Forecasting ABI Research, seperti dikutip dari PCAdvisor, 14 Mei 2010.

“Meski awalnya ditujukan sebagai teknologi evolusi untuk TD-SCDMA bagi China Mobile, teknologi tersebut meraih minat sejumlah operator WiMax,” kata Saunders. “Kedua kubu (WiMax dan LTE) akan berusaha secepat mungkin menyelesaikan produksi chip, portofolio produk dan cakupan layanan. Akan ada persaingan yang keras dalam beberapa tahun ke depan,” ucapnya. (hs)



Informa forecasts that, even including fixed and mobile WiMAX, subscriptions will reach only 5 percent of the global 3G market by 2013, with 103 million connections. Forward Concepts predicts 38 million WiMAX subscribers by 2012, while Juniper Research forecasts 47 million WiMAX subscribers by 2013 –compared to nearly 1.8 billion UMTS-HSPA subscriptions by 2013 according to Informa.

  • http://teknologi.vivanews.com/news/read/150926-2012__tahunnya_4g
  • http://www.3gamericas.org/index.cfm?fuseaction=page&sectionid=249
  • http://www.3gamericas.org/index.cfm?fuseaction=page&sectionid=259

Sabtu, 17 April 2010

Penyebab dan Solusi Service Unavailable-DNS failure

Service Unavailable - DNS failure

The server is temporarily unable to service your request. Please try again later.
Reference #11.f12a07d.1271470882.d0877

Pernahkah anda mengalami hal tersebut saat mengakses situs favorit anda? jika pernah beberapa penyebab yang mungkin menyebabkan Service Unavailable-DNS failure
1. Sisi Server
kepadatan akses suatu terhadap web/sistem. Hal ini menyebabkan server bekerja terlalu berat untuk melayani request yang terlalu banyak. Seperti contohnya web Facebook yang sangat banyak akses hariannya.

Stats Facebook


Stats Google





Bagaimana kita mengetahui jumlah klik harian suatu website. dengan bantuan mypagerank.net pada gambar diatas, Banyak pengguna uniq yang mengakses site Google.com setiap harinya diketahui dengan melihat TUV (Total Unique Visitor).

Untuk mengetahui seberapa banyak halaman yang di klik kita dapat mengetahuinya melalui TPV (Total Page View).

2. Sisi Client

Karena salah setting jaringan akses "Obtain DNS Automatically" atau dengan DNS yang manual set up.

Namun jika hal ini terjadi karena sisi server, anda tidak perlu khawatir karena webmaster web / sistem besar akan sesegera mungkin memperbaiki hal ini. Setelah beberapa menit, masalah Service Unavailable-DNS failure pasti akan segera teratasi.

Demikianlah cara mengatasi ataupun Solusi Service Unavailable-DNS failure. Kita hanya dapat menunggu masalah itu diperbaiki oleh webmaster situs bersangkutan.

Kamis, 15 April 2010

Bagaimana Cara Mengubah Tampilan / Tema Akun Gmail

Hampir semua orang mengatakan bahwa memeriksa email adalah salah satu dari beberapa hal pertama yang mereka lakukan di pagi hari setelah bangun. Kebanyakan orang yang saya tahu selalu periksa pesan masuk / inbox secara teratur. Beberapa bahkan harus mengetahui status kotak masuk mereka sepanjang waktu. Mereka juga membeli sendiri sebuah ponsel dengan kemampuan push email. Ini menunjukkan bagaimana hidup kita tak terpisahkan dengan hal yang kita sebut surat elektronik / email.
Saya juga anggota mereka yang pecandu email. Mengingat sifat kerja mobile saya, saya lebih suka menggunakan webmail, dan bukan klien desktop. Pilihan ini memungkinkan saya untuk memeriksa email saya kapan saja dan dimana saja tak peduli apa perangkat yang saya gunakan.

Berbicara tentang webmail, Google Mail adalah salah satu pilihan populer bagi banyak pengguna internet. Per Juli 2009, ada sekitar 146 juta pengguna yang menatap kotak masuk Gmail mereka setiap bulan.

Jika Anda salah satu pengguna yang telah menggunakan Gmail yang tersedia bagi masyarakat umum (Februari 2007), itu berarti bahwa Anda telah menatap tampilan Gmail selama lebih dari dua setengah tahun (kira-kira seribu hari atau lebih). Dan jumlah ini dikalikan bagi mereka yang sudah menggunakan Gmail karena undangan "hanya" rilis beta kembali pada bulan April 2004.

Apakah Anda pernah merasa bosan tampilan Gmail?
Bagaimana mengubah tampilan Gmail?

Tampilan / Antarmuka Gmail tidak buruk. Saya rasa Tampilan / Antarmuka Gmail dirancang dengan efisiensi dan kepraktisan dalam pikiran. Sebagian besar pengguna hanya menerima Gmail demikian adanya. Mereka tidak pernah menyadari bahwa mereka dapat mengubah tema dari antarmuka Gmail jika mereka ingin.

Beginilah cara untuk mengubah / mengganti tema / Tampilan Gmail anda.




    * Klik "Settings" di sudut kanan atas halaman

Jumat, 19 Maret 2010

Convert MySQL date Format to Indonesian Date Format with PHP

Below is A PHP Function to Convert MySQL date Format to Indonesian Date Format.

Example : 2010-10-10 can be 10 Oktober 2010

Below  is the Function to Convert MySQL date Format to Indonesian Date Format with PHP
javascript:void(0)

    function waktuindo($datawaktu)
    {
        $waktu=explode('-',$datawaktu);
        if ($waktu[1] == '01')  //jika 01 maka januari
            {
                $bulan='Januari';
            }
        elseif ($waktu[1] == '02')  
            {
                $bulan='Februari';
            }
        elseif ($waktu[1] == '03')  
            {
                $bulan='Maret';
            }
        elseif ($waktu[1] == '04')  
            {
                $bulan='April';
            }
        elseif ($waktu[1] == '05')  
            {
                $bulan='Mei';
            }
        elseif ($waktu[1] == '06')  
            {
                $bulan='Juni';
            }
        elseif ($waktu[1] == '07')  
            {
                $bulan='Juli';
            }
        elseif ($waktu[1] == '08')  
            {
                $bulan='Agustus';
            }
        elseif ($waktu[1] == '09')  
            {
                $bulan='September';
            }
        elseif ($waktu[1] == '10')  
            {
                $bulan='Oktober';
            }
        elseif ($waktu[1] == '11')  
            {
                $bulan='November';
            }
        elseif ($waktu[1] == '12')  
            {
                $bulan='Desember';
            }
        else  
            {
                $bulan='00';
            }
        echo"$waktu[2] $bulan $waktu[0]";
    }

  

It was a simple fuction to Convert MySQL date Format to Indonesian Date Format with PHP by myself Maybe need a correction for perfection.

Convert Date to Day PHP-MySQL Query

I Found Something Interest from forum that asked about Date to Day Conversion : It's All About Convert Date to Day PHP-MySQL Query

Is there a way to take a MySQL date in the format of yyyy-mm-dd and convert it into the format of something like "Monday, June 6".

Convert Date to Day PHP-MySQL Query, Date to Day SQL, Date to Day MySQL, Date to Day PHP MySQL
and those example above.


First I Found The Necessary thing is find day from mysql date yyyy-mm-dd format to Convert Date to Day PHP-MySQL Query.

and the way is
$query = "SELECT `date_col` AS `date_mysql`,
DATE_FORMAT(`date_col`, '%W, %M %e') AS `date_text`
FROM `table_name`";

date_col --> Column from a table contain date_format yyyy-mm-dd
table name -- MySQL Table Name
Convert Date to Day PHP-MySQL Query, Date to Day SQL, Date to Day MySQL, Date to Day PHP MySQL
After Get a Day In English : Sunday, Monday, Tuesday, Wednesday, Thursday, Friday,  and Saturday, Now We Convert into Indonesian Day : Senin, Selasa, Rabu, kamis, jumat, Sabtu, Minggu with This Syntax :

        if ($baris[date_text]=='Monday'){
            $baris[date_text]='Senin';
        }
        else if ($baris[date_text]=='Tuesday'){
            $baris[date_text]='Selasa';
        }
        else if ($baris[date_text]=='Wednesday'){
            $baris[date_text]='Rabu';
        }
        else if ($baris[date_text]=='Thursday'){
            $baris[date_text]='Kamis';
        }
        else if ($baris[date_text]=='Friday'){
            $baris[date_text]='Jumat';
        }
        else if ($baris[date_text]=='Saturday'){
            $baris[date_text]='Sabtu';
        }
        else if ($baris[date_text]=='Monday'){
            $baris[date_text]='Minggu';
        }
        else {
            $baris[date_text]='--';
        }

Ok, Well Then Just Combine The Day With
A Function that Convert Date yyyy-mm-dd to dd -month_name- yyyy

After That The Convert Result Date to Day PHP-MySQL Query Will Be Like This :


Convert Date to Day PHP-MySQL Query, Date to Day SQL, Date to Day MySQL, Date to Day PHP MySQL

Senin, 01 Maret 2010

Linux User Password Reset

How can we do a Linux User Password Reset? It's a simple way to do User Password Reset in Linux.

1. To reset a User Password Reset, use passwd command. You have to change it to a different password.
2. Open terminal or shell prompt
3. Login as the root user (Only Root User can do User Password Reset)
4. Type the following command to do User Password Reset.
# passwd username
5. For example, reset a sanjaya's password, enter:
# passwd sanjaya
6. Type a new password twice to do User Password Reset.

After you type a new password twice, you have User Password Reset in Linux Successfully.

That's it, a simple way to do User Password Reset in Linux.

Minggu, 07 Februari 2010

Reorder MySQL Table Column


Reorder MySQL Table Column? How can be happen? maybe we design a unperfect table in the first time, so we need to reorder the column.

It can be done easily by User Interface in SQL Yog,

Reorder MySQL Table, Reorder Column MySQL, Reorder Field MySQL 

Figure 1. Choose The Table

Reorder MySQL Table, Reorder Column MySQL, Reorder Field MySQL 
Figure 2. Choose the field to be Reorder.

 Reorder MySQL Table, Reorder Column MySQL, Reorder Field MySQL 
Figure 3. Field has been Reorder

Reorder MySQL Table, Reorder Column MySQL, Reorder Field MySQL 
Figure 4. Field Reorder Sucessfully


but there also any syntax can solve this problem :

ALTER table `tb_name`
MODIFY COLUMN `column_name` your_data_type
AFTER `other_column_name`

Just replace the following fields by your actual MySQL data:

* tb_name: the name of your MySQL table being modified.
* column_name: the name of the MySQL table column that you want to reorder.
* your_data_type: the MySQL data type of the data stored in the moved column, such as int, varchar(lenght), text, etc.
* other_column_name: the column name that will be just before the new position of your reordered column.


This will reorder the columns in your current MySQL table structure, but it will not alter the row order of your table records: the stored data order will remain unaltered. Reorder MySQL table columns to visually group strongly related fields. So reordering is just a way of changing the column order of an existing MySQL table, and it won't modify your query performance.

Column reorder is mainly a matter of coherence and logical organization. On the contrary, altering the stored data order may optimize (or negatively impact) such MySQL query performance.

Example by Using Syntax :

I Have a Table

CREATE TABLE `guest_book` (                             
              `id_gb` int(4) NOT NULL AUTO_INCREMENT,               
              `pengirim` varchar(20) NOT NULL DEFAULT '',           
              `email` varchar(50) NOT NULL DEFAULT '',              
              `isi` text NOT NULL,  
              `tgl1` datetime DEFAULT NULL,                              
              `tgl` datetime DEFAULT NULL,                    
              PRIMARY KEY (`id_gb`)                                 
            )

and then i use DDL syntax :

ALTER table `guest_book`
MODIFY COLUMN `tgl1` timestamp
AFTER `tgl`


(4 row(s)affected)
(0 ms taken)

You Can Check The Difference Here..



Please beware of changing datatype after the field name in second line syntax.

Rabu, 03 Februari 2010

SQL to insert Timestamp Data Type into MySQL

A timestamp is a sequence of characters, denoting the date and/or time at which a certain event occurred.

The time at which an event is recorded by a timestamp (e.g., entered into a log file) should be very, very close to the time of the occurrence of the event recorded.

example of a timestamp in mysql : 2010-02-02 18:15:37

How Using SQL to insert Timestamp Data Type into MySQL ?

(Provided Table First)

CREATE TABLE `guest_book` (                                                      
              `id_gb` int(4) NOT NULL AUTO_INCREMENT,                                        
              `pengirim` varchar(20) NOT NULL DEFAULT '',                                    
              `email` varchar(50) NOT NULL DEFAULT '',                                       
              `isi` text NOT NULL,                                                           
              `tgl` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
              PRIMARY KEY (`id_gb`)                                                          
            )

Just Running A Query


insert into guest_book
(pengirim,
email,
isi,
tgl
)
values
('pengirim',
'picas @ unud.com',
'isi',
CURRENT_TIMESTAMP
)

in the  provided table.


And The Result :
Timestamp, MySQL Timestamp, datetime query, log SQL, Catatan waktu SQL, Field Waktu MySQL, Waktu MySQL

Kamis, 21 Januari 2010

FPDF Limit File Size and Cause A Blank Error Download

According FPDF Faqs we know that : There is no particular limit of FPDF Output filesize. There are some constraints, however:

- The maximum memory size allocated to PHP scripts is usually 8MB. For very big documents, especially with images, this limit may be reached (the file being built into memory). The parameter is configured in the php.ini file.


- The maximum execution time allocated defaults to 30 seconds. This limit can of course be easily reached. It is configured in php.ini and may be altered dynamically with set_time_limit().

- Browsers generally have a 5 minute time-out. If you send the PDF directly to the browser and reach the limit, it will be lost. It is therefore advised for very big documents to generate them in a file, and to send some data to the browser from time to time (with a call to flush() to force the output). When the document is finished, you can send a redirection to it or create a link.
Remark: even if the browser times out, the script may continue to run on the server.

Dear Friends, I Have a Trouble before, and i want to share that The filesize of  FPDF Output can Cause an Error / Blank Output. Actually my maximum allocated memory was 16 MB in php.ini and size of my FPDF Output was 8 MB. This Output cause Error, So I Change my maximum allocated memory to 64 MB.

If you have change maximum allocated memory, and still not work, we can increase maximum time to run a script, default 30 Second can be changed into 60 Second.


Hope This Help My Dear Friend.

Minggu, 17 Januari 2010

Export MySQL Query to Word with PHP


After You Read Export MySQL Query to excel with PHP, maybe you also want a to Export MySQL Query to Word with PHP. Same as Export MySQL Query to Excel before, We just need to change two words.

We Just need a Connection, a Table that contain MySQL Row and This Great Script with a bit changes..


header("Content-type: application/vnd.ms-excel");

header("Content-disposition: attachment; filename=cetak_excel.xls"); // filename
header("Pragma: no-cache");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Expires: 0");

Change the green highlighted words to be :

header("Content-type: application/vnd.ms-word");
header("Content-disposition: attachment; filename=cetak_word.doc"); // filename
header("Pragma: no-cache");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Expires: 0");


Well Done You Can Produce an Word File that Export MySQL Query to word with PHP.

Kamis, 14 Januari 2010

Export MySQL Query to excel with PHP

I still need learn a lot of PHP Programming. A Reporting is Important in Information System. People usually use PDF an Excel in Reporting. Don't be confuse, it was an easy way to produce a report from mysql database with PHP Programming.

A lot of people maybe confuse how to Export MySQL Query to excel with PHP. Because we usually learn query, connection, show data and manipulation data first. A reporting is final step if we do a programming of a system development .

We Just need a Connection, a Table that contain MySQL Row and This Great Script ..


header("Content-type: application/vnd.ms-excel");

header("Content-disposition: attachment; filename=backup_ijasah.xls"); // filename
header("Pragma: no-cache");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Expires: 0");


<?php
1.Connection File
2.The Script above
3. The MySQL Table from A PHP MySQL Query : Example just produce like this :

?>


Just add the Highlighting syntax above at the top line of your coding.. (It Can be Under Include Connection.php line).

After you call your File from Web Browser You Wil Get Like This



Well Done You Can Produce an Excel File that Export MySQL Query to excel with PHP.






Selasa, 12 Januari 2010

Disable Klik Kanan dengan Javascript

Saya Mendapatkan script Disable Klik Kanan dengan Javascript ini dari seorang teman dan belum mencobanya. Dia mengatakan It work like a charm.

Saya belum percaya karena belum mencobanya. Katanya sih ditempatkan diantara tag <head> dan penutup head </head>.


<SCRIPT language=JavaScript>

var message="tulis msg anda disini";
///////////////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")

</SCRIPT>

Silakan Dicoba ya..Saya lemah di JavaScript dan jarang banget menggunakannya.




Update : Ternyata benar benar ampuh nih script. Silakan dicoba ya.. ini contoh filenya, save aja misal test.html. Masalahnya ini untuk di pemrograman sendiri...Untuk di blogger saya tidak tau caranya....Hiks..

hmmm lanjut dulu...
Tus cobain apa klik kanan berhasil dilakukan untuk melakukan copy textnya..Apa bisa dilakukan klik kanan..???


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<SCRIPT language=JavaScript>

var message="tulis msg anda disini";
///////////////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")

</SCRIPT>

</head>

<body>

aaaaaaaaaaaaaa
</body>
</html>

Kamis, 07 Januari 2010

Error Code : 1235 This version of MySQL doesn't yet support 'multiple triggers with the same action time and event for one table'

First i made a Trigger like this..(To make an update of summary numeric field if any insert happen in one table)

DELIMITER $$

CREATE
/*!50017 DEFINER = 'root'@'localhost' */
TRIGGER `update_jum_proposal` AFTER INSERT ON `tb_proposal`
FOR EACH ROW BEGIN
DECLARE NEW_VALUE int;
SELECT count(id) INTO NEW_VALUE FROM tb_proposal where tahun = new.tahun;

update tb_dwh_pengabdian set pengabdian_jum_proposal = NEW_VALUE where pengabdian_tahun=new.tahun;
END;
$$

DELIMITER ;


and then an error occured :
Error Code : 1235
This version of MySQL doesn't yet support 'multiple triggers with the same action time and event for one table'
(0 ms taken)


How this can be solved : Just add an Drop Trigger Statement


DELIMITER $$

DROP TRIGGER /*!50032 IF EXISTS */ `db_pengabdian`.`update_jum_proposal`$$

CREATE
/*!50017 DEFINER = 'root'@'localhost' */
TRIGGER `update_jum_proposal` AFTER INSERT ON `tb_proposal`
FOR EACH ROW BEGIN
DECLARE NEW_VALUE int;
SELECT count(id) INTO NEW_VALUE FROM tb_proposal where tahun = new.tahun;

update tb_dwh_pengabdian set pengabdian_jum_proposal = NEW_VALUE where pengabdian_tahun=new.tahun;
END;
$$

DELIMITER ;



I Found this at http://forums.mysql.com/read.php?99,161909,162074#msg-162074.

Hope this help anyone...

Rabu, 06 Januari 2010

HTML Sticky Form, HTML Form That Remember The Value


HTML Sticky Form, What is that..? HTML Sticky Form is HTML Form That Remember The Value that has been POST or Get after a Submitting.

Have You Ever doing a inputting data in a web information system that has so many field to input.
How about a failure to input the data, I mean a connection failure or our input making a system denied to save the data?? We will a little bit angry to re-enter the data from the beginning.

A PHP Programmer usually know about this technique because very simple. It is very important if we develop a user friendly information system. But usually we are lazy to do that..wait, wait and until the system implementation many protest from the user.

We must prepare about this condition, so if there any time to make the HTML Form become HTML Sticky Form, just do it.

A simple way to make HTML Sticky Form is adding a value in the HTML Element

echo"<input name=\"nama\" type=\"text\" size=\"40\" value=\"$_POST[nama]\" $readonly />";

or more simple HTML Syntax, that using

<input name=nama type=text size=40 value=<?php echo"$_POST[nama]"; > >

Remember the form action, if the action was post use POST in the HTML elemen (form above using post method). You can also use get method, just change
$_POST[nama] with $_GET[nama].


Senin, 04 Januari 2010

Trigger After Delete on MySQL

It quite difficult to hear somebody explain about Trigger or Stored Procedure inDatabase Management System (DBMS). But step by step we learn, we can do it.

In this Simple Post, I'll try to make an easy Trigger After Deleting data on MySQL.

The Process Was a Copying into a table : If Any Row Delete happen in Main Table, Trigger a Copy Row into a Table named like Tbl_Deleted.

Below Was The Trigger.

DELIMITER $

DROP TRIGGER /*!50032 IF EXISTS */ `db_wisuda`.`del_biodata`$$

CREATE
/*!50017 DEFINER = 'root'@'localhost' */
TRIGGER `del_biodata` AFTER DELETE ON `tb_name`
FOR EACH ROW BEGIN
delete from tb_user where username = old.nim;

insert into tb_name_del
(id,
name,
terbaik,
nopenanda
)
values
(old.idbiodata,
old.name,
old.terbaik,
old.nopenanda
);
END;
$$

DELIMITER ;


The Process was simple, If delete happen in tb_name, delete the users in tb_user and copy the data that has been deleted to tb_name_del.

Old mean the table that has been delete.
You can see username=old.nim

i have the tb_user that the tb_user username = tb_name.nim