Chrome opens the asp file to display the source code

there is an index.asp file locally, which only shows the source code when opened with a chrome browser, and can be parsed into a html web page when opened with firefox.
change the index.asp file name to index.html, to resolve to html pages.

clipboard.png

Mar.07,2021

  1. asp files need to be parsed by a server that supports asp;
  2. firefox can be parsed, maybe the browser has processed it, or the code in it has been run;
  3. most programs parse according to the suffix name in the format of the suffix name.

  1. in general, when you open a file with a direct .asp suffix in a browser, the source code is displayed directly, no matter what kind of browser it is.
  2. to run the asp file, use iis, the web server, to parse.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4226e-441d1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4226e-441d1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?