Display Server Uptime Using PHP Script

June 30, 2009 by Mark  
Filed under Tips & Tricks

Start you favorite text editor and type the following text.

<?php system("uptime"); ?>

Now save the file as uptime.php and then upload the file to your server root directory. Once uploaded, open your internet browser and point it to the uptime.php by typing http://yourdomain.com/uptime.php. Change yourdomain.com with your own domain name. This script call the unix system command ‘uptime’ and display the result in html format so that it can be display on your internet browser. Below is the example result display by the script.

Read more

Split or Merge File on Linux

June 28, 2009 by Mark  
Filed under Linux

If you are using Windows operating system, you have to install third party program to be able to split large file into a few small files. But for Linux user you can use split command to do the task. It is a small program but do the job effectively. For example if you have 2 GB files and want to split it into four files of 500 MB each, you can use the following command.

Read more

Protect Your Wordpress ‘wp-admin’ on Lighttpd

June 27, 2009 by Mark  
Filed under Tips & Tricks

Besides Apache, Lighttpd also has the ability to limit access to your website by client IP address. Today I will share how to protect your Wordpress ‘wp-admin’ on Lighttpd by only allow your IP address to gain access to the directory. I assume that you already have a Wordpress blog running on Lighttpd because I will not cover that on this mini How to.

Read more

Read Ebook on Your PSP

June 22, 2009 by Mark  
Filed under PSP

You might think that PSP is just a gaming console. But the availability of custom firmware truly make it doing something beyond a normal game console can do. Not only it can play your backup game from your memory stick but you can install homebrew application. One of the homebrew that I found very useful is Bookr. Bookr is an ebook reader for PSP. The program is distributed under GNU General Public License (GPL). So its can be downloaded for free and without any extra charge.

Read more

How to Change Your Default Wordpress Username

June 15, 2009 by Mark  
Filed under Tips & Tricks

Every fresh Wordpress installation has a default username admin. There is no option to change this username during installation. Because the admin is a well known username, you might get the risk of being brute force attack and could be a disastrous for your Website or blog. To avoid this risk you should change the default username to something unique.

If you have a root access to your webhosting account. Initiate a SSH session. Then connect to your MySQL server by using the following command:

mysql -u username -p

Read more

Next Page »