|
-
Jun 14th, 2000, 08:53 PM
#1
Thread Starter
Lively Member
Hi all i am using visual interdev to develop my project. Lets say my website name will be
http://www.ohyeah.com. Now my virtual name that i set up on my test project is yeah. Now i want to include an includes file that will be located in folder includes. So i typed
<!--#include virtual="/includes/file.asp"-->
But when i launch it asp doesnt see the includes file. Yet if i write it like this
<!--#include virtual="yeah/includes/log.asp"-->
it sees it. But the problem is i cant write it one way on my test server because then i would have
to append every single file in my project to get it to work on the production server. which would be a huge pain in the butt. Anyone have any suggestions?
Regards,
Scott
-
Jun 15th, 2000, 11:32 AM
#2
Guru
try this:
<!--#include file="includes/file.asp"-->
assuming you have your ASP page in a folder, and there is a folder named INCLUDES in that same folder, with FILE.ASP within the INCLUDES folder
that should work....
Tom
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|