yakar:
thenk you .
but the part :
count+=files.length;
alert("you selected "+count+" files");
alert("total size" + size);
if(size>200*1024*1024)
{
alert("the maximum alowed size of all the file is 200M ");
}
dont show to me never .
and i need to not alow to upload the file if the size of all the files move the 200 mega , how can i do it ?
thenk you . :)
Please try the following property:
Uploader.MaxSizeKB Property
Gets or sets the maximum allowed size of the file, in KB.
Example Code
- <?php require_once "phpuploader/include_phpuploader.php" ?>
- <html>
- <body>
- <form id="form1" method="POST">
- <?php
- $uploader=new PhpUploader();
- $uploader->Name="myuploader";
- $uploader->MaxSizeKB=1024;
- uploader->Render();
- ?>
- </form>
- </body>
- </html>
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx