Jump to content

Weird MP3 Problem


elliotpo

Recommended Posts

Hi.  So I've coded many a file upload form and never had any trouble.  Until now.  For some reason, when I try to upload MP3 files, I'll hit submit and the page just reloads.  Once it does so, the file upload field is once again blank.  What's odd is that images and documents upload just fine.  It's only audio tracks that cause the page to reload and clear.  My PHP max file upload size is at this point set to 100M, and the files I'm trying to upload are under 10M.  Any ideas?  Here's the form code, just to post it-- pretty basic.  I'm at a loss here....  Any ideas would be appreciated.  Thanks very much.

 

 

 

<form action="test.php" enctype="multipart/form-data" method="POST"/>

 

 

<input type = "file" name = "audio" />

 

<p><input type ="submit" name="submit" value="do it."/><p>

 

</form>

 

 

Link to comment
Share on other sites

Apologies.  I wasn't sure if this was an HTML or PHP question.  The trouble is that this is the only code that is relevant-- when I say the page reloads, I mean it literally reloads and ignores any insatructions on the form-action specified page.  Or never gets there.  No other code comes into play. Since I can't get to any PHP I thought maybe the question belonged here. 

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.