Returns an array of the function’s argument list in other words It returns an array in which each element is …
Trending Story
PHP Object Cloning
Creating a copy of an object with fully replicated properties is not always the wanted behavior. Example …
Flash Glow Effect with greensock plugin in AS3
Glow Effect with GreenSock
Glow effect with GreenSock plugin in action script 3, download the latest files from the greensock site …
What are the differences in die() and exit() in PHP?
Ooops!!! there is no difference in die() and exit(). die() is equivalent to exit and vice versa. But why these …
Installing Go Language in Ubuntu
The Go Programming Language
Its very easy to install GO on ubuntu os. We need some more packages for the ubuntu …
Google’s GO Programming Language
The Go Programming Language
Go is a systems programming language intended to be a general-purpose systems language, like C++. It is …
Find Your Ubuntu Version Using Terminal
To find your Ubuntu version using command line method. Two commands are there, open your terminal and type the following.
Shell …
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 …
Copying value from one table to another
This can be done by using both insert and select queries.
Example :
Suppose we have two tables student and mark :
Student
id …
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 …
Using wget command to download entire contents inside the directory
Using wget command, to download entire contents inside the directory.
This can be achieved by using the option -m with wget
for …
How to shutdown the server after sometimes
You just use the command “shutdown” with -h option to shutdown the server after some periods.
shutdown -h +period
for example:
shutdown -h …
Difference between htmlentities() and htmlspecialchars()
htmlspecialchars only takes care of <, >, single quote ‘, double quote ” and ampersand. htmlentities translates all occurrences of …
Difference between echo, print and printf
echo is the most primitive of them, and just outputs the contents following the construct to the screen. print …
