开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜