How to Increase File Size Import Limit in phpMyAdmin

How to increase file size import limit in phpMyAdmin. This is the common question asked by most of the people that, I get an error message when I am importing a file more than 2MB using phpMyAdmin.

I assume you have LAMP and phpMyAdmin installed on your system and your importing MySql database.

In your default setting, you’ll get following error message when you try to upload  a file more than 2MB.

Error : No data was received to import. Either no file name was submitted, or the file size exceeded the maximum size permitted by your PHP configuration…

How to Remove WWW From URL through htaccess

How to remove www from url through htaccess. Suppose, if a user type (example is the name of your domain) in their browser, you can automatically redirect them to

For website SEO (Search Engine Optimization) purpose, it is necessary that your blog or website either respond to or, but not both. Otherwise, search engines see duplicate content on the www and non-www domains, and may downgrade the site ranking.

In my previous posts, I have explained htaccess file and their importance. In this post, We will learn how to remove www from url through htaccess.

How to Optimize WordPress Database

In this blog post we are going to discuss how to optimize WordPress database and improve page loading time. WordPress is one of the most used CMS worldwide. It is one of the most awesome blogging platform. For any successful website/blog performance is the key factor. Optimizing database can definitely make a huge difference in load time. So let’s check what is optimization and how to optimize wordpress database.

How to Leverage Browser Caching in WordPress

How to leverage browser caching in WordPress. In simple words, You can say how to cache WordPress static contents in a user browser.

Caching is one of the best ways to improve the overall performance of a website/blog. Caching static contents (such as Js, CSS, Images etc.) helps to improve the loading time of a webpage. In this article, I’ll discuss how to cache static contents of your WordPress blog in a user browser.

Cookies in PHP – Create, Set, Read and Delete a Cookie

HTTP is a stateless protocol. It means user sends a request, a server responds to that request without remembering the request later. To track important information (such as user preference, user activity etc.) on a website cookies are very useful. In this blog post, I’ll explain what is cookies. How to create, set, read and delete a cookie in PHP.

what is Cookies

Cookies are very useful to store small information in a remote browser (user browser). It’s a simple text file which stores maximum 4KB of data.

Cookies are created by a browser on the request of a server (as per program logic). Once a cookie is created on a user browser, the browser sends that cookie information back to the server using HTTP Header.

Regular Expression (Regex) Tutorial, Tools, Tester, Syntax

What is Regular Expression

In simple words it is a pattern of symbol and characters. Regular expression is used to search,replace or modify the words/strings. It is the most important part of your daily programming usage whether rewriting url using .htaccess, form validation, validating user input etc.

Regular expression is a sequence of characters and each characters has it’s special meaning. Let’s look at some basic characters and it’s meaning.