Blog

We do update and maintain our best blogs and provide support. We don't regularly blog anymore. But if you want to see all our posts, you're in the right place.

Fixed: Cannot send session cache limiter – headers already sent

Okay, so many of you guys still ask me about how to fix these warning messages in our Facebook scripts. Today I'm going to give you two possible fixes that you can do. By the way, here's the warning message we want to remove: FIX IT BY ADDING A SESSION_START() You can fix it by adding […]

Working with Geolocation watchPosition() API

I’m going to share a Geolocation watchPosition() API example. This working navigator.geolocation.watchPosition() code I used when I wanted the user to know his current location in real-time (while he is walking or riding a vehicle). This works while the user is using his Android device or any device with a browser that supports the Geolocation […]

12 Animated HTML and CSS Logo Examples You’ll Love

I'm still amazed by these people creating and coding logos using only the HTML and CSS technology, I was like, look Ma, no Images and JavaScript! So here are some of those amazing HTML and CSS logo examples that I recently found on the web (some are not actually logos but they can be used […]

CakePHP 2.x Pagination Tutorial: Helper, Conditions, Limit, Sorting and More!

CakePHP Pagination is one of the fastest thing you can code with this amazing framework. In this post I’m gonna show you how you can create a pagination script in matter of few minutes, or even seconds! Cool? Let’s get started. This post is part of my CakePHP tutorial series, before you proceed to this, […]

CakePHP Classes and Naming Conventions

Introduction After installing CakePHP on your server, we now have to learn how to create CakePHP classes and its naming conventions. CakePHP uses Model–view–controller (MVC) software architecture which is really great. If you have no idea what MVC is, I think Wikipedia can give you a great overview. Also, you’re going to get the hang […]

Sum textbox values using JavaScript

A friend asked me how to sum textbox values using JavaScript? He wants to do this as he type the numbers. Here’s a quick answer to that: Give all your TextBoxes a class name and use the jQuery ‘keyup()’ and ‘each()’ methods to compute the sum. LIVE DEMO HTML - a table where the product […]

Creating Social Media Icons for Your Website using CSS

In almost every website we see today, there are links to their social media accounts. I think it is a standard now. It’s like, you’re not cool if you don’t have a Facebook and Twitter account! Recently, I was using Google drive to host my CSS and image files. Now, I removed it. Why? Because […]

How To Use CakePHP Framework, A Getting Started Guide!

Introduction Using CakePHP Framework is one of my most favorite things to do. This is the first PHP framework I worked with, and until now, I’m still delighted by it. Now it is time for me to share my knowledge in CakePHP web development. I think you are here because you already know what CakePHP […]

CSS3 Rotate Image On Hover

Have you seen our logo on the upper left corner? Try to hover on it, it will rotate 360 degrees. Looks cool? In this quick post, I’m going to show you how I did that using CSS3. CSS: HTML used: You can also do the rotation in other degrees, not on 360, just change the […]

How to Run a PHP Script? Step By Step Guide!

Hello, and welcome to the start of codeofaninja.com's series of web development tutorials! Overview Setting up a development environment for PHP programming is easy. Download your preferred code editor, and I like the Visual Studio code editor. Next is to install XAMPP, the most popular PHP development environment. This package contains Apache, PHP & MariaDB, […]