开发者

How would I create a PHP script that completes and submits forms on third party websites

开发者 https://www.devze.com 2023-01-12 06:50 出处:网络
I\'m building a web application that will automatically complete user forms online for many different websites.My guess is I will have to open windows through the system search for the form fields and

I'm building a web application that will automatically complete user forms online for many different websites. My guess is I will have to open windows through the system search for the form fields and post address, then auto post, but I have no 开发者_如何学编程idea where to start.

Sorry for this extremely vague (potentially naive) question.


i would take a look at using cURL . there's plenty of examples of submitting forms using it


Instead of remoting a browser or whatever you had in mind, you want to check out phpQuery

It allows to parse websites, extract forms, and issue requests (pseudo AJAX, needs some configuration).

0

精彩评论

暂无评论...
验证码 换一张
取 消