...

View Full Version : Restrict Image Size while upload



bhakti_thakkar
12-24-2007, 12:35 PM
Hi all,
i want to keep a check on the image file size while uploading. how can i do that in javascipt. or will i have to use AJAX.


Thanks

Philip M
12-24-2007, 01:40 PM
Javascript cannot access (read from, write to) a file or the operating system.

bhakti_thakkar
12-24-2007, 02:09 PM
hi,
that means i will have to call an AJAX to perform the validation



Javascript cannot access (read from, write to) a file or the operating system.

thanks for your reply

A1ien51
12-24-2007, 03:46 PM
How can you use Ajax? Last time I checked ou can not upload files.

Eric

Philip M
12-24-2007, 06:45 PM
You need PHP. See:-

http://www.w3schools.com/php/php_file_upload.asp

bhakti_thakkar
12-27-2007, 08:29 AM
hi Philip M
Thanks a lot. at last i got a precise help on it.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum