Re: How to argue with ASP people...

From: Date: Tue, 04 Jan 2005 16:32:13 +0000
Subject: Re: How to argue with ASP people...
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-205596@lists.php.net to get a copy of this message
Richard Davey wrote:
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@kegworks.com

« previous php.general (#205596) next »