PHP

PHP, Web Application

Neuropentracker: A Simple BitTorrent Tracker for Small Setups

I have published Neuropentracker, a simple BitTorrent tracker on GitHub:https://github.com/mypapit/neuropentracker Dashboard Screenshot What it is Neuropentracker is written in PHP and is designed for small setups. It is suitable for small organizations, small communities, labs, schools, or internal file-sharing environments. The main idea behind Neuropentracker is simplicity. It does not try to be a complete […]

Open Source, PHP, Python

How to convert Microsoft Office *.docx files to PDF using Linux in command-line

Here’s how to convert Microsoft Office *.docx files to PDF using Linux in Command Line. This trick can also be used together with other documents files supported by LibreOffice First make sure you’ve installed the latest version of LibreOffice for use in command line environment. Assuming the user is ‘example’ and the filename to convert […]

PHP

This blog now runs on PHP 7!

Hi all, I’m proud to announce to all the after several tinkering, this blog now runs on PHP 7 ! PHP 7 is the latest iteration of the popular general-purpose scripting language that is suited to web development. PHP7 is touted to perform up to TWO TIMES faster than PHP5. Here are the performance benchmark […]

Android, Computers, GNU/Linux, Mobile, Open Source, PHP

How to convert between sqlite2 and sqlite3 database

Here’s a short guide on how to convert between sqlite2 to sqlite3 database file: sqlite2 /path/to/mysqlite2.db .dump > backupfile sqlite3 /path/to/mynewsqlite3.db < backupfile Using the same method, you can convert sqlite3 db to sqlite2 db too! p/s: Why you need to convert? because embedded device (read: iPhone and Android) only supports sqlite3 database, while PHP […]

Internet Stuff, Personal Life, Personal Project, PHP

Securing Ajax and Web Services

It is undeniable that Web services and AJAX-ified interfaces are the trend now. Application that utilizes internet to retrieve data (such as mobile application or other thin client) uses web services alongside with its data format. AJAX-ified interface and website gives a modern and edgy look can make websites more attractive and can create great […]

hardware, Internet Stuff, Personal Life, PHP, Server

5 things that I look for when getting PHP / MySQL Web Hosting

1. SSH Access Ftp access is not enough anymore as it is insecure (password is being transfered in plaintext). Besides, SSH access enables me to download updates and patch and updates directly inside the web server instead of having to upload it bit-by-bit from FTP server. Normally, some web hosting provider refuses to give SSH […]

Computers, PHP, security, Server, Tips & Guides

How to find cause of heavy usage on your Apache webserver

Here’s a quick and dirty tips on how to find cause of heavy CPU resources usage on your Apache webserver (especially when running php scripts). First you need to locate the Apache 2 “access.log” file. By default in Ubuntu, this file is located in “/var/logs/apache2” directory. Then you need to run this command to find […]

General, Internet Stuff, Java J2me, Mobile, Nokia Python, Other Operating System, Paid-Post, PHP, Python

HP Officejet 5680 – How to Send Fax from Ubuntu Linux Computer

This serves as a continuity from my previous post, I got myself a new and flexible Printer – HP Officejet 5680 All in One. HP Officejet All-in-One Under Ubuntu Its all seems rather easy at the way I left off, the printer is fully functioning by just plugging it to my Ubuntu pc, the scanner […]

PHP

I’m selling Webbots, Spiders, and Screen Scrapers Book

Hi there, I’d like to announce here that I’m offering to sell Webbots, Spiders, and Screen Scrapers : A Guide to Developing Internet Agents with Php/cURL for a heavily discounted price to Malaysian. The book is new and it is still in its original packaging from Powells.com, the reason for selling it is there’s a […]

PHP

RFC 2822 Email Validator in PHP

Here’s regex pattern that checks for email validity that conforms to RFC 2822 specs : regex.txt This may be useful for you if you’re writing a robust email validation class/function in PHP, that checks for validity according to specs. This will also indirectly address security concern against injection attempt by malicious users. Additionally, there’s a […]

GNU/Linux, PHP, Tips & Guides, Ubuntu/Debian

Debian GNU/Linux Hands On Guide and Tutorial

After surfing for leisure last evening, I found a nice and comprehensive guide written for Debian GNU/Linux users. I guess Debian GNU/Linux beginner and GNU/Linux newbies will find this guide, Hands-on Guide to the Debian GNU Operating System useful. The guide covers from introduction of Unix, Free Software Foundation, the GNU project and the Linux […]

Open Source, Other Programming Language, PHP, Tips & Guides

libcurlemu – a pure PHP curl implementation (libcurl emulator)

Have you came across a situation where you need to use php libcurl extension and it was not enabled on your webserver? Then, try libcurlemu, apure-PHP implementation to PHP cURL. It emulates all of the curl_* functions normally provided by the native cURL extension itself. libcurlemu works transparently regardless of the availability of PHP cURL […]

Scroll to Top