Hi, I am trying to post a file to a url and I cannot seem to get it.
The regular HTML request would submit this form:
<form enctype="multipart/form-data" action="" method="POST">
<input type="hidden" name="MAX_FILE_SIZE" value="30000" />
Send this file: <input name="userfile" type="file" />
<input type="submit" value="Send File" />
</form>
Here is my call:
wget --post-file test.txt 'SERVER'/demo/index.php
In index.php I print_r($_FILES); and nothin is returned.
Any help is appreciated.
Thanks,
Phillip
