I have got a IIS Server on Windows Server 2008 R2. I have a index.asp file and I want to put php codes in it. This asp files only have php codes. Can't work .php codes in asp. http://prntscr.com/7axmit like this.
Php and ASP are different technologies and cannot be mixed. Classic asp will work with VbSCript, Jscript, Python and Perl, but not php.
If you want to use PHP code on a windows IIS server then you need to install PHP into the web server.