Tag Archives: CURL

Submit Form With PHP CURL

In the previous article, we covered the PHP cURL basics. Specifically, we learned how to connect to a remote URL and retrieve the URL’s contents. In this article we will learn how to simulate form submission using PHP cURL. To submit forms using cURL, we need to follow the below steps: Prepare the data to be posted Connect to the remote URL Post (submit) the data Fetch response and display it to the user You may want to download the […]