PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Ok, I want to upload files that are up to a gig (intranet). But whenever I try using the upload script it justs fails but it works for all other files.
Now, firstly i executed phpinfo(); to find which php.ini was being used (im using xampp theres many) then used this site http://www.olate.co.uk/forums/Php.ini-F ... -t305.html to configure it but it still doesn't work, its beginning to get really frustrating anyone have any ideas?
Ive also executed this script to make sure php reconises the change and it does:
The MAX_FILE_SIZE hidden field (measured in bytes)
so when you are using MAX_FILE_SIZE = 1000 your only saying allow 1000 bytes to be uploaded which is far below a gigabyte . i think it is 1000000000 bytes to the gigabyte roughly.
The MAX_FILE_SIZE hidden field (measured in bytes) must precede the file input field
in your uploader file on your form you have the max_file_size field right before the </form> so it is the last part of your form but it should be put right below the starting <form> tag.
what is not working about it. does it time out? does it just not upload? have you tried to print_r($_FILES); to see whats going on to possibly find the problem?