elliotpo Posted November 1, 2011 Share Posted November 1, 2011 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> Quote Link to comment Share on other sites More sharing options...
trq Posted November 1, 2011 Share Posted November 1, 2011 You might want to post some relevant code in the relevant board. Quote Link to comment Share on other sites More sharing options...
elliotpo Posted November 1, 2011 Author Share Posted November 1, 2011 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. Quote Link to comment Share on other sites More sharing options...
Boxerman Posted November 1, 2011 Share Posted November 1, 2011 Post both HTML and php so we can see. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.