Morgoth
12-06-2002, 07:19 PM
I was thinking as I was installing PHP on my server.
I have many arguments over what's better, ASP and PHP, and IIS and Apache, and I don't have an opinion, nor do the people I usually talk to (most of them are newbies), because we have not ever used the other type of server.
It usually starts if i set up a file to show someone over some IRC chat or something and it ends with .ASP
Now I wonder, would it be wrong to configure your IIS to not execute .ASP files in the ASP way, but execute .PHP files in the ASP way.
Meaning:
Php2.php:
<%
If 0 = 0 Then
Response.Write "Hello World"
End If
%>
And it will take that file, and not read it as a php file with php code, but with ASP code, also hiding the fact it is ASP you are using.
Would it be wrong to configure your IIS server to do that?
I would like to see someone acually do that. Lol...
I have many arguments over what's better, ASP and PHP, and IIS and Apache, and I don't have an opinion, nor do the people I usually talk to (most of them are newbies), because we have not ever used the other type of server.
It usually starts if i set up a file to show someone over some IRC chat or something and it ends with .ASP
Now I wonder, would it be wrong to configure your IIS to not execute .ASP files in the ASP way, but execute .PHP files in the ASP way.
Meaning:
Php2.php:
<%
If 0 = 0 Then
Response.Write "Hello World"
End If
%>
And it will take that file, and not read it as a php file with php code, but with ASP code, also hiding the fact it is ASP you are using.
Would it be wrong to configure your IIS server to do that?
I would like to see someone acually do that. Lol...