PHP code for Amazon SNS Auto Subscription Confirmation (HTTPS)

Amazon Simple Notification Service or SNS is a messaging service which be used to send notifications by SMS, Email, Push notification or to a URL endpoint. For a quick on setting up Amazon SNS see this article Amazon SNS setup for HTTPS and Email Code for auto confirmation of subscriptions <?php $json_write_to_text = file_get_contents(“php://input”); //read… Continue reading PHP code for Amazon SNS Auto Subscription Confirmation (HTTPS)

Amazon SNS setup for HTTPS and Email

Login to AWS Console Goto Simple Notification Service Create a Topic Add a Subscription – the easy and safe way to do this is by clicking the ARN of the Topic (in the topic listing page ) and going to the Topic details page. Choose your subscription protocol (in simpler words in which way you… Continue reading Amazon SNS setup for HTTPS and Email

ISPConfig PHP-FPM Session Problem

The problem I was facing – session variables not getting passed from page to page. On page1.php I set some session variables and then on going to page2.php all I was getting was Array() !  The problem drove me crazy as everything settings and permissions were fine. I have ISPConfig 3 on Ubuntu 18.04 and… Continue reading ISPConfig PHP-FPM Session Problem

ISPConfig with Jailkit – allowing custom or other commands for users

By default Jailkit allows certain commands or applications only. Below is the process to allow your users to access other commands or any custom command. Here I wanted users to access PHP commandline and composer If needed then first install those applications normally as root Add entries for the applications/commands to the jailkit config file… Continue reading ISPConfig with Jailkit – allowing custom or other commands for users