469,336 Members | 5,299 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,336 developers. It's quick & easy.

include

I've made a small control asp 'script' that I need to include in most of my
html file (and I dont wanna copy 'n past the code into all my files). How
can I do this ? Been a while since I've been messing with asp so Im a bit
rusty but wasnt there some kind of include command ? Thanks for any help :)
Jul 19 '05 #1
2 1302
> I've made a small control asp 'script' that I need to include in most of
my
html file


HTML files can't include by default. If you mean in your ASP files, then

<!--#include file='small_control_file.asp'-->
Jul 19 '05 #2
or, if it not in the same directory:
<!--#include virtual='/path/path/small_control_file.asp'-->

"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:#6**************@TK2MSFTNGP11.phx.gbl...
I've made a small control asp 'script' that I need to include in most of

my
html file


HTML files can't include by default. If you mean in your ASP files, then

<!--#include file='small_control_file.asp'-->

Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

43 posts views Thread by steve | last post: by
60 posts views Thread by Derrick Coetzee | last post: by
9 posts views Thread by zolli | last post: by
5 posts views Thread by David Mathog | last post: by
1 post views Thread by ya man | last post: by
14 posts views Thread by Jon Rea | last post: by
7 posts views Thread by Giancarlo Bassi | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Marylou17 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.