Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Including my banner.asp in an HTML file
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ryan
Average Member

USA
858 Posts

Posted - 02 October 2003 :  20:04:27  Show Profile  Visit Ryan's Homepage
Is it possible to make a file include like you do with asp in an HTML doc? I wanted to put my ASP banner file into my other HTML pages but I am not sure how.

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 02 October 2003 :  20:11:58  Show Profile
if page A has asp code in it and you want to include it in page B, then page B must also be an asp file.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 02 October 2003 :  20:15:59  Show Profile  Visit Ryan's Homepage
So you cant display ASP on an html page but you can display html on an asp page.

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 02 October 2003 :  20:17:24  Show Profile
yes

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 02 October 2003 :  20:42:16  Show Profile  Visit Ryan's Homepage
Oh well... thank you anyway

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 02 October 2003 :  21:30:46  Show Profile
To clarify a bit .. "normal" (i.e. .htm, .html) files don't parse the #include statement correctly. The quick cheat is to rename these (all HTML, no ASP) to .asp. THEN you can use #include properly.

That said, if you are #include'ing ASP code then the main file should be ASP as well obviously.


I hope all that makes sense
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 02 October 2003 :  22:35:56  Show Profile  Visit Ryan's Homepage
Yes it did. Thank you.

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.35 seconds. Powered By: Snitz Forums 2000 Version 3.4.07