Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 1, 2026.

Upload Not Working?

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Watch

spacetrain

Established Member
Impact
8
Hey,

I own www.filegeeks.com and the upload works with smaller files however i tried uploading a 12mb file and it didnt work. Can anyone see a reason for this?

Thanks
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains — AI StorefrontUnstoppable Domains — AI Storefront
Your php.ini is set to only allow files under that size.

<?php ini_set('upload_max_filesize', '100M'); ?>

That will allow 100MB files. (I think.. didn't test it.)

If it doesn't work, try:

<?php ini_set('upload_max_filesize', 100M); ?>
 
0
•••
Are you sure 100M would work? Shouldn't it be like 100,000KB or something like that?
 
0
•••
In my php.ini, it was set to 2M. I'm basing it off of that.
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
upload_tmp_dir = "D:/www/tmp"

; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
 
0
•••
upload_max_filesize is PHP_INI_PERDIR, use .htaccess
Code:
php_flag upload_max_filesize 8M
# or
php_value upload_max_filesize 8M
 
0
•••
SecondVersion said:
upload_max_filesize is PHP_INI_PERDIR, use .htaccess
Code:
php_flag upload_max_filesize 8M
# or
php_value upload_max_filesize 8M

That will commonly create a 500 internal error.

I would ask your host to change the upload_max_filesize in your php.ini file to 20mb or something. Than for you I would suggest using another method of uploading or upload in parts because alot of browsers will not handle 12mb uploads and will timeout.

- Steve
 
0
•••
0
•••
iNod said:
That will commonly create a 500 internal error.

I would ask your host to change the upload_max_filesize in your php.ini file to 20mb or something. Than for you I would suggest using another method of uploading or upload in parts because alot of browsers will not handle 12mb uploads and will timeout.

- Steve

Well how does megaupload manage it with 250mb upload files?
 
0
•••
megaupload uses an other system which allows the browser to feed parts of the file. Which it uploads and than combines all togeather at the end. It keeps the connection alive and makes the browser not timeout.

- Steve
 
0
•••
Do you know any scripts which have this functionality? That i can look at the source?
 
0
•••
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back