How to Install dbase extension in php5

My Environment : OS : CentOS 5.7 Final Web Server : httpd-2.2.3-53 PHP : php53-5.3.3-1.el5_6.1 Programming Language : gcc Download package from php.net Download package dbase-5 from php.net [root@compare] # wget http://pecl.php.net/get/dbase-5.0.1.tgz Extract package [root@compare] # tar -zxvf dbase-5.0.1.tgz Prepare the build environment for a PHP extension and compile [root@compare] …

How to import dbase file to mysql database with perl

Make function for import dbase file to mysql database with perl #!/usr/bin/perl # Program to load .DBF files into MySQL use DBI; use XBase; # Load .DBF files into MySQL $database = “database”; $user = “user”; $password = “password”; #$dbfpath = the directory of the .DBF files $dbfpath = “/web/globaldominion.net/data”; …

How to conversion month to bulan in date with array

Make function for conversion in php function Terbilang($n) { $hasil = “”; $satuan = array(“”, “Satu”, “Dua”, “Tiga”, “Empat”, “Lima”, “Enam”, “Tujuh”, “Delapan”, “Sembilan”, “Sepuluh”, “Sebelas”); if ($n >= 0 && $n = 12 && $n = 20 && $n = 100 && $n = 200 && $n 1000 && …