Click to See Complete Forum and Search --> : Include a page in another page, asp, vbscript


Dilruba
12-12-2007, 03:47 AM
Hierarchy of directory are as follows:

1.wwwroot
1a. store
1b. hide
1c. full

Suppose a page "fruit.asp" in the 'store' folder.
Another page 'vagitable.asp" in the 'wwwroot' folder.

Now i want to create another page "water.asp" in 'full' folder.

i want to include "fruit.asp" and "vagitable.asp" in "water.asp"

Then, are the following two line are right?

<!--#include file="../store/fruit.asp" -->
<!--#include file="../vagitable.asp" -->

sstalder
12-12-2007, 09:30 AM
Should work, are you having issues?

keymaker
12-16-2007, 11:35 PM
yep thats definitely right..