Tag: script

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) { $clientid = $row['CLIENTID']); echo 'Customer ID

Some changes on Timthumb script

What is Timthumb? It is a small php script for cropping, zooming and resizing web images (jpg, png, gif).   Here is the official place to donwload the script. https://code.google.com/p/timthumb/ Even the developers said it is not supported any more, there are still a lot of sites or plugins of wordpress and joomla. Here is

Windows Script Decoder

Now a lot of website owner find some malicious code hide in their webpages. Some are put by hacker. The codes are also encoded. Webmaster can not remove the malicious code from the original html codes, they are all mixed. Now, this tools is help you to decode it and find out. The program name