dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: [RESOLVED] The attachment file size limit

  1. #1
    Join Date
    Mar 2009
    Posts
    22

    resolved [RESOLVED] The attachment file size limit

    Hi guys,I got trouble in the function that the size of the attachment should be limit in 20MB before uploading to the server.I want to calculate its size in the client without using flash uploader.Does any one have ideas?I will appreciate all of your kind heart.

    Thanks!

  2. #2
    Join Date
    Oct 2003
    Location
    Andover, UK
    Posts
    947
    This cannot be done in Javascript. Javascript is client-side language and has no dealings with uploads or filesystem issues in general. You will instead need to query the uploaded headers on your form handler page, through something like PHP's $_FILES constant.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles