I am trying to up load a file, I get the error -
"Warning: Only 0 bytes were written, expected to write 21814 in /export/web24/alpha/detroi3/cgi-bin/testload.php on line 0
"
all this was working before. It does create a file on the server. Only the file is of size 0 bytes
here are my, HTML (I included html comments for viewing on this forum) and .PHP files
This file is testload.html
<!--
<title>Testing File Uploading</title>
<body>
<form action="../../cgi-bin/testload.php" method="post" ENCTYPE="multipart/form-data">
<input type="file" size=40 name="file"><br>
<input type="hidden" name="MAX_FILE_SIZE" value="100000">
<input type="submit" value="upload">
</form>
</body>
-->
The testload.php is as follows
<?php
copy($file, "/export/web24/alpha/detroi3/dccdocs/images/$file_name");
unlink($file);
?>
what am I missing.
Thanks