[Solved] CSF/LFD Stop Emails containing “Suspicious process running under use X”

CSF really is an excellent IP Tables wrapper but these alerts can become a burden and you can essentially receive hundreds of them per day. Okay, for sure, the goal should be to fix the issues first but if you are a busy server admin, then this can take time so if you need to disable the emails, then just follow the steps below. 1. Edit the CSF config file Shell pico /etc/csf/csf.conf 1 pico...

Read More Here >>

[SOLVED] – WHM Cpanel on Amazon EC2 Servers + FTP TLS Dreamweaver Issue

One of my customers has an Amazon EC2 instance with WHM installed. A decision was made recently to close off port 21 and force FTP over TLS for better security during ftp sessions. However, one of the team was saying they could not get Dreamweaver to connect  and was getting an error when trying to connect with TLS. All his settings seemed fine and in fact I also was able to replicate his issue on my local copy of Dreamweaver CC 2016 so I turned...

Read More Here >>

Using CURL with PHP to send POST field data using http header Authentication

Okay, so until now I had been using api keys passed through the post fields but on a more recent project I was asked to send the api key through the headers when making the request, so I have made myself a little function to use curl and pass the api key through CURLOPT_HTTPHEADER. PHP function my_curl_request($postfields) { //define the end point url and api key $api_end_point_url = "https://some_end_point_url.com/api/" ...

Read More Here >>

[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 Example: joe.bloggs+1@gmail.com was becoming joe.bloggs1@gmail.com (wordpress was stripping out the + sign). So after a bit of sifting around the interwebs, I came across a plugin which allows...

Read More Here >>

[SOLVED] Add a Custom Column in Custom Post Types Admin Screen Displaying Relational Data From Another Custom Post Type

I had a situation recently with WordPress where I had to display the Company Name against the Attendee profile when viewing a list of Attendees inside the WordPress admin. Basically there was two custom post types (CPT’s), one was called “attendee” and the other “companies”. When editing an Attendee record we would assign it to a company so that we knew which Company the Attendee was assigned to. After some ideas from...

Read More Here >>
NAVIGATION MENU