multipart/form-data

This is a discussion on multipart/form-data within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Have a form that I want users to be able to both upload a file and fill out some regular ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-11-2003
Scot
 
Posts: n/a
Default multipart/form-data

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
  #2 (permalink)  
Old 12-11-2003
Scot
 
Posts: n/a
Default Re: multipart/form-data

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
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:05 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0