I have an internal script that post some data to another internal application via CURL.
There are about 10 form fields and 5 FILE UPLOAD fields. I have a code like this:
$postData = '__VIEWSTATE='.rawurlencode($__VIEWSTATE)
Now, I also want to submit the BLANK/EMPTY file fields (FILE1, FILE2, FILE3) along with the post - else the data is not submitted in the main application.
Can you please tell me how i can add BLANK/EMPTY file fields ?
What part of the file upload fields are you trying to send? A file input tag generates an entire array of data.
This topic is now closed. New replies are no longer allowed.