Web Hosting Offers
See the new scripts recently added to Dynamic Drive. Click here.
Original, practical CSS codes and examples such as CSS menus for your site.
    Search code samples  
 
  Keyword
 
 
 
   
 
 
  Code Samples
 
ASP
CSS
Dhtml
Html
Javascript
PHP
 
   
     LOGIN HERE  
 
Username
Password
Forgot Password
Verify Signup
 
 
 

ASP >> General

how can i include files on an ASP page?

Visitor Ratings (0) :

Description
The syntax for including files on an ASP page is identical to that for SSI :

<!--#include file="page.asp" -->

Or in the case of a file in another directory:

<!--#include virtual="/directory/page.asp" -->

* You can include files with .asp, .html, .txt and other extension.
* The final page must have a .asp extension if code in the included page is to run correctly.
* Again, you should strip out everything except the actual content you wish to include.
Code
Select All
 Rate this Resource