RE: [PHP] How to submit a form that has a file included ?
| From: | Jay Blanchard | Date: | Mon, 06 Jun 2005 12:06:59 +0000 |
| Subject: | RE: [PHP] How to submit a form that has a file included ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-216473@lists.php.net to get a copy of this message | ||
[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.