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
https://forums.phpfreaks.com/topic/250214-weird-mp3-problem/
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
https://forums.phpfreaks.com/topic/250214-weird-mp3-problem/#findComment-1284021
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.