Simple way to generate random password using php

Simple way to generate random password using php

  •  
  •  
  •  
  •  
  •  
  •  

  Tweet    In this tutorial, I will show you how to create or generate random password using PHP. It is better to use random password rather than using your date of birth or name or email id as password which can be easily hacked. By using the following PHP function you can generate multiple random passwords. The password […]

Create image CAPTCHA using PHP and validate using JavaScript

Create image CAPTCHA using PHP and validate using JavaScript

  •  
  •  
  •  
  •  
  •  
  •  

  Tweet    Create image CAPTCHA using PHP and validate using JavaScript. We all encountered such a situation when we have to enter a captcha in the form. Captcha is used to prevent spam injection on the website through your form.  So, if you use captcha in your website form, then it will become harder for any bot to get […]

How to get data from database in JSON format using Ajax and PHP

How to get data from database in JSON format using Ajax and PHP

  •  
  •  
  •  
  •  
  •  
  •  

  Tweet    A very common use of JSON is to read data from a web server and then display these data into a web page. JSON is text, so when we want to exchange text as data between a browser and web server we can use JSON. In this tutorial, I will teach you how to get […]

How to insert JSON data into MySQL database using PHP

How to insert JSON data into MySQL database using PHP

  •  
  •  
  •  
  •  
  •  
  •  

  Tweet    In this tutorial, I will show you how to insert JSON data into MySQL database using PHP. In JSON file we can store huge amount of data in an array format. So that, sometimes you need to store these JSON data into the database. Please follow the below simple PHP script which will guide you about […]

Populate multiple dropdown lists using Ajax, jQuery, PHP and MySQL

Populate multiple dropdown lists using Ajax, jQuery, PHP and MySQL

  •  
  •  
  •  
  •  
  •  
  •  

  Tweet    Some readers often asking me how to generate or populate more than one dropdown list or multiple select boxes using Ajax. So, In this tutorial, I will show you how to generate or populate multiple dropdown lists using Ajax, jQuery, PHP, and MySQL. Let’s think a situation where the user has to submit a form […]

How to get current page url using php

How to get current page URL using PHP

  •  
  •  
  •  
  •  
  •  
  •  

  Tweet    In this tutorial, I will show you how to get current page URL using PHP. We will use $_SERVER variable to get the current page URL. $_SERVER is a super global variable, which is always available in all scopes. It is an array contains various information such as, headers, document path, script location, request method […]

How to generate QR code using PHP and Ajax

How to generate QR code using PHP and Ajax

  •  
  •  
  •  
  •  
  •  
  •  

  Tweet    QR code is a two-dimensional barcode, also known as the Quick Response code. It can contain URL, simple text, contact number, email address and so on. In this tutorial, I will guide you through a step by step way about how to generate QR code using PHP and Ajax. The following example of QR code generator is […]

How to generate barcode using PHP

How to generate barcode using PHP

  •  
  •  
  •  
  •  
  •  
  •  

  Tweet    Nowadays, the barcode is a common thing for any product tagged with its body. Barcode is used to store various kind of data such as product code, price, manufacturer details and so on. So, in this tutorial, I will show you how to generate barcode using PHP. The following example of PHP barcode generator is very easy […]

Like dislike rating system using jQuery, Ajax, PHP and MySQL

Like dislike rating system using jQuery, Ajax, PHP and MySQL

  •  
  •  
  •  
  •  
  •  
  •  

  Tweet    Like dislike rating system is quite useful for any website. Through this admin as well as webmasters can understand the users likes and dislikes. In this tutorial, I made a simple like dislike rating system using jQuery, Ajax, PHP, and MySQL. No page refreshing is required because I used jQuery and Ajax. Also, we store the data […]

Load data dynamically on page scrolling using jQuery, Ajax, PHP, and MySQL

Load data dynamically on page scrolling using jQuery, Ajax, PHP, and MySQL

  •  
  •  
  •  
  •  
  •  
  •  

  Tweet    When we have too many records or contents to display on the web page, we used pagination. Pagination simply divides all the records among pages, such as page 1, page 2 and so on. But, nowadays we replaced this pagination mechanism with a more friendly feature that loads data dynamically from the database on page scrolling. […]