Jump to content

File upload question!


pthurmond

Recommended Posts

When using a form for a file upload I am using enctype="multipart/form-data". When I do this can I still include a few normal text fields in the form, or will that cause problems.

The second question I have is that I know this is a MIME type upload, but I while reading another post awhile back I heard someone make mention of another type of file upload that doesn't use MIME types. What is this other type and how do I use it?

Thanks,
Patrick
Link to comment
https://forums.phpfreaks.com/topic/29334-file-upload-question/
Share on other sites

as for your first question, the method still stands, be it get or post. your $_GET/$_POST arrays will be set as normal, just with the addition of the $_FILES array too.

as for your second question, i honestly dont have a clue. as far as i know, all files have a mime type when uploading via a form.
Link to comment
https://forums.phpfreaks.com/topic/29334-file-upload-question/#findComment-134608
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.