Get JSON from URL in PHP

On 2/03/2016 Be the first to comment!

In this tutorial, I’m going to show you how to get json from url in php script. JSON has become a popular way to exchange data and web services outputs in json format. To send a HTTP request and parse JSON response from URL is fairly simple in php but newbies may find how to parse json difficult.

Let's see how to build a php json parser script. For this script, I’m going to access Google MAP web service via API and get latitude and longitude co-ordinates for a location. Google map api produces both json/xml output. But for this example I’m going to get the json response and show you how to parse json object to retrieve the geo-metric details.


8 Best PHP CMS 2016: Content Management System for Every Need

On 1/28/2016 2 Comments so far

Best PHP CMS 2016: CMS or otherwise called as Content Management System is an application that allows users to create, publish and manage contents effectively. This powerful tool can help you to easily setup websites in minutes which are both scalable and customizable.

Content management systems (CMS) are very popular these days and are used to run sites like ecommerce, blogs, online magazines, social networks and enterprise sites all over the world. There are several popular PHP content management systems are available such as Wordpress, Joomla and Drupal.

PHP Login and Registration Script with MySQL Example

On 1/21/2016 1 Comment so far

PHP Login and Registration Script: User Login/registration system is one of the key components of any membership driven websites and the ability to build them is a must have skill for any web developer. In this post, let us see how to create a complete login and registration system using php and mysql database.

This tutorial is fairly simple and easy to understand, but it covers as much as required to build advanced login/registration system - right from data validation to maintaining php sessions for authenticated access.

How to Disable Bootstrap Font

On 1/13/2016 Be the first to comment!

Hi! This quick bootstrap tutorial will teach you how to disable bootstrap font and apply your own styles. Customizing Bootstrap’s default theme is simple, but for a newbie it’s hard to find their way around. Once you know how to do it, you can customize the entire bootstrap theme easily.

Send HTML Email in PHP via SMTP

On 1/08/2016 2 Comments so far

Hi! Happy New Year 2016:)

This is my first post in 2016 for Koding Made Simple. Today we’ll see how to send html email in php. PHP’s mail() function is simple and effective and let you send emails with text/html contents and with attachments. Though it has some shortcomings compared to other mailer libraries like PHPMailer, it does the job and comes in-built with PHP package. Plain text emails are good enough, but the ability to send html emails is more powerful in email marketing and other promotions.

HTML emails include html tags and let you add images, format texts and other eye-catching call-to-action buttons etc. But you have to add additional headers for mailing them.


How to Build a Simple Web Crawler in PHP to GET Links

On 12/28/2015 2 Comments so far

Hi! I’m going to show you how to build a web crawler in php to search all the links from a particular website - and create a downloadable csv file containing those links. Web Crawlers are bots that are used to search for information from websites by scraping their HTML content. These are the same things used by giant search engines like Google, Yahoo and Bing to find and index fresh contents on the web.

Usually these search engines employ their own bots running 24/7 round the clock and search for new contents to update their huge database. This is the reason you are able to Google literally for any sort of queries and get the answer.


Search Multidimensional Array for Key Value in PHP

On 12/23/2015 Be the first to comment!

Arrays are generally used to store and manipulate data with ease and known to be one of the core building blocks of PHP Programming. When properly used, arrays are a great tool to process large amount of data efficiently - be it from database server or from a third-party source. But they can become nasty once you start working with multidimensional array which by itself is an array of arrays i.e., every element of the array turns out as an array. Below example is a good representation of a multi-dimensional array.

Contact Form


Email *

Message *