How to use ASP & #include This the tutorial/example a scripts how to use ASP & #include file
ShotDev Focus:
- ASP & #include file
Example
asp_include1.asp
<%
Response.write("I Love ShotDev.Com<br>")
strMySite = "I Loveeeeee ShotDev.Com"
%>
asp_include2.asp
<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<!--#include file="asp_include1.asp"-->
<hr>
<%
Response.write("We Love ShotDev.Com Toooooooooooooo.<br>")
Response.write(strMySite&"<br>")
%>
</body>
</html>
Create a asp file and save to path root-path/myasp/
Run
http://localhost/myasp/asp_include2.asp
Screenshot
.
.
.



2undivided…
…