Forums

This topic is locked

Help me with Include File

Posted 26 Dec 2001 03:45:17
1
has voted
26 Dec 2001 03:45:17 agoes Setiawan posted:
I've host my page into Brinkster General members. And I have folder tree like this :
* MyPage
* Includes

And I have one page on MyPage folder with Include file at Includes folder.
This's code :
<!-- #include file="../Includes/inc_at.asp" -->

But there's an error :
Active Server Pages error 'ASP 0131'

Disallowed Parent Path

/myAccount/MyPage/Default.asp, line 1

The Include file '../Includes/inc_at.asp' cannot contain '..' to indicate the parent directory.

Please help me


Replies

Replied 27 Dec 2001 01:35:46
27 Dec 2001 01:35:46 Joel Martinez replied:
I also host my site on brinkster, but even premium does not allow the parent paths... for the include to work on the general membership, its got to look like this:

<!-- #include virtual="<brinksterUsername>/Includes/inc_at.asp" -->

its quite an annoying "feature"
if you are working with brinskter, I suggest becoming acquainted with their FAQ section... it's got alot of the answers to their "quirks"

Joel Martinez [ ]
----------
E-Commerce Concepts with Ultradev...pre-order yours at
www.basic-ultradev.com/ecomm_concepts/
Replied 27 Dec 2001 06:16:23
27 Dec 2001 06:16:23 agoes Setiawan replied:
Thank's for great reply Mr. Joel Martinez !

Reply to this topic