I Want To Learn About Getting The Uploaded File Name And File Size From A Html Web Form To Get The Values Of The Form Which Has An Upload File And I Want To Detect It Using Javascript So In Case Its More Than I Can Allow It Will Show An Pop Alert Message [2210], Last Updated: Mon Jun 24, 2024
Saliesr
Tue Feb 09, 2010
1 Comments
350 Visits
i want to learn about getting the uploaded file name and file size from a html web form to get the values of the form which has an upload file and i want to detect it using javascript so in case its more than i can allow it will show an pop alert message on the screen for the user
can that be done?
how can i do it?
webune
Tue Feb 09, 2010
you cannot use client side javascript to check what size the upload file is.
you will have to use server side scripting to check the size of the uploaded file. for this we recommend php
https://www.webune.com/forums/how-to-get-upload-file-size.html
https://www.webune.com/forums/how-to-get-upload-file-size.html