Re: For my next bug... Upload filename gets blanked out

From: Date: Tue, 08 Oct 2002 18:06:08 +0000
Subject: Re: For my next bug... Upload filename gets blanked out
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-119307@lists.php.net to get a copy of this message
Is register_globals off? If it is, you should be using the $_FILES array. ---John Holmes... ----- Original Message ----- From: <Liam.Gibbs@dfait-maeci.gc.ca> To: <php-general@lists.php.net> Sent: Tuesday, October 08, 2002 1:35 PM Subject: [PHP] For my next bug... Upload filename gets blanked out > 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

« previous php.general (#119307) next »