Hi...i'm write this script:
upload.php
-------------
<?php
$upload_path = "C:inetpubwwwrootphpostcardsimagesuploaded".$userfile_name;
if (copy($userfile,$upload_path)) {
print "file uploaded";
}
else {
print "error";
}
?>
----------------

upload.html
----------------
<html>
<head>
<title>Untitled</title>
</head>

<body>
<form action="upload.php" method=post enctype="multipart/form-data">
Submit this file : <input type=file name="userfile"><br>
<input type=submit><br>
</form>
</body>
</html>
----------------

but, if send test.txt, the server return HTTP 500 - Internal Error....
what's it?!?!