PHP remote submit a form and get result using curl

0

How to submit with data to another web site’s form and get its results using php?You can remote submit a form using curl functions.Then can get it’s results.This is named as scraping also.Let’s see how to remote submit a form and get it’s result using php curl.

This is the web site form.You must already have a prior knowledge of that form.You can view it in the page source.

ok.So now we have knowledge of the form.But you don’t need this code.Only know about the input fields.
Now we’ll see how to submit this using php curl functions.

That is only you have to do get for remote submit a form and get it’s results using curl in php.

If you want to get it’s specific data you can use php DOM object.

Easy now to get specific details.

Share.

About Author

Sumith Harshan is the Web Engineer Specializes in Java Script, JQuery, HTML4/5, CSS2/3, PHP, CodeIgniter, CakePHP, J2SE, J2EE, XML, Hacking & Security, Mobile Interface Developing, Magento, Wordpress, Joomla, Drupal,PHPBB,Facebook App Developing and Open cart...etc.