cURL empty file field

Hello !

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)
				  .'&__EVENTVALIDATION='.rawurlencode($eventval2)
				  .'&name='.$name.'&addr='.$addr.'&city='.$city
				  .'&imgtext='.$imgtext;

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 ?

Regards
ZH

What part of the file upload fields are you trying to send? A file input tag generates an entire array of data.