Records 1 to 20 of 45
|
» ADO
» Array » Components » Cookies » Date/Time » Files » Form » Graphics » HTML Formatting » Language » Math » Misc. » Multimedia » Performance » Printing and reports » Security » Sessions » SQL » Strings » XML |
Files ASP Scripts
ASP Script Home » Files
45 ASP Files Scripts
Sort: Most Viewed | Highest Rated | Newest
Display Random ImageA simple random image. This is the code we use to display randon image at Ex-designz Recipe and Karaoke section....Added on: 8/11/2007 Hits: 301 Rating: (184.73) votes 130
Force Download Dynamic PictureThis code will force users/guest to download picture instead of opening in the browser.I use this code in my photo gallery.To see how it work, go to my photo gallery....Added on: 5/4/2003 Hits: 6931 Rating: (3.00) votes 34
When was the file last accessed?This example demonstrates how to use the DateLastAccessed property to get the date and time a specified file was last accessed. ...Added on: 12/17/2002 Hits: 3745 Rating: (3.00) votes 30
When was the file created?This example demonstrates how to first create a FileSystem Object, and then use the DateCreated property of the File Object to get the date and time a specified file was created. ...Added on: 12/17/2002 Hits: 3231 Rating: (3.00) votes 33
When was a file last modified?Checks when this file was last modified....Added on: 12/15/2002 Hits: 6836 Rating: (2.94) votes 31
WriteLog StatementThe WriteLog statement writes a line of text into a log file. The WriteLog statement automatically inserts the date and time of the log addition along with any text you specify in the logevent argument. WriteLog automatically appends new information to any existing data in a log file if one is...Added on: 12/15/2002 Hits: 5244 Rating: (3.00) votes 31
Title FunctionThe Title function returns a string representing the title of a web page. It specifically scans a web page looking for the title tags and returns whatever is in between. The required argument pathname is the full path to a web page [*.htm, *.html, *.asp, *.cfm, *.cgi, etc...]. ...Added on: 12/15/2002 Hits: 5700 Rating: (2.97) votes 32
SetAttr StatementThe SetAttr statement sets the attributes of a file or folder. There are two required arguments, pathname and attributes. Path name must be the absolute path to a folder or file. The attributes argument is an integer representing one of the following constants: Constant ...Added on: 12/15/2002 Hits: 5757 Rating: (3.00) votes 30
Search FunctionThe Search function recursively searches all files on a hard drive for a specific phrase from a specified start directory. The Search function is not meant for web site searches by site users but was designed to be used in code only to obtain the path of a file matching the given phrase. T...Added on: 12/15/2002 Hits: 5300 Rating: (3.13) votes 32
MkFile StatementThe MkFile statement creates a file on the server. The MkFile statement has one required argument, pathname. Pathname must be the complete path and file name with extension to be created. ...Added on: 12/12/2002 Hits: 5238 Rating: (3.00) votes 30
FileCopy StatementThe FileCopy statement copies a file. There are two required arguments, source and destination. The source argument is the full path to the file you are copying and the destination argument is the full path of where the copied file is to be placed. As an added bonus, my version of FileCopy ...Added on: 12/12/2002 Hits: 5487 Rating: (3.03) votes 31
FileDateTime FunctionThe FileDateTime function returns the time and date a file was last modified. If the file is not found or an error occurs during the processing of the function, Null is returned. ...Added on: 12/12/2002 Hits: 5210 Rating: (3.00) votes 30
FileLen FunctionThe FileLen function returns a long representing the size of a file in bytes. If file is not found, FileLen returns Null. ...Added on: 12/12/2002 Hits: 3242 Rating: (3.00) votes 30
FileRead FunctionThe FileRead function allows the contents of a file to be read. The FileRead function has one required argument, pathname, which represents the complete path to an already existing file on the server. The ReadFile function returns a string representing the contents of the file. ReadFile return...Added on: 12/12/2002 Hits: 3301 Rating: (3.00) votes 31
FileWrite StatementThe FileWrite statement allows writing to a file. The FileWrite statement has three required arguments: pathname, texttowrite, and overwrite. The first argument is pathname. Pathname must be the complete path to an already existing file. The second argument texttowrite is a string contai...Added on: 12/12/2002 Hits: 7233 Rating: (3.06) votes 31
INITool ObjectThe INITool Object allows an ASP programmer to work with INI files on the server. Properties ================ No exposed properties. Methods ================ You must call the Load() method before calling any other methods of the class. object.Save() saves any changes made...Added on: 12/12/2002 Hits: 4696 Rating: (2.94) votes 31
Kill StatementThe Kill statement deletes files. The required pathname argument must be absolute and include the drive letter. This supports the use of the wildcard character * to delete mulitple files. ...Added on: 12/12/2002 Hits: 5731 Rating: (3.00) votes 35
MkDir StatementThe MkDir statement creates a new directory or folder. The required path argument must be absolute and include the drive letter. If you are unsure of the path to your web server's root, use server.mappath in the path argument. ...Added on: 12/12/2002 Hits: 5237 Rating: (3.06) votes 31
RmDir StatementThe RmDir statement deletes a directory or folder. The required path argument must be absolute and include the drive letter. If you are unsure of the path to your web server's root, use server.mappath in the path argument. ...Added on: 12/12/2002 Hits: 5284 Rating: (3.09) votes 32
MkDatabase FunctionThe MkDatabase statement creates an empty Microsoft Access database. The required argument pathname must end in .mdb and reflects the location of where the new database will be created. MkDatabase can only create a database. An error occurs if the specified path is not found or if there is a d...Added on: 12/12/2002 Hits: 6285 Rating: (3.06) votes 31
Records 1 to 20 of 45
|