Archive for the ‘code’ Category


Remove meta-generator tags from WordPress using PHP

WordPress is one of the most popular CMS on the web today. But there are a few really bad practices that both WordPress core and plugin developers have, which is putting the version number of their software in the html code. With the ever growing vulnerability database that is WordPress, please stop helping people with […]


Feb
23
2017

Backup Buddy on GoDaddy hosting

So I have a few hosting accounts with various companies. Plus I have had many clients with all kinds of hosting accounts. I do love GoDaddy’s customer support, and their hosting is generally a little more affordable than most as they are consistently running specials. But the one bad thing is that Backup Buddy doesn’t […]


Feb
08
2016

XAMPP OS 10048 Error

How to fix XAMPP’s OS 10048 Error Only one usage of each socket address (protocol/network address/port) is normally permitted. AH00451: no listening sockets available, shutting down. So Ive been dealing with this message when running a CLI script that executes the start of xammp. I searched and searched online but couldn’t really find a quick […]


Feb
08
2016

Cloak Front End Email v1.3 – WordPress Plugin

Cloak Front End Email v1.3 Cloak Front End Email just got better! You can now have multiple email addresses to display on the front end of your website and the plugin will cloak them and display them via javascript. It’s a super simple admin interface.   How to add your email via shortcode Once you […]


Dec
19
2015

2016 Wix.com Review

On October 14, 2015 Search Engine Land wrote an article that Google had dropped Wix.com pages out of their index. Google officially confirmed that they were working on getting Wix sites back into their search engine. This is no surprise, I have been saying this back in May 2012 blog post about how Wix sucks for a […]


Nov
15
2015

Contact Form 7 – Select drop down dates format

Contact Form 7 is great, but the format is slightly different than traditional forms. They wrap everything in quotes and it runs horizontal. So when it comes to dates, it can be quite tedious adding all that info in a format that isn’t easily accessible through a Google Search. In case you don’t want the […]


Sep
12
2015

How to enable explicit_defaults_for_timestamp?

After upgrading my xampp with mysql to 5.6 I started getting an error when creating a new database. I looked everywhere for the answer. They kept saying put explicit_defaults_for_timestamp=1 but it wasn’t working. Turns out you have to put it in the right spot! Open your my.ini file, present at “C:\xampp\mysql\bin”, find “[mysqld]” (without quotes) in next […]


Sep
10
2015

Adding an Authorized user to Mongodb

There isn’t really a whole lot of information out there about how to add a username and password to your database for mongodb. There is the documentation on Mongodb’s website but it just gives parameters or options and not really a step by step process. Security is a big part of web design and the […]


May
03
2015

PHP CLI (Command line Interface)

I just discovered you can run a PHP file from the command line and don’t even have to fire up your local server. This is huge! And opens the possibilities wide open! Im sure you’ve see other tools that you type in command line options or commands and it does a lot of things in […]


Mar
23
2015