Using FilesToLinks()


The contents of the "things" folder:

bread is dangerous.txt
cutecat.jpg
doggone.jpg
Englihs_in_china.ppt
here_kitty.mpg
programming humor.txt

Contents of default.asp :
<!--#include file ="../../jakes_IO.asp"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="da">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Example use of the FilesToLinks function</title>
    <link rel="stylesheet" type="text/css" href="/jake.css">
</head>
<body>
    <div align="center"><h1>Using FilesToLinks()</h1></div>
    <br>

    <p><b>The contents of the "things" folder:</b><br>
    <span style="display:block;border:1px solid black;background:#DFE;padding:10px;font-size:11px;">
    <%=filesToLinks("things")    %>
    </span>

    <p><b>Contents of default.asp :</b><br>
    <span style="display:block;border:1px solid black;background:#FDE;padding:10px;font-size:11px;">
    <% response.write(stringToHTML (GetFileContents("default.asp")))%>
    </span>

</body>
</html>