Alan
-2
Q:

how to execute asp code in html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
  <title>BotDetect CAPTCHA ASP Form Sample</title>
</head>
<body>
  <form method="post" action="ProcessForm.asp" id="form1">

    <h1>BotDetect CAPTCHA ASP Form Sample</h1>
<%
 response.write("My first ASP script!")
 %>
<p><%Response.Write(now())%></p> 
		<h2>Add Message
	This page was last refreshed on <%= now() %>, <br>
  </form>
</body>
0
<handlers>
            <remove name="ASPClassic" />
            <add name="take html as classic asp" path="*.html" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="C:\Windows\System32\inetsrv\asp.dll" resourceType="File" preCondition="" />
            <add name="ASPClassic" path="*.asp" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%windir%\system32\inetsrv\asp.dll" resourceType="File" requireAccess="Script" />
        </handlers>
0

New to Communities?

Join the community