multipart/form-data

Posted: 12-11-2003, 04:31 PM
Have a form that I want users to be able to both upload a file and fill out
some regular text input boxes then submit all together.

I have the enctype set to multipart/form-data in my form tag, but when I hit
submit, my php page does not have the value for the variables. If I remove
the enctype attribute and submit, my text input data is now available as a
php variable - but I'm sure I won't be able to upload the files anymore.

Anyone have any ideas why this is happening?

Thanks,

Scott


Reply With Quote

Responses to "multipart/form-data"

Scot
Guest
Posts: n/a
 
Re: multipart/form-data
Posted: 12-11-2003, 04:52 PM
Found the answer. file_upload was set to off in php.ini
"Scot" <blank@blank.blank.com> wrote in message
news:bra61q$mr8@library1.airnews.net...
> Have a form that I want users to be able to both upload a file and fill
out
> some regular text input boxes then submit all together.
>
> I have the enctype set to multipart/form-data in my form tag, but when I
hit
> submit, my php page does not have the value for the variables. If I
remove
> the enctype attribute and submit, my text input data is now available as a
> php variable - but I'm sure I won't be able to upload the files anymore.
>
> Anyone have any ideas why this is happening?
>
> Thanks,
>
> Scott
>
>

Reply With Quote
 
LinkBack Thread Tools Search this Thread Display Modes
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
#39321 [NEW]: $_FILES empty with enctype=multipart/form-data josh at pixael dot com PHP Bugs 2 11-08-2006 02:58 PM
#38757 [NEW]: MultiPart Form Uploads fail with FastCGI davidb at pins dot net PHP Bugs 14 10-04-2006 03:49 PM
#38757 [Opn->Fbk]: MultiPart Form Uploads fail with FastCGI tony2001@php.net PHP Bugs 0 09-08-2006 11:09 PM
mx 7 flash form The form data has expired, Please reloadthis page in your browser. Curt Gratz Macromedia ColdFusion 1 02-22-2005 12:29 AM
enctype="multipart/form-data" is screwing up the form variables CC Zona PHP Development 4 07-06-2003 06:28 PM