January 28, 2023


The complete guide to the beginners as well as to the experienced Web Developers

Post data in background PHP

When POST data using CURL request it’s posted in the foreground so the request needs to wait until finish the request. Using below code no need to wait until completed API request, it’s working in the background PHP.

The background process works using “fsockopen” function of PHP.

Follow the code.