I've seen lots of these questions around here but for some reason I just cant get any to work.. i've spent about 3 hours trying everything I could find and modifying it but to no success. This the form on my website:
<form action="http://site.com" method="post" enctype="multipart/form-data" >
<input name="upfile" type="file" size="100">
<input name="submit" type="submitfile" size="100" value="submit file">
<input type="checkbox" name="submitpublic">
"The file will be visible to anyone"
</form>
I need also to check the checkbox, by default it's not checked. I would post the url to my website but it's not hosted yet, I'm looking for a good hosting provider that accepts file sharing (embedded question guys ;) )