Re: Uploading a file

From: Date: Sat, 30 Mar 2002 04:32:12 +0000
Subject: Re: Uploading a file
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-18055@lists.php.net to get a copy of this message
On Friday 29 March 2002 09:58, Clever wrote: > Hi, > I want to upload a file to the server using a form. > Instead of using a text input, i'd like to open an Internet Explorer > window, (that one that apears when you click on File/Open). > I already have the code to copy the file. > I only want a way to select from local files. > How do this? Not sure what you mean by "open an Internet Explorer window". But if you want a file select dialog then your form needs to be something like: <form enctype="multipart/form-data" action="doodah.php" method="post"> <input type="file" name="file" size=60> <input type="submit" name="action" value="Upload!"> </form> -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk /* I don't want people to love me. It makes for obligations. -- Jean Anouilh */

« previous php.db (#18055) next »