RE: [PHP] How to submit a form that has a file included ?
hi Mario > And the tag, is it allright like it is ? you'll need to add this: enctype="multipart/form-data" Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] How to submit a form that has a file included ?
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 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? ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] How to submit a form that has a file included ?
[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 tag, is it allright like it is ? [/snip] Read this section, http://us4.php.net/manual/en/features.file-upload.php it has examples. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] How to submit a form that has a file included ?
Hi, I want to have a form with text fields and a "browse field" for uploading a file. Let's say i have a form with just two fields: Employee: Name: Employee File (a .doc): 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 tag, is it allright like it is ? Thank you in advance. Warm regards, Mário Gamito -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php