php - How to send file using http protocol without encode?
one text
I want to send a png file to my apache server and export it using wireshark.
I tried a html form like this:
<form action="." enctype="multipart/form-data" method="post">
<p>files: <input type="file" name="datafile" size="40"></p>
<div>
<input type="submit" value="submit">
</div>
</form>
But i can't export my file as PNG. I think it happens because I use "multipart/form-data". I've heard that this encrypts the file. I'm not sure, what do you think I should try?
Source