ffmpeg

Install latest ffmpeg on ubuntu 12.04 or 14.04

Another way to install latest ffmpeg library on ubuntu 12.04 or 14.04.

Courtesy: Github

OR

 

Read More

Avoid mail direction to spam or junk folder – Zend PHP

Here, I’m just giving a solution to avoid mail direction to ‘spam’/ ‘junk’ folder while sending the mail using Zend_Mail(). Please see below,

 

Read More

Hide PHP and Apache web server versions from response header

Normal PHP & Apache installations won’t hide the server details from request response headers. See below [with default configuration],

rsz_1screenshot_from_2013-10-11_071725

To hide PHP & Apache web server version details from response headers, you have to edit few configuration files on your hosted server.

 

 

After made the above changes, restart the apache web server.

 

Now check the response header from your server,

rsz_screenshot_from_2013-10-11_082700

See the difference between the response headers before and after changing the configurations.

Note: These changes won’t made your server more secure. It is just hiding the configuration details from hackers.

 

Read More

Export all procedures alone from mysql via terminal

This is a easiest way to export all procedures alone from specified database through Terminal. Using mysqldump we can do this. General syntax of the command is as follows,

After enter the command in Terminal press ENTER, then the Terminal will prompt to enter database password where you have to provide the database password. Then you can check the path which you specified to save the .sql file. In the specified path you can see the export file.

Read More

Connecting mysql server via terminal

We all know that there is GUI available to connect MYSQL server (phpmyadmin). Most of the developers are not aware about connecting MYSQL server via terminal. Here we are going to explain how to connect a MYSQL server (both local & remote) via terminal.

 

After enter the above command, press ENTER. Then the Terminal will prompt to enter the password to connect. If you given valid credentials, then the terminal will display the shell pointer as mysql>

Once the connection established you can manipulate the database using SQL commands.

Read More