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 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. -- 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 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 ;) -- 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 ?
hi Mario And the form 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