Re: ASP vs PHP

From: Date: Mon, 12 Mar 2001 16:50:44 +0000
Subject: Re: ASP vs PHP
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-43497@lists.php.net to get a copy of this message
Carsten Gehling wrote: > > > 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 Yes it will work. we've used it in the past to do millisecond timing - had to use jscript for that because vbscript internals don't have any timer mechanism that accurate, but jscript did. it's the same computer, same OS, but each language had different capabilities.

« previous php.general (#43497) next »