Here's one of my scripts which works ok on windows.
***SEND.HTML*******
<form method="post" enctype="multipart/form-data" action="receive.php3">
<table width="465" border="0" callpadding="0" cellspacing="0">
<tr>
<td><font face="arial" size="2">Select file to upload</font></td>
<td>
<input type="file" name="uploadedfile" size="30">
<input type="hidden" name="max_file_size" value="100000">
</td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" value="UPLOAD"></td>
</tr>
</table>
</form>
**RECEIVE.PHP3**********
<?php
if ($uploadedfile<>"none") {
if(!copy($uploadedfile,"../$uploadedfile_name")) {
print "<font face='arial' size='2'>Sorry $name, Your File failed to upload.<br>";
print "Either your file does not exist or it was too large<br>";
print "Please use your back button to try it again,<br>";
print "or alternatively you can email me for assistance.";
}
else {
print "<font face='arial' size='2'>Thanks your file has been successfully uploaded.<br>";
}
}
?>
rgds,
scott d~