Skip to main content
This topic has been closed for replies.
Correct answer kglad

1. yes

2. I'm getting error message from php

if( $_FILES['Filedata']['error'] == 0 ){ 

  if(move_uploaded_file( $_FILES['Filedata']['tmp_name'], $uploads_dir.$_FILES['Filedata']['name'] ) ){ 

  echo 'ok'; 

  exit(); 

  } 

  } 

  echo 'error';    // Overhere

  exit();


if the error is from php it's a server limit, not a flash limit.

you need to adjust your php.ini or .htaccess file upload limit.

1 reply

kglad
Community Expert
Community Expert
June 20, 2013

what happens when you use the filereference or file class?

Inspiring
June 20, 2013

hi, I use code like this: http://hub.tutsplus.com/tutorials/creating-a-reusable-flash-uploader-with-actionscript-30-and-php--active-1952
it's using php and I can upload with that about 150 MB and I fully don't know how to upload large files. (> 2 GB)

kglad
Community Expert
Community Expert
June 20, 2013

not working, is there any other way to make large file uploader in Flash?

I found out that you can't upload more than 200 MB with php because of it's server side language and that you have to use Javascript with JQuery plugin, but I don't know how to use JQuery with Flash.


the limit is set by the server, not php and not flash. 

the upload can be set in php.ini and possible .htaccess.

send an email to your server's admin/support and see you can do anything about the server's upload file size limit.