Hello John,
Tuesday, January 4, 2005, 2:52:27 PM, you wrote:
JN> Standard comment in HTML, but it has another use with Apache, and I JN> didn't find any reference to this type of syntax for ASP.
<!--#include file="whatever.asp" -->
and
<!--#include virtual="whatever.asp" -->
are both perfectly valid ASP syntax that will work on **IIS**
Obviously you can do the usual stuff as in PHP, with:
<% filen = "header.inc" %> <!--#include file="<%=filen%>"-->
etc etc
It's no different really. PHP might be significantly better than ASP, but it's still not *that* archaic!
But, is <!--#include virtual="whatever.asp" --> actually calling the file from the ASP script like include() and require() will do in PHP? Or is it ISS calling the file after the script is processed in the same manner that Apache would call <!--#include virtual="whatever.html" --> with SSI?
-- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@xxxxxxxxxxxx
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php