Thanks for the reply.
I am still having trouble and have started over by trying to run the simple example I found:
<body>
<script language="PHP">
if (isset($uploadedfile))
{
unlink($uploadedfile);
print("Local File: $uploadedfile <br>\n");
print("Name: $uploadedfile_name <br>\n");
print("Size: $uploadedfile_size <br>\n");
print("Type: $uploadedfile_type <br>\n");
print("<hr>\n");
}
</script>
<form method="POST" enctype="multipart/form-data" action="uploadfiletest.php">
<input type="hidden" name="MAX_FILE_SIZE" value="4096"><p><input type="file"
name="uploadedfile" size="20"><input type="submit" value="Submit" name="B1"><input
type="reset" value="Reset" name="B2"></p>
</form>
</body>
Even this doesn't work. No variables are passed with the form but the form will re-load on submit.
I didn't install PHP, my ISP did. It has been installed as an Apache module. Is it possbile that binary file uploads has not been supported in their installation? Do you know how I could check?
If I change the script above by removing enctype="multipart/form-data" then I can pass the variable names.
Any help would be appreciated. My ISP is not helping.
Chris Young