|
|
1-20 of 32 Scripting sites are shown.
|
|
Explains include files but also shows you how to use FileSystemObject to access those include files from ASP, should you so desire.
|
|
|
|
|
|
|
This is a strong overview of Includes and Virtual Includes including sample ASP Code.
|
|
|
|
|
|
|
Shows you how to update an entire website from one location.
|
|
|
|
|
|
|
One of the first issues we were faced with in the planning stages of ASP 101 was whether or not to use frames. Frames have many pros and cons, and it was apparent pretty early on that the cons outweighed the pros for the design goals of this site.
|
|
|
|
|
|
|
Improve your scalability with this useful article on Server-Side Caching
|
|
|
|
|
|
|
The function returns a File object if successful otherwise Nothing.
|
|
|
|
|
|
|
Here we open a
file, and append the current url to the end of the file.
|
|
|
|
|
|
|
Use the File System Object to check if a file exists
|
|
|
|
|
|
|
When
you are done using a file, be sure to explicitly close it ASAP. This
is important if the file is shared ( that is multiple users are using
the same file ) - like a hit counter or something like that.
|
|
|
|
|
|
|
DateLastModified is a method of the file system object. This script shows you how to use it.
|
|
|
|
|
|
|
Since Active Server Pages (ASP) pages are compiled and executed before being sent to the client (as static HTML), trying to use a variable in place of a file name in a Server Side Include () fails. To include a file in your ASP page, you could include code similar to the following that reads in a file and displays it.
|
|
|
|
|
|
|
One of the steps to writing more readable and maintainable code is to write code as modular as possible. When writing ASP there are often chunks of code which you find yourself reusing quite often. For example, you may reuse a footer or header or both on each of your webpages
|
|
|
|
|
|
|
The Complete FileSystem Object Reference Guide. This
library contains a complete directory of all the FSO methods and
properties, how to use them, important information, and code examples on
each one.
|
|
|
|
|
|
|
Example using Javascript with ASP instead of VB to append a text file.
|
|
|
|
|
|
|
Example using Javascript with ASP instead of VB to Delete Files
|
|
|
|
|
|
|
Example using Javascript with ASP instead of VB to Get File Date Last Modified
|
|
|
|
|
|
|
Example using Javascript with ASP instead of VB to Remove HTML From a String
|
|
|
|
|
|
|
It work with any form independentely of the number of input fields. Information from forms will be recorded to individual files, and a second script may be used to read that information easily. Totally customizable
|
|
|
|
|
|
|
Example using Javascript with ASP instead of VB to Get File Size
|
|
|
|
|
|
|
Example using Javascript with ASP instead of VB to Move File
|
|
|
|
|
|
|