Skip to content

Category: PHP

Website loading at a snail's page
Programming

Resolving Slow WordPress Websites

Slow WordPress websites can be difficult to improve especially if we don't have a plan on how to resolve the problem. I have a list of five recommendations that I always look at doing when trying to resolve speed issues.

May 5, 2022
Apache Logo
linux

Setting Up Caching on Apache

For the majority of websites, a great amount of the content doesn't change from day to day or even month to month. When a site gets a lot of repeat traffic we can dramatically reduce the load and costs by caching.

May 9, 2017
Recreating PHP's time() function in JavaScript
JavaScript

Recreating PHP’s time() function in JavaScript

PHP's time() function returns the current unix timestamp. JavaScript doesn't exactly have the same functionality, but it's pretty close. Put a different and more understandable way, it returns the current time measured in seconds since the Unix Epoch (00:00:00 UTC on 1 January 1970). JavaScript has a similar way of getting the time but it's in milliseconds since the Unix Epoch.

May 12, 2015
Wordpress

Reducing WordPress Comment Spam

Self-hosted WordPress sites often attract a lot of comment spam which requires your valuable time or resources to reduce to more manageable…

May 28, 2012
Wordpress

Akismet (Anti-Spam)

Akismet has worked extremely well for me over the last two years, it’s only inaccurately identified two comments as spam out of…

September 5, 2011
PHP

Zen Coding

When I first heard of Zen Coding on Sitepoint, I figured it was some other gimmick that might save me about 0.01%…

September 2, 2011
Magento

Why I Recommend PayPal

I spend a significant amount of my timing deal with ecommerce and different shopping systems. One of my all time favourite solutions…

August 17, 2011
PHP

WAMP Server Not Accessible on Port 80

WAMP Server generally runs fine without any problems, although sometimes we have to make some configuration changes because of other software monitoring…

August 2, 2011
PHP

WAMP Server On Windows 7 64bit

Getting WAMP to run properly on Windows 7 isn’t very difficult as long as the permissions are properly set. Also, keep in…

August 2, 2011
Magento

Magento CheckOut Page Blank

I had a very strange issue with a client’s installation of magento a few nights ago. The checkout page was completely blank…

August 1, 2011
PHP

PEAR Mail – Checking If Mail Sent

PEAR Mail & mail_mime is absolutely fantastic for sending multi-part mime emails and requires absolutely no effort. Probably, the best part of…

May 14, 2011
PHP

Installing PEAR on BlueHost

PEAR as I’m sure you’re aware stands for “PHP Extension and Application Repository” and is one of the leading frameworks for reusable…

May 13, 2011
Magento

Add A Facebook Like Button

A while ago, Facebook created the Facebook Like Button that works by using an iframe of FBML. The Like button allows you…

May 10, 2011
Magento

How to Tell What Version of Magento

The easiest way of telling what version of Magento you are running is by viewing file app/Mage.php and looking for a function…

May 10, 2011
Magento

Magento An Introduction

What is Magento? Magento is an open source eCommerce platform with two versions: Magento Community Editon, and Magento Enterprise Edition. Magento is…

May 8, 2011
Book Review

Professional PHP Design Patterns

Professional PHP Design Patterns written by Aaron Saray, coming in at around 250 pages is a very short and concise book. Unfortunately,…

March 12, 2011
Magento

Magento Add/Edit Footer Links

Editing the footer links in magento is actually pretty easy. By default, there should be a static block called footer_links. The static…

March 12, 2011