Upload filesize

Results 1 to 2 of 2

Thread: Upload filesize

  1. #1
    Join Date
    Dec 1969

    Default Upload filesize

    I'm making an upload scripty with ENCTYPE="multipart/form-data" as base and i was wondering how i can get the filesize from the file they are ABOUT to uplaod cuz i want to make a filesize restriction. Tnx in advance, FeroxCious

  2. #2
    Join Date
    Dec 1969

    Default You can't...

    ...because you aren&#039;t allowed access to the client&#039;s file system (security reasons).<BR><BR>Best you can do is allow the upload but then reject the saving to a file if the size is too large. And, of course, warn the user in a big fat notice about the size restriction.<BR><BR>

Posting Permissions

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