Get All Records of Zoho CRM by Using PHP Curl

Access Zoho API using PHP Curl Access Zoho API and Fetch all Zoho CRM records after create Zoho Postman Access token and refresh token with create PHP Curl. Fetch Zoho CRM Data using API <?php $url = “https://accounts.zoho.in/oauth/v2/token?refresh_token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&client_id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&grant_type=refresh_token”; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); curl_close($ch); $output […]

Video : PHPMailer Install with Composer and Solve SMTP Error not authenticate using Gmail PHP Mailer

PHPMailer Install with Composer and solve SMTP error: Could not authenticate PHP developer setup PHPMailer for sending mail by PHP code. PHP mail() function also supports directly sending mail but some time Server or Localhost required an SMTP port setting so the developer is required to install or unpackage PHPMailer.   Watch Youtube Video Tutorial […]

With PHP MySQL Query retrieve fetch all WordPress Blog categories in JSON REST API

PHP MySQL database query for fetching categories data in JSON Format.   I run my WordPress website with MySQL database so need to fetch the database categories post data in JSON format and use it on another website created with REST API. In the below code, I will provide MySQL queries that can run on […]

MySql query for fetch/ retrieve category data in WordPress with image thumbnail

MySql query for fetch WP post_id, post_title, post_date & name with using thumbnail for a particular WordPress category. WordPress also provides some methods for retrieving post data with thumbnails but you can also fetch them with MySQL query. Also, do with same with MySql join in array format. If you are required to display WordPress […]

Get full current page URL in PHP

Echo current page URL in a PHP page. to echo or get the current page URL in a PHP page, use $_SERVER. Its build-in variable in PHP, which is used to fetch or echo the current page URL. It’s available for all scope and its super global variable. Below examples show how it works and […]

Develop PHP Webhook for Google Lead Form Extension

How to set up PHP webhook code for forwards google lead extension form. create a webhook in PHP, save this file in the root folder with adwords_webhook.php for connecting your server to Google Ads, and help to get leads data into CRM or mailing address. Below code for Google Ads Lead form extension. <?php $dataStr […]

Create Rest API with JSON output form MySQL Database Tables Data in PHP

Developed Simple Rest API data in array convert into JSON fetch from MySQL Database Tables. Below is code for creating JSON Array API data fetch from MySQL database. I use this simple API to get all records entered in a database table. I developed this on localhost requires database configuration changes in the top 4 […]

Libmergepdf PHP Code for merge or concatenate multiple pdf files into single pdf

PHP composer library / SDK for merging or Concatenate multiples PDf(.pdf) files.   Install libmerge pdf sdk by Packagist composer. Open your folder with CMD for installation of the composer package and run below command. Installation composer require iio/libmergepdf Library for merging multiple PDFs https://packagist.org/packages/iio/libmergepdf   Add bulk .pdf files using PHP array. <?php require […]

Get Country Name and IP Address in Form Hidden Field by PHP Geoplugin API

Using GeoPlugin PHP API to Get Country Name and Country IP address.   Some time in HTML contact or WordPress contact form 7 we need to Country and Country IP address where the user fills the form. It’s required for tracking which country user used the form and find out where a lead comes from […]

How to add canonical tag to every page in website by PHP

PHP two line codes add Canonical tag in website every page Add canonical tag dynamically by using PHP code easily with two lines of code. Canonical tag using on a webpage that tells search engines that specific URL represents the master copy not having any duplicate page.  Using canonical tag shows duplicate content present on […]