shopify analytics ecommerce

Monthly Archive: June 2015

Server Monitoring with PHP

In the internet have so many server monitoring scripts has many features, but if you’re like me, just want get a notice when the server is down, and all are httpd server, you can simply achieve through PHP, for example, you may very …

File transfer via SSH

When sending files between two hosts, with the ftp command is very convenient, but another more secure approach is through SSH to transfer, and use very simple, as long as you can use scp command. If you want to lower / home / …

PHP’s timezone settings

After the upgrade to PHP 5.3, similar to the following error message appears when using date-related functions: Warning: strtotime () : It is not safe to rely on the system’s timezone settings You are * required * to use the date.timezone setting or …

Linux block ip with iptables

If you want to block ip of network traffic, you can achieve through iptables under Linux, instructions are as follows: iptables -A INPUT -s IP_ADDRESS -j DROP Just want to block the ip method above IP_ADDRESS position before it. There is a case …