Trending Story

PHP func_get_args()

Returns an array of the function’s argument list in other words It returns an array in which each element is …

PHP Object Cloning

Creating a copy of an object with fully replicated properties is not always the wanted behavior. Example …

Changing MySql User Password

The mysqladmin tool can be used for changing MySql user’s password. The following line of code will change the user1′s …

Revoking MySQL Root Privilege

If we lost the root privilege or password, it can be retrieved by the following steps :
Stopping MySQL :
Shell Command
/etc/init.d/mysqld …

Creating a playlist for mplayer

We can create the mplayer playlist by following some simple commands :
$ find [/path/to/directory/] -name “*.mp3″ -print > myplaylist.txt
$ mplayer …

Add Ip’s to a Linux Server

1. Login to the server as root user.
2.
cd /etc/sysconfig/network-scripts
3. Check for existing network adapters with the command:
ls ifcfg-*
4. Copy …