How can I create a archive/zip of a whole directory via terminal?

How can I create a archive/zip of a whole directory via terminal?

Create Zip file using Ubuntu command For creating the zip you have installed zip. For installi...

Read more

How to send email using the phpMailer

PHPMailer is a code files are use for send emails safely and easily using PHP code.  Sending emails directly via PHP code using SMTP protoc...

Read more
421 Sorry, cleartext sessions are not accepted on this server

421 Sorry, cleartext sessions are not accepted on this server

I'm trying to access an FTP from my web browser, but I get the following error: 421 Sorry, clea...

Read more
How to optimize MySQL table size

How to optimize MySQL table size

We have to design your tables in such a way to use minimize their space on the disk. This  out...

Read more

How to save the output of a Linux/Unix command to a file

The Bash / KSH and POSIX shell provides a file redirection option to redirect the output of commands to a file using the following two oper...

Read more

How to find the last day of the month from date in php?

How can I get the last day of the month in PHP? $a_date = "2009-11-23" I want last day of the month like 2009-11-30 str...

Read more

AWS Public DNS doesn't work. Can't connect to my website

I can't seem to connect to my apache AWS server (ec2-50-16-134-40.compute-1.amazonaws.com) from my browser. When I am ssh- ed into th...

Read more

How to enable mod_rewrite for Apache 2.2

I have a fresh install of Apache 2.2 on my Ubuntu 12.4 machine, everything works fine, except mod_rewrite. I have tried many commands to en...

Read more

Deny directory listing with .htaccess

If you make a new directory on your website, and do not want put an "index.html" file into it, you may be surprised to find that ...

Read more

How to disabled HTML5 validation using Angular.js

Angular . js has facility to restrict HTML5 validation. All input fields can validate against some basic HTML5 validations, like minimum l...

Read more
AngularJS Form Validation

AngularJS Form Validation

Angular js providing  form validation facility, so that the user can be notified of invalid in...

Read more

PHP download images from URLs

With this lesson I am proving you that how to download images from a distant host to the local machine. Please ensure that the remote ser...

Read more

Change permission of folder in Ubuntu

Use chmod command in Linux or Ubuntu to set the permission of a file or folder. In Ubuntu all the files and folder have permission to exe...

Read more
Magento Releases PHP 5.4 Patches for Magento 1.6.0.0-1.8.1.0

Magento Releases PHP 5.4 Patches for Magento 1.6.0.0-1.8.1.0

The recent news is that Magento has released patches for PHP 5.4. Magento 1.6.0.0-1.8.1.0 is not supported on PHP version 5.4. You can g...

Read more