Jump to content

File submission - This is obvious


amites

Recommended Posts

Hello,

 

I'm having trouble getting a form to submit multiple files, they are named differently and I'm rather certain I'm missing an obvious setting or something. Been looking at it so long I'm not seeing it.

 

any help is greatly appreciated

 

<form action="http://localhost/Heritage Web Design/Erik Ohanessian/draft/admin/media/upload.html" method="post" enctype="multipart/form-data"> 
<div><span>Recording Name:</span>  <input name="name" type="text" value="" /></div><br /> 
<div><span>Streaming MP3 File:</span>  <input name="mp3" type="file" /></div> 
<div><span>Public sample?</span>  
  <input name="sample" type="checkbox" value="1" ></div><br /> 
<div><span>High Quality (Downloadable) MP3 File:</span>  <input name="mp3_hq" type="file" /></div><br /> 
<div><span>Workshop Document:</span>  <input name="document" type="file" /></div><br /> 
<div><span>Recording active and available?</span>  
  <select name="status"> 
  <option value="1"  selected="selected">Yes</option> 
  <option value="0" >No</option> 
</select> 
<div align="center"><input name="Submit" type="submit" value="Submit"></div> 
</form> 

 

Link to comment
Share on other sites

Each individual uploaded file is subject to the upload_max_filesize setting. The total of all the form data submitted is subject to the post_max_size setting.

 

What are the sizes and the total of the uploaded files and what does a phpinfo() statement show for upload_max_filesize and post_max_size?

 

P.S. What are the symptoms? How do you know it is not working? What is your form processing code and does it have any error checking logic in it?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.