Friday, 31 January 2014

What is memcache and why you use memcache for your website

Memcache with PHP Memcache is Free & open source, high-performance, distributed memory object caching system which improves the website performance In simple words every time your website opens it fetches data from database. Memcache cache this data locally on temporary cache so that every time your website page open it won’t run sql queries to fetch data from DB.

How to Install Memcache in Ubuntu

Thursday, 23 January 2014

Difference Between Single And Double Quotes in PHP

Difference Between Single And Double Quotes in PHP In PHP you can specify the strings by using single and double quotes. There are other methods (heredoc and nowdoc (since PHP 5.3.0)) are also used but first two are used mostly.
It is important to know the difference between using single quotes and double quotes. In this post we will see the difference between them and which should be used when

Single Quotes:
When string is specified in single quotes PHP will not evaluate it or interpret escape characters except single quote with backslash (‘) and backslash(\) which has to be escaped.
   $name = 'srinu chilukuri';
   $member = 'This is $name';
   echo $member;
If echo $member variable it will print the result as it is without interpreted.

output: This is $name

Double Quotes:
In double quoted strings other escape sequences are interpreted as well any variable will be replaced by their value.
   $name = 'srinu chilukuri';
   $member = "This is $name";
   echo $member;
output: This is srinu chilukuri

Sunday, 5 January 2014

What is Filezilla and how to use it ?

What is Filezilla and how to use it?

FileZilla is a free,open source and cross-platform FTP/SFTP client used to upload files to web server from local machine.
FileZilla is a popular FTP/SFTP used by most of people. Its interface and functionality is more user friendly. And main thing is its secure.
i will explain in this article how to upload files to server using FileZilla?

First download the FileZilla from its official website.Download the FileZilla here. Download the FileZilla according to your OS. Once the application has been downloaded install FileZilla and run the application.

Now we have to do some setting to connect to web server.
Launch the FTP client software on your local computer.