Tag: how-to

How to connect DBF file and read data by PHP script

Afte last post, my php-fpm support the dbase database file now.  Here is an example php script. $db = dbase_open('../db/clients.dbf',0); if ($db){ $record_numbers = dbase_numrecords($db); for ($i = 1; $i <= $record_numbers; $i++) { $row = dbase_get_record_with_names($db, $i); if ( strpos(trim($row['CLIENTNAME']), $clientname) !== FALSE and $row['deleted'] != 1) { [...]
Read More

Install dbase extension on php7, Ubuntu 16.04

I followed the instruction mostly based on mote0230 github. Please be noticed that updating (and probably inserting) with arrays that contain named indexes, is not working. For my project, it is OK. I just need to read the data from dbf files. dbase-pecl-php7 # PHP 7 sudo add-apt-repository ppa:ondrej/php [...]
Read More

iTunes Installation error on Windows 10

When I re-install iTunes on my Windows 10, after reset my PC, I got the error as below: iTunes Installation error: “Microsoft VC80.CRT.TYPE=”win 32″.version=8.0.50727.6195″.publicKeyToken=’1fc8b3b9a1e18e3b”.processorArchitecture “x86″”.Please refer to help and support for more information. HRESULT:0X800700C1 It annoied my half an hour to solve the problem. At last, I got the [...]
Read More

[Fixed] OBi110 is not working with Google Voice

Just a few days ago, my OBi110 device does not work with my Google Voice. I can not dial out, and no incoming call, until today, I fixed it. Sometimes it said some configuration error. I sign in my OBiTalk account at https://www.obitalk.com/obinet/ Normally, the device OBi110 can do [...]
Read More

Remove Old Kernels on CentOS

I know how to remove old Kernels on Ubuntu. But, I don’t know how to do it on CentOS. After googling, I found answer. Go through and see how many kernels here. Three kernels in machine. Delete, remove old kernels. [...]
Read More

Fix Acer AL1916W Monitor

I have a LCD monitor, Acer AL1916W. I can remember when I bought it. But I do believe it is more than six years. I have two more monitor. One is Acer 1716B in early 2006, and Acer X223W in April 2009. So I got  Acer AL1916W between 2006 [...]
Read More