Vamsi Krishna B
Vamsi Krishna B

Reputation: 11490

php cURL , fill a remote form

is it possible to fill a remote form with the desired data ?

Remote form

<input type=text name=uploads[0] id=attachId0 size=30 onchange="checkUploadFile(this);"><input type=button value="del" id=idAttachOper0 onclick="return delInput('idfilespan','0')"><br id=idAttachBr0>

Upvotes: 0

Views: 2291

Answers (1)

Scott M.
Scott M.

Reputation: 7347

You will have to know where that form sends its data before you can send it, because you will have to emulate a form. cURL has the ability to send POST and GET data to the server via many different option settings. check out this page for all the settings. Anything that start with CURLOPT_POST... is a good bet.

Upvotes: 1

Related Questions