Re: How to submit a form that has a file included ?
| From: | Mathieu Dumoulin | Date: | Mon, 06 Jun 2005 13:01:51 +0000 |
| Subject: | Re: How to submit a form that has a file included ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-216475@lists.php.net to get a copy of this message | ||
Jay Blanchard wrote:
[snip] I want to have a form with text fields and a "browse field" for uploading a file. ... Now, i want here a browse button, so users when clicking on it trigers the os "File Open" box to choose the file to upload. ... My question is: what is the code i need in the form ? And the <form> tag, is it allright like it is ? [/snip] Read this section, http://us4.php.net/manual/en/features.file-upload.php it has examples.Never tried this? <input type="file" name="wathever" size="100"> ;)