In the form below, when I specify a file to upload (in $filename), it gets
blanked out by the time I hit the Upload button and the page refreshes. My
test file is a text file that certainly does *not* exceed the max_file_size
(it goes to about 27 k).

<FORM ENCTYPE = "multipart/form-data" ACTION = "index.php?page=Uploadfile"
METHOD = "POST">
   <TABLE BGCOLOR = "#000000" BORDER = "0" CELLPADDING = "0" CELLSPACING =
"0">
      <TR>
         <TD ALIGN = "CENTER">
            <DIV CLASS = "title">Upload</DIV>
            <SPAN CLASS = "header">Upload (filename):</SPAN> <INPUT TYPE =
"FILE" NAME = "filename">
            <INPUT TYPE = "HIDDEN" NAME = "MAX_FILE_SIZE" VALUE =
"102400"><BR><BR>
            <INPUT TYPE = "SUBMIT" VALUE = "Upload">
         </TD>
      </TR>
   </TABLE>
</FORM>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to