Print Page | Close Window

virtual path

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=22376
Printed Date: 29 March 2026 at 7:40pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: virtual path
Posted By: urko
Subject: virtual path
Date Posted: 10 January 2007 at 12:18pm
Hi all

I have small problem with my host. They dont allow parent path so i need to change around 80 files from parent path to virtual path.

my question is:
Is it possible to have a dynamic include?

Thing is that once i change to virtual path i cant change the name of main folder...lets name it myfolder.

<!--include virtual="/myfolder/scripts/default.asp"-->

I know i cant do it like that:
<!--include virtual="/<%=myfolder%>/scripts/default.asp"-->

is there a way to have virtual path and have the option of changing the main folder name, without changing all 80 files again?

Thanks,


-------------
Urko



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net