Hello - I'm new to PHP and CURL but feel I have a decent handle on things.
I've trying to upload a file to a HTTP form. The form:
<form name="Form1" method="post" action="quote_upload.aspx" id="Form1" enctype="multipart/form-data">
<input type="hidden" name="__VIEWSTATE" value="fickshurt" />
<input name="file_path" id="file_path" type="file" />
<input type="submit" name="upload_quote" value="Upload" id="upload_quote" />
</form>
When I change 'post' to 'get' (to see exactly what is being sent), I get:
http:[...]/quote_upload.aspx?__VIEWSTATE=fickshurt&upload_quote=Upload
My question is, why isn't the 'file_path' field being sent along? How does the form action know where and what the file to upload is?
Thanks,
TJ