This is a simple bit of code that can be used to extract the 3 character extension of a file, filename or document and display a different message or perform a differnt function for each.
Very useful when used with a file upload. Code: ASP 3.0 & VBScript
|right code at the right time |
Written by Lil Peck from Kansas (Saturday, July 26, 2003)
Writer is with: http://www.nsba.com/net
||Strengths: does exactly what it is supposed to do
Details: I have a script that displays a list of files. I needed to make the image files display with code different from the Flash files. This little script makes that easy.
Review Based On: 1 Hour(s) of usage