Welcome to the blog of Craig Edmonds

This page lists my businessey type posts, but if you want to see some of my personal bloggings, click here.

[SOLVED] Extract URL’s From a PDF File using Free Online Tools

[SOLVED] Extract URL’s From a PDF File using Free Online Tools

Quite often when I am doing some online marketing I receive reports in PDF format containing links and I need to somehow extract the links from the pdf in order to submit those links to various indexing services. I used to pay an outsourcer $10 each time, but now I do...

[SOLVED] Allow WordPress to accept plus (+) sign in usernames

It was revealed to me recently that a wordpress system which programatically creates user accounts via an external api, where we only allow email addresses as the username, anyone submitting a + sign in the username, the plus sign (+) was being stripped out. For...

[Solved] Turn off 2FA on WHM with SSH Command Line

[Solved] Turn off 2FA on WHM with SSH Command Line

This morning I tried logging into one of my WHM servers with 2FA and it was not working. (BTW: If you don't have 2FA setup on your WHM login page then you are missing a great security feature on your Cpanel server). I checked the Cpanel forums and found a...

[SOLVED] Using mysql_query in WordPress After PHP 5.5

Okay, I am a bit old skool and still use mysql_* and yes I can hear some of you sighing, face palming yourselves and rolling your eyes but I have built thousands of sites over the years, many of you were in diapers when I started and I guess I have been a little slow...

[Solved] CTRL + C between Mac and Remote Windows Machine

[Solved] CTRL + C between Mac and Remote Windows Machine

I use a mac as my main machine, but very often I need to login to remote windows machines using Windows Remote Desktop for Mac to either work on native windows applications or do server tasks. Making the mental switch though between CMD + C and CTRL + C quite often...