How to Parse XML in PHP

How to Parse XML in PHP

In this tutorial, I am going to show you how you can parse an XML into PHP. An XML parser is a program that allows to translate an XML doc or code into XML Document Object Model(DOM) object. In PHP, we have an extension called SimpleXML that allows us to manipulate and get XML data. … Read more

How to Integrate Google reCAPTCHA with PHP [Full Guide]

How to Integrate Google reCAPTCHA with PHP

Spamming is a very common issue for all websites. Every web developer faces to the spamming problem and implements captcha verification. Google Recaptcha is one of the best options to get free from spam. In this tutorial, we are going to see how to use Recaptcha in PHP or How to use Google reCaptcha code … Read more

How to Receive JSON POST with PHP

How to Receive JSON POST with PHP

We all know that $_POST is used to collect post data in PHP. That’s true. But when we try to get JSON post data using $_POST then it fails. Recently I was working on project and need to receive JSON POST with PHP. I had expected that JSON POST data in $_POST superglobal variable but … Read more