Here is my HTML Page
<html>
<body>
<form enctype="multipar/form-data" action="uploader.php" method="POST">
<input type="hidden" name="MAX_FILE_SIZE" value="100000"/>
Choose a file to upload: <input name="uploadedfile" type="file"/>
<input type="submit" value="Uploaded File" />
</form>
</body>
</html>
and i saved it as "upload.html"
and here is my PHP page
<html>
<head>
<title>Process Uploaded File</title>
</head>
<body>
<?php
if ( move_uploaded_file ($_FILES['uploadFile'] ['tmp_name'],
"../uploads/{$_FILES['uploadFile'] ['name']}") )
{ print '<p> The file has been successfully uploaded </p>';
}
else
{
switch ($_FILES['uploadFile'] ['error'])
{ case 1:
print '<p> The file is bigger than this PHP installation allows</p>';
break;
case 2:
print '<p> The file is bigger than this form allows</p>';
break;
case 3:
print '<p> Only part of the file was uploaded</p>';
break;
case 4:
print '<p> No file was uploaded</p>';
break;
}
}
?>
</body>
</html>
and when i do it on the computer with the apache server on it, and click the "upload files" tab, it downloads a "uploader.php" file to the computer with apache on it, but when i do it with my other computer (i have the apache on online) it just brings me to a blank page, i have created a folder "uploads" in the same directory as the "uploader.php" and nothing is in there when i try to upload files... any help would be greatly appreciated!