Ozeki PHP Plugin Rumi, June 6, 2014 <?php $gatewayURL = 'http://192.168.1.100:9333/ozeki?'; $request = 'login=sendmail'; $request .= '&password=mypassword'; $request .= '&action=sendMessage'; $request .= '&messageType=SMS:TEXT'; $request .= '&recepient='.urlencode('01711673093'); $request .= '&messageData='.urlencode("PHP Hello World"); $url = $gatewayURL . $request; //Open the URL to send the message file($url); ?> Related Scripts Ozekiphp
Daily Shell Backup Script April 19, 2013 #!/bin/sh DAY=`/bin/date +%Y%m%d` TFILE="/var/log/pdns-cache/$(basename $0).$DAY.csv" rec_control dump-cache $TFILE echo "cache dump completed, dump script by rumi (hasan.emdad@mango.com.bd)" Related Read More
How do I line up 3 divs on the same row July 24, 2013 Part one- <div> <h2 align="center">San Andreas: Multiplayer</h2> <div align="center" class="float-left">CONTENT OF COLUMN ONE GOES HERE</div> <div align="center" class="float-left">CONTENT OF COLUMN TWO GOES HERE</div> <div align="center" class="float-left">CONTENT OF COLUMN THREE GOES HERE</div> </div> And inside CSS file- .float-left { float:left; width:300px; // or 33% for equal width independent of parent width… Read More
Proxmox VM auto start VM after found in shutdown state July 30, 2021July 30, 2021 I was having this strange issue, where a running busy VM stopeed all of a sudden due to high CPU or Memory overload issue. So manually had to start everythime. In order to avoid this, created a small script to start the VM in case if it’s down. #!/bin/bash #… Read More