Quantcast
Channel: php – devzone.co.in
Browsing all 33 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article



Image may be NSFW.
Clik here to view.

Post 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 Article

Image may be NSFW.
Clik here to view.

Prevent 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 Article

Image may be NSFW.
Clik here to view.

Multiple 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 Article

Image may be NSFW.
Clik here to view.

Remove 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 Article


Image may be NSFW.
Clik here to view.

Automatically 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 Article

Block 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 Article

Image may be NSFW.
Clik here to view.

Simple 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 Article


Image may be NSFW.
Clik here to view.

PHP 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


Image may be NSFW.
Clik here to view.

Allow 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 Article

Image may be NSFW.
Clik here to view.

Create 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 Article

Image may be NSFW.
Clik here to view.

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 Article

Image may be NSFW.
Clik here to view.

Post 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 Article


Image may be NSFW.
Clik here to view.

Prevent 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 Article

Image may be NSFW.
Clik here to view.

Multiple 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 Article


Image may be NSFW.
Clik here to view.

Remove 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 Article

Image may be NSFW.
Clik here to view.

Automatically 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 Article


Image may be NSFW.
Clik here to view.

Block 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 Article

Image may be NSFW.
Clik here to view.

Simple 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 Article

Image may be NSFW.
Clik here to view.

PHP 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
Browsing all 33 articles
Browse latest View live




Latest Images