ColdFusion Flash Forms

Enabling Flash Forms – via coldfusion

Setup a virtual directory that maps from the domains home folder to the system CFIDE folder -

Open IIS

Find the site

Enter the domain.com folder

Right Click –> New –> Virtual Directory – Click Next

Alias – CFIDE

Click Next

Path: Browse to the system CFIDE folder for coldfusion

Select CFIDE Click OK

Click Next

Permissions: Read, Run, Execute

Click Next

Click Finish

Restart IIS

Hello World test script

CGI-PERL Hello World
#!/usr/local/bin/perl
print “Content-type: text/htmlnn”;
print “Hello, world from Server Sitters!n”;

ASP Hello World
<HTML>
<HEAD>
<Title>Server Sitters Hello World! ASP Example</title>
</HEAD>
<BODY background=”" bgColor=#ffffff>
<P>From all of the Server Sitter’s Staff we would like to say,</P>
<h2>
<%
Response.Write (“Hello World!”)
%>
</h2>
</BODY>
</HTML>

PHP Hello World
<HTML>
<HEAD>
<Title>Server Sitters Hello World! PHP Example</title>
</HEAD>
<BODY background=”" bgColor=#ffffff>
<P>From all of the Server Sitter’s Staff we would like to say,</P>
<h2>
<?
print (“Hello World”);
?>
</h2>
</BODY>
</HTML>

ASP.NET Hello World
<script language=”C#” runat=”server”>
protected override void OnLoad(EventArgs e)
{
LiteralControl oLiteral = new LiteralControl(“Hello World”);
Controls.Add(oLiteral);
base.OnLoad (e);

}
</script>

ColdFusion Hello World
<html>
<head>
<title>Hello World</title>
<head>

<body bgcolor=ffffff>
<center>
<br><br><h1>Hello World!!</h1><hr>
<b>Today’s date is:</b><br>
<cfoutput>
<cfset today = now()>
<i>#today#</i>
</cfoutput>
</center>
</body>
</html>

JSP Hello World:
<HTML>
<HEAD>
<TITLE>Hello World</TITLE>
</HEAD>
<BODY>
<H1>Hello World</H1>
Today is: <%= new java.util.Date().toString() %>
</BODY>
</HTML>