Php cURL, fill out the remote form

Is it possible to fill out the 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>
0
source share
1 answer

You will need to know where this form submits its data before you can submit it, because you will need to emulate the form. cURL has the ability to send POST and GET data to the server using various parameter settings. This page is for all settings. Everything that starts with CURLOPT_POST ... is a good bet.

+1
source

Source: https://habr.com/ru/post/1778292/


All Articles