Ruby script for sending mail
Ever wanted to send emails using the ruby script? Use the one below : require ‘net/smtp’ puts “Enter the from address:” _from = gets.chomp puts […]
Ruby script for sending mail Read More »
Ever wanted to send emails using the ruby script? Use the one below : require ‘net/smtp’ puts “Enter the from address:” _from = gets.chomp puts […]
Ruby script for sending mail Read More »
You may use the below script to test whether the mail function via PHP script is working well in the server. <?php $to =
Sample PHP script to test the mail function Read More »
You might have subscribed for costly monitoring services, however, the following script will help you to keep a track of your site’s availability. Create
Monitoring the availability of your site using PHP script Read More »
Frame forwarding means that the visitors to your website are automatically redirected to another site. But in here, the address in their browser’s address
Frame forwarding using HTML script Read More »
We here discuss on Bash script to block IPs during DDoS attack. Use the below script to block IP addresses making too many connections.
Bash script to block IPs during a DDoS attack Read More »
You can find the Bandwidth usage in cPanel servers using the script given below. awk ‘{sum+=$10} END{printf(“MB: %d\n”, sum/(1024*1024))}’ /usr/local/apache/domlogs/domainname Eg:- awk ‘{sum+=$10} END{printf(“MB: %d\n”, sum/(1024*1024))}’
Bandwidth usage of a domain Read More »