Archive

Blog Archives

Installing MongoDB in Laragon Windows

Installing MongoDB in Windows can be very confusing when you’re a beginner. Your first thought was probably to just google and find a article that will summarize it for you, well you came to the right place. Let’s dive into the installation right away Download and install the latest version of the following if you […]

How to install Xdebug in Laragon

Setup Xdebug PHP profiling tool in your laragon server in less than 3 minutes.

Zip and Unzip Files with PHP

Easily zip and unzip specific files or folders using these methods

Simple PHP Pagination with AJAX

Create a simple and light weight AJAX pagination using PHP

PHP File Upload for CKEditor

Simple file uploader for CKEditor 4

Organize Diretory Files into Year-Month-Day Heirarchy using PHP

Do you have large amount of files sitting in just one directory? Have you ever thought about organizing them in Year-Month-Day path programatically? Let’s get started.

MongoDB Authentication Using PHP

Recently, a client of mine wanted to have an authentication system for their existing Web Application. They are currently using MongoDB as their Database and just wanted to implement a simple Login, Register and Account page for their customers. I did not have much experience working with MongoDB before I accepted the project  so I […]

MongoDB AJAX Pagination with Search and Sort using PHP

A simple tutorial which demonstrates how you can paginate your documents using AJAX and apply search and sort features.

Installing MongoDB in XAMPP Windows

Install and configure MongoDB in XAMPP with Windows environment.

Adding Helper Files in Laravel 5

Demonstrates how to properly add helper files to your laravel app

Build your own Custom File Manager for CKEditor using PHP

Upload files with CKEditor to a custom directory using a simple File Manager PHP Script.

Clear Cache of Modified Files using PHP

Clear the cache of modified files only using PHP

Clear Browser Cache Every Nth Day(s) in PHP

A simple PHP Script that allows you to clear you cache every nth day(s)

Parsing a CSV File using PHP

Describes how you can access the columns of a CSV file and insert the items into the database

Create Posts from WordPress Front-End

Allow visitor to create a post from the front-end of your WordPress blog

Polymorphism – OOP PHP Tutorial

Understanding Polymorphism and its usage and advantages.

GET Request using cURL

Demonstrates how to pull out data from a Web Service using cURL GET Method

Fastest way to Convert Associative Arrays to Objects

No need to create a class or Function to accomplish it.

Generate CSV file and send as Email attachment PHP

Querying reports from SQL database then generate a CSV File containing all the queried data then send the CSV File to the admin email.

Building a Real-Time Chat Application Using Pusher

A simple chat application that uses a self-hosted API called Pusher

Overriding WooCommerce archive-product.php

Best way to customize your Products page in Woocommerce

AJAX Multi-File Upload With Image Preview and Sort [Under Development]

Simple File upload with Preview and Sort Functionality before upload

Simple File Upload with PHP

Create a very simple file upload with File Size validation.

Build Your Own Ajax Contact Form in WordPress

A very simple AJAX Contact Form for your WordPress blog.

Accessing HTML DOM Elements with PHP

Get contents of a website by parsing the DOM Elements

Implementing AJAX Pagination with Search in CodeIgnier

Advanced jQuery Pagination using AJAX and PHP

Post Class for Resume Database

Functions from my most recent Resume Database project

URL Rewriting for Custom Post Types Date Archive

Clean URL’s for Custom Post Type Archives

Add .html extension to permalinks

Tutorial on how to add .html extension to both posts and pages in WordPress

Setting / Getting Sessions Values in PHP

Learn how to set and get Sessions values in PHP

Indent WordPress Subcategories in a Drop-down List

Create a drop-down list with multiple level of WordPress Subcategories.

Example of an Ajaxified WordPress Admin using OOP Style

A Good demonstration of Ajaxified WordPress Admin along with Object Oriented Approach

Using Object-Oriented Approach in Building WordPress Admin Menus

Coding in WordPress Admin using Object Oriented Programming

Reading URL variables in Javascript

A Simple Function that you can use to read URL variables.

Setting and Getting Cookies in jQuery

Utilizing the jQuery cookie library in our website

Setting and Getting Cookies in Javascript

Basic usage of cookies (GET and SET)

Generate Emails with HTML & CSS in WordPress

Adding HTML tags and CSS Styles into your Email Contents

Sending HTTP requests using cURL in PHP

A simplified way of Sending HTTP requests using client URL

Convert stdClass Object to Array in PHP

Use this function to convert stdClass Objects into an Array

PHP Function to Validate Date Format

Simple PHP Function that can be used to validate date format of user input

PHP Function that Generates Random Characters

Simple PHP Function that allows you to generate random codes and define your own characters and length of code.

WordPress Frontend AJAX Pagination

Create a Front-end AJAX pagination in your WordPress blog

Insert PHP Code to your WordPress Post or Page

Make your post editor read PHP codes using shortcodes as tags

Implementing AJAX in WordPress

Introduces the proper way of using AJAX in your WordPress blog

How to Limit the Number Words to Output in PHP

Creating a function that will limit the number of words to output

Formatting Dates in PHP

Change the output of the time stamp to something more readable