Tag php

Working with JSON

A common use of JSON is to read data from a web server, and display the data in a web page. Objects in PHP can be converted into JSON by using the PHP function json_encode() in reverse you can use json_decode()…

Redirect Based On Referrer Or IP Address

Using PHP you can easily redirect your website visitors to a different page depending on where they come from. For example you may have 2 different web sites selling a product but only one customer care web site where people…

JQuery Ajax Form

If your website has some forms, you should consider using Ajax. Ajax allows the user to receive immediate feedback when the submit they form without ever leaving the page. Using Ajax can clutter your JavaScript, so I highly recommend using…

Top 5 Best PHP Frameworks of 2018

Talking about the PHP frameworks, they are developed to complement PHP. PHP frameworks complement PHP in many ways, some of which are: Provides pre-built modules Serves a platform for building robust & reusable components Enables faster development cycles Using libraries &…

Building Dynamic Sitemap Using PHP

One day you might discover that some of your websites are not showing up in the search results. You might believe they have links to them somewhere on your website, but you do not know for sure. Unless the search…

Generate A Random Password With PHP

In this tutorial, you will find out how to generate random passwords with a handy PHP function. It’s always better to use a randomly generated password rather than your name, birthday, city, etc. Nowadays most registration forms require you to…