[SOLVED] Get ENOM balance into WHMCS

I have been running WHMCS for a while now and have had to keep logging into ENOM to get my balance which is a hassle as I have two factor auth and security questions setup so takes me a minute to get through all of that. Here is some php script you can put in a WHMCS widget to display your enom balance in your admin dashboard saving you some time. We are using simplexml to parse the results. PHP //define your credentials $enom_username...

Read More Here >>

[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 it myself and it takes less than 60 seconds. Here is an example of a PDF I will receive which contains links to all my press releases and as you can see they are not really in any...

Read More Here >>

[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 >>
NAVIGATION MENU