Browsed by
Month: September 2015

How to Include PHP ActiveRecord in WordPress as Global Feature ?>

How to Include PHP ActiveRecord in WordPress as Global Feature

This post for developers who used to ORM/ActiveRecord and not familiar with WordPress Query (like me) and want the ORM/ActiveRecord to be available in WordPress. As per post’s title, this post regarding how you can include PHP ActiveRecord for global use – let say you have multiple plugins that use PHP ActiveRecord, you can’t load same PHP ActiveRecord classes / redeclared classed in an application or system – to be precise in PHP. So the solution is to add in…

Read More Read More

7z: Zip MySQL Database Dump File via Batch File ?>

7z: Zip MySQL Database Dump File via Batch File

First, get 7zip Command Line here. Next, unzip to your desired directory – mine is in C:\7za920. Based on my previous post, MySQL: Backup Database using Batch File. Add the following lines after echo Database Backups Completed and before pause. Now you are done! Execute the batch file to see the result! p/s: >Log.txt 2>&1 used for creating a log file for all the process to zip the file.