Export MySql data into Excel or CSV format
To generate reports or to print data or for some other purpose we often need data to be export in excel or csv format. It is quiet easy to fetch records from mysql and export the result set as .csv...
View ArticlePost data using cUrl in PHP – A simple example
cUrl is very powerful library, which provides various different ways to solve many real life problems. I often use curl in my projects. here is a very basic example of Post data using cUrl in PHP:...
View ArticlePrevent Sql Injection in PHP
Hi there! Today In this post I will mention few of the methods which is usually used in php application to prevent SQL injections. It is said, “Never Trust Your User’s Input”. Preventing and cleaning...
View ArticleMultiple File Upload in PHP using JQuery AJAX
Going forward from last post Upload File in PHP using Jquery AJAX lets see how to Upload Multiple Files in PHP using Jquery AJAX. Again similar easy way to achieve the task, here is a code snippet:...
View ArticleRemove special characters in php using iconv function
While dealing with user data may be from any website or in csv or excel file we sometimes come across a situation where we need to deal with accents or non utf-8 special characters. To handle such...
View ArticleAutomatically Save data after specific time Interval using JQuery & PHP
You might have seen this function in Gmail or in wordpress, where, when user enters large text in textarea or in HTML editor like TinyMCE, system starts saving data automatically in database so that...
View ArticleBlock Public Email domains like gmail.com, yahoo.com etc while user sign-up
In some projects, we need to block user to enter email Ids from public email domain like gmail.com, yahoo.com, live.com etc. One of the way to do this is as shown below, using PHP. A simple PHP script...
View ArticleSimple Rating System using CSS, JQuery, Ajax, PHP, MySQL
In this tutorial we will see how to make a Simple Rating System using CSS, JQuery, AJAX, PHP, MySQL. No images required to build this. It can be build using Simple CSS only. We will use JQuery, AJAX,...
View ArticlePHP to Node.js- Are you ready for the ‘Big’ move?
The ubiquity of PHP has indeed helped it in attaining the position that it holds today. While this web technology allows you to get your web app up and running in no time, the huge chunks of code that...
View ArticleAllow or Block IP/IP range or country from accessing website using .htaccess
Sometimes you want to block/allow any certain IP or an IP range either for security reason or even to disallow bots or humans to access your website. You can easily do this by restricting/allowing...
View ArticleCreate your Geocoder or Reverse geocoder in PHP
In almost all projects, we need or we use some kind of geospatial data, either that may be latitude, longitude, zip codes, address, city etc. Which can be later used to show or plot on google maps or...
View ArticleExport MySql data into Excel or CSV format
To generate reports or to print data or for some other purpose we often need data to be export in excel or csv format. It is quiet easy to fetch records from mysql and export the result set as .csv...
View ArticlePost data using cUrl in PHP – A simple example
cUrl is very powerful library, which provides various different ways to solve many real life problems. I often use curl in my projects. here is a very basic example of Post data using cUrl in PHP:...
View ArticlePrevent Sql Injection in PHP
Hi there! Today In this post I will mention few of the methods which is usually used in php application to prevent SQL injections. It is said, “Never Trust Your User’s Input”. Preventing and cleaning...
View ArticleMultiple File Upload in PHP using JQuery AJAX
Going forward from last post Upload File in PHP using Jquery AJAX lets see how to Upload Multiple Files in PHP using Jquery AJAX. Again similar easy way to achieve the task, here is a code snippet:...
View ArticleRemove special characters in php using iconv function
While dealing with user data may be from any website or in csv or excel file we sometimes come across a situation where we need to deal with accents or non utf-8 special characters. To handle such...
View ArticleAutomatically Save data after specific time Interval using JQuery & PHP
You might have seen this function in Gmail or in wordpress, where, when user enters large text in textarea or in HTML editor like TinyMCE, system starts saving data automatically in database so that...
View ArticleBlock Public Email domains like gmail.com, yahoo.com etc while user sign-up
In some projects, we need to block user to enter email Ids from public email domain like gmail.com, yahoo.com, live.com etc. One of the way to do this is as shown below, using PHP. A simple PHP script...
View ArticleSimple Rating System using CSS, JQuery, Ajax, PHP, MySQL
In this tutorial we will see how to make a Simple Rating System using CSS, JQuery, AJAX, PHP, MySQL. No images required to build this. It can be build using Simple CSS only. We will use JQuery, AJAX,...
View ArticlePHP to Node.js- Are you ready for the ‘Big’ move?
The ubiquity of PHP has indeed helped it in attaining the position that it holds today. While this web technology allows you to get your web app up and running in no time, the huge chunks of code that...
View Article
More Pages to Explore .....