By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,007 Members | 979 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,007 IT Pros & Developers. It's quick & easy.

Upload Form works with small sized files in firefox only.

P: 2
i have created this upload form that will upload an image file... this works fine in both IE and firefox. I then created an identical form that will upload mp3 files. however this will work in IE but not in Firefox. I have searched around and can not find a solution to why bigger files do not work with Firefox. here is the upload form:

Expand|Select|Wrap|Line Numbers
  1. <form id="formUpload" name="formUpload" method="POST" action="Upload_Song.php" enctype="multipart/form-data">
  3.      <input type="text" name="txtSong_Name" id="txtSong_Name" />
  4. Song File
  5.      <input type="file" name="file" id="file" />
  6.      <input name="chkVulgar" type="checkbox" id="chkVulgar" value="1" />
  7.      <input type="submit" name="btnSubmit" id="btnSubmit" value="Upload Song" />
  8. </form>

the error i get is:

500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

Thank you.
Aug 3 '08 #1
Share this Question
Share on Google+
2 Replies

P: 3
The standard upload file size for PHP is 2 Mega Byte. You can change it in the php.ini file, I think. If you want to upload greater files, then use the ftp in php.

I have not ever used theese functions, but it should be possible.

Aug 3 '08 #2

P: 2
I have changed the php.ini file in my root folder. it has been changed to 10M for the max upload size. I was wondering if anyone knew why i can't upload a file greater than 1M in firefox but i can in Internet Explorer. I'm not sure if there is some compatibility issue with my code and Firefox.

Thank you for the response.
Aug 4 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.