Jump to content

elliotpo

Members
  • Posts

    15
  • Joined

  • Last visited

    Never

Everything posted by elliotpo

  1. And it was in fact the post_max_size. Thanks a million.
  2. Right, thanks-- this has been helpful, I appreicate it.
  3. Ah indeed-- it took a smaller audio file. Thanks. But do you have any idea how this could be remedied for larger files? I was only aware of the max_file_upload size line in the php.ini. There must be other places where such things are specified...? Thanks again--
  4. When I switch the extension to .jpg nothing changes, I get the same reload. This is local. And it's true that I haven't coded any sites since re-installing my OS and the whole MAMP stack....
  5. 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.
  6. Ah see that's the weird thing. I can't get to that point. So, let's say I have the form action directing to page X. We never get to page X: the page literally re-loads, blanking the form field in the process, and any instructions are ignored, or never found. If I then hit submit again, with the file upload form field blank, it goes to the target page and does whatever I want-- in this case giving me error 4 since there's nothing there anymore. You see what I mean? But if I go to load a JPEG, for example, it goes write to the specified page and does whatever. Hence my confusion.... Again, the max file upload size should be no trouble. I'm wondering if there's some other php.ini thing I'm neglecting, or possibly some Apache thing...? Thanks for writing.
  7. 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.ini 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>
  8. 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>
×
×
  • 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.