Archive for the ‘PHP script’ Category

Running PHP Scripts with Cron

Saturday, July 3rd, 2010

Lots of programmers like PHP for its ability to code and develop web applications fast. Code-debugging is a lot easier than with PERL or C. However, there is one thing a lot of developers are puzzled about, “How to run PHP Scripts with crontab?” Cron is normally available on all Unix and Linux distributions; if [...]

Linux Server Setup Crontab Scheduled Backup

Saturday, July 3rd, 2010

The previous system administrator left work hurriedly a month ago. Thus, I inherited a Red Hat Linux Enterprise server with little knowledge. There are many others who would be more apt at the task, but they refused the position. Colleagues consider it as something scary, which entails a big responsibility. They might be right at [...]

How to Move WordPress Blog to New Domain or Location

Saturday, July 3rd, 2010

For blogger who self-hosts the WordPress blog publishing system on a web hosting server with own registered domain name, sometimes, you may decide to reorganize the blog link URL to make it tidier or to reflect new focus or theme of the blog. If you decide to change the URL or link location of your [...]

PHP-MySQL Persistent Connections to Run WordPress Blog

Saturday, July 3rd, 2010

When connecting to MySQL database, WordPress weblog based on PHP scripting will use non-persistent connection by default. That is, WordPress will trigger PHP to generate a new connection to MySQL server for each dynamic page request, and subsequently close the database connection once the web page building is completed. Repetitive opening and closing of MySQL [...]

How to Get Apache & PHP version in Shell

Wednesday, February 10th, 2010

Aside from using phpinfo(), you can also use some shell commands to view the apache or php versions you are using. NOTE: This is in CentOS 5. Syntax to get Apache Version httpd -v Sample: [root@vps ~]# httpd -v Server version: Apache/2.2.3 Server built: May 28 2009 12:50:07 Syntax to get PHP Version php -v [...]

Decode Encrypted Footer WordPress

Wednesday, July 8th, 2009

WordPress template creators typically encrypt the php code in the footer, this is done to protect a template that they have created with hard worked. But you also should appreciate the template creator by not change this code, but if you guys who still wanna change this code you can follow a few steps below. [...]

PHP Proxy, Sock Checker Script

Tuesday, July 7th, 2009

If you have a list of proxies that you’ve got from somewhere and want to verify if they’re good or not this is simple script that will read a text file and check them. First we’ll make a text file with our proxies on each line of the file in the format IP:PORT with one [...]

Installing Ioncube loader (PHP encryption)

Sunday, June 21st, 2009
Installing Ioncube loader (PHP encryption)

Most of the programmers of PHP have the same problem, how to protect PHP scripts souce codes, because PHP scripts source codes are simply plain text, anyone who knows how to program can possibly know Your programming logic and do things You don’t want them to do. With ionCube PHP encoder, Your php scripts are [...]

Alexa booster script php

Thursday, March 12th, 2009

Ranking Booster PHP script is here to help you with one of the biggest asset and that

Block an IP Address without a database

Tuesday, January 8th, 2008

This method of blocking IP addresses we are going to make a MySQL database table where we will store the IP addresses for our script to block. We will then make a script which will check the current visitor’s IP address against this table of blocked ones. We will then include this script from all [...]