Re: ASP vs PHP

From: Date: Mon, 12 Mar 2001 11:04:32 +0000
Subject: Re: ASP vs PHP
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-43452@lists.php.net to get a copy of this message
From: "Simon Garner" <sgarner@expio.co.nz> Sent: Monday, March 12, 2001 11:37 AM > Are you sure? The #include is an SSI directive, not ASP. It should create a > separate internal HTTP request for the included file. I know for sure that > for example you can include a JScript ASP page inside a VBScript ASP page > like this - although I realise that's not the same difference as ASP/PHP. You're right about that, but AFAIK ASP will simply not allow two different serverside script languages on the same page (which it becomes once the inclusion is complete). You must state your @language=... directive as the first ASP statement after which it cannot be changed. Unless of course you use: <script runat=server language=vbscript> ... your code here </script> <script runat=server language=jscript> ... your code here </script> Don't know if that will work though. - Carsten

« previous php.general (#43452) next »