Tag: php

I send PHP mail via SMTP

Step – 1: First you add PHPMailer Class From GITHUB https://github.com/PHPMailer/PHPMailer/releases/tag/v6.1.2 Step – 2: add Form Step – 3: Mail Configuration


Get Data from API in Php

Code to fire an API and decode its JSON response and get the status in Php: Code for fetching data from an API in PHP: 1. pass the url in a variable. 2. pass the data that you want to add as a parameter in the API, in another variable [$data]. 3. Encode the data…
Read more