faqts : Computers : Programming : Languages : Asp : ASP/VBScript : Common Problems

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

46 of 96 people (48%) answered Yes
Recently 4 of 10 people (40%) answered Yes

Entry

What is the difference between #include virtual and #include file?

Jun 26th, 2000 07:14
unknown unknown, Bruce Anwyl, Phil Smith, Gerard Whittey


have a look at this

http://msdn.microsoft.com/library/psdk/iisref/iiwainc.htm

#include file uses the relative path to where you are calling it.

A virtual would be a virtual dir.  One such you'd use the URL 
www.here.come/there/somewhere/page.inc to get to.  If you have a virtual 
dir created for that URL www.here.come/there/somewhere/ you could use 
www.here.come/somewhere/.  With that done you could use 
www.here.come/somewhere/page.inc  as your virtual path.



© 1999-2004 Synop Pty Ltd