![]() |
|
#1
|
|||
|
|||
HTML POST Uploading Large FilesHi. I am one of two creators, programmers, and managers of www.fallofignorance.com media and fringe cult (<< joke) website. We have programmed everything from scratch, creating our own php codes, xml feed, databases, and even function library.
We need help, though. I have had problems uploading our podcasts (50Mb+!!!) via the uploader page/program that I, of course, have created from scratch. That's not just bragging, either, I say that because I want you to know that the codes and html contained in this process are stone-age simple and not tied to any web apps or panzy copy/paste or shortcut programs. If you don't like reading lots of details, skip the next paragraph... The filesize has caused either the html to send insufficient information, or the php to operate improperly and dump variables or negate conditions. Here's the actual event that happens when I upload the file... "You entered an incorrect username/password" (I designed that message, it's just part of die() PHP Code:
PHP Code:
In a nutshell: small files will upload with my HTML POST >> PHP, but large files will cause the php to fail a condition regarding the user/pass inputs which shouldn't be failed. I think it's some kind of timeout, because of how long it takes. here's some details: Hosting details: -My webhost DOES allow me to upload files larger than the problematic one. -My webhost DOES allow this filetype 'mp3'. Files details: -The file is MP3. -The file is about 50Mb. -I have SUCCESSFULLY stored this file in the server, it is NOT corrupt. Code/script details: -There is NO error message, it fails the condition and concludes as would be proper afterwards. -The condition IS correct, I designed it and have used it without previous failure many times. -I AM using mySQL to store timestamps and other information for archiving. -I am using the $_FILES['inputFile']['name'] to detect the file. Input details: -I am NOT submitting information for other sections of the code (the code is set to detect variables with 'of' conditions and those are the 'sections' in which the data is processed) -I HAVE used this form to submit smaller files without error. Thanks for any input, a little help will be very appreciated, because I can't seem to find this problem anywhere else or a solution for that matter. |
|||
|
#2
|
||||
|
||||
Re: HTML POST Uploading Large Files
PHP Code:
|
|
#3
|
|||
|
|||
Re: HTML POST Uploading Large FilesWith this code I am really glad that I read this.this things that I gather really helps me.
|
Recent GIDBlog
Toyota - 2009 May Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to convert html files to doc files? | asenthil | C++ Forum | 2 | 11-Jan-2007 00:49 |
| convert C to HTML! | betazee | C Programming Language | 2 | 11-Jun-2006 03:20 |
| trouble uploading jpeg & png files via FTP | mikekelly | Web Design Forum | 5 | 24-Feb-2006 22:39 |
| Uploading large files through html forms | spike666 | Web Design Forum | 2 | 15-Jan-2005 19:57 |
| converting text files to html files | kensenb | C Programming Language | 13 | 09-Nov-2004 12:33 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The