![]() ![]() If ( document.getElementById(strFocus) != null)ĭocument.getElementById(strFocus).focus() įor download Just assign full path of the file location. If (strFocus = ' ') strFocus = ' Cat_Image' It is recommended to always use the FileQTY property to check for a file before attempting to process it. If no file was attached it shows a message. ![]() If (img != ' ' & img.substring(img.length - 3, img.length).toLowerCase() != ' jpg' & img.substring(img.length - 3, img.length).toLowerCase() != ' gif' & img.substring(img.length - 3, img.length).toLowerCase() != ' bmp' & img.substring(img.length - 3, img.length).toLowerCase() != ' png') Set Upload Server.CreateObject ('csASPUpload32Trial.Process') The main part of the script consists of an If.Then.Else construct which checks if a file has been uploaded and saves it. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |