我假设您还可以使用 (例如)../foldername/filename.inc $ b $在文件夹结构中上下导航b从Inetpub / global / websites / website1 / global.asa,你必须上涨 三(到Inetpub /)然后下到inc /。 所以我会尝试: <! - #include file =" ../../../ inc / fun ctions.inc - > - 干杯, Trevor L. [微软MVP - FrontPage] MVPS网站: http:// trevorl .mvps.org / --------------------------------- ------- Yes, I think so I have this in my site (see signature)<!--#include file="_fpclass/guestbook.inc"-->It is called from guestbook.asp in the parent folder I assume that you can also navigate up and down the folder structure using(for example) ../foldername/filename.inc From Inetpub/global/websites/website1/global.asa, you would have to go upthree (to Inetpub/) then down to inc/. So I would try:<!--#include file="../../../inc/functions.inc"--> --Cheers,Trevor L.[ Microsoft MVP - FrontPage ]MVPS Website: http://trevorl.mvps.org/---------------------------------------- 启用父路径后,您可以到同一驱动器的根目录, ,前提是您使用这种类型的路径: <! - #include file =" ../../../ path1 / path2 / filename.ext" - > - 戴夫安德森 未经请求的商业电子邮件将以With parent paths enabled, you can go as far as the root of the same drive,provided you use this type of path: <!-- #include file="../../../path1/path2/filename.ext" --> --Dave Anderson Unsolicited commercial email will be read at a cost of 这篇关于包括网站外的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-28 22:33