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 */ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php