<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-31710533</id><updated>2011-12-14T19:12:48.385-08:00</updated><title type='text'>Coldfusion Examples</title><subtitle type='html'>This blog for Coldfusion. It contains some useful examples in Coldfusion like, How to use variables in Coldfusion, How to use list, arrays, structure in coldfusion? It also contains some exampels with code like genrating Loginpage, Change your password, generating graphs, checkbox, select box in coldfusion. How to generate .Pdf file in coldfusion. Printer friendly version of report. Some important java scripts like, mouseover effect, scripts for checkbox, radio button and many more.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://cftutorial.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31710533/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://cftutorial.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Gaurang Patel</name><uri>http://www.blogger.com/profile/05996192719055562736</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://photos1.blogger.com/blogger/403/1965/320/me.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-31710533.post-115515607977850859</id><published>2006-08-09T13:23:00.000-07:00</published><updated>2006-08-09T15:27:36.350-07:00</updated><title type='text'>Creating Web pages in Coldfusion</title><content type='html'>&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;1. What is Application.cfm file in Coldfusion? &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Application.cfm file is very important and special file for Web Application framework.&lt;br /&gt;The basic function performed by this file is, the code of this file is automatically executed just before each of the pages that make up your application.&lt;br /&gt;&lt;br /&gt;In simple words “The code of Application.cfm file will be automatically included just before any of your application pafes.”  The behavior is the same as if you included the file using &amp;lt;cfinclud&amp;gt; tag.&lt;br /&gt;&lt;br /&gt;So whenever a user visits a .cfm pade, coldfusion looks to see whether a file named Application.cfm exists in the same directory as the requested page. If so coldfusion automatically includes it.&lt;br /&gt;&lt;br /&gt;If coldfusion could not found the file in the same folder then it looks in that folder’s parent folder. It will keep looking into these folders until there are no more parent folders to look into.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;&lt;br /&gt;Sample Application.cfm file:&lt;/span&gt;&lt;br /&gt;&lt;div style="background-color: rgb(204, 204, 153);" align="left"&gt;// Any variable set here can be used by all pages&lt;br /&gt;// Start session management. Used to track session variables&lt;br /&gt;&lt;br /&gt;&amp;lt;cfset this.sessionManagement = true&amp;gt;&lt;br /&gt;&lt;br /&gt;// Start client management. Used to track client variables&lt;br /&gt;&lt;br /&gt;&amp;lt;cfset this.clientmanagement = true&amp;gt;&lt;br /&gt;&amp;lt;cfset this.name = "Name of your application"&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;!--- On Request Start Function---&amp;gt;&lt;br /&gt;// is called when user request any web page.&lt;br /&gt;&lt;br /&gt;&amp;lt;cffunction name="onRequestStart" output="true" returntype="void"&amp;gt;&lt;br /&gt;&amp;lt;cfset request.datasource = "companyk1" &amp;gt;&lt;br /&gt;&amp;lt;cfset request.companyname = "Company K1 - HQ"&amp;gt;&lt;br /&gt;&lt;br /&gt;/* call your header file everytime when user access webpage. So you do not have to include in every page*/&lt;br /&gt;&amp;lt;cfinclude template="companyk1_header.cfm"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/cffunction&amp;gt;&lt;br /&gt;&lt;br /&gt;/*On request end function is used to called end the end of webpage access */&lt;br /&gt;&lt;br /&gt;&amp;lt;cffunction name="onRequestEnd" returntype="void" output="true"&amp;gt;&lt;br /&gt;&amp;lt;cfinclude template="companyk1_footer.cfm"&amp;gt;&lt;br /&gt;&amp;lt;/cffunction&amp;gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;2. How to fetch records from database using coldfusion application?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: rgb(204, 204, 153);" align="left"&gt;Assume: Table name = “profile” and it has ID, LastName, FirstName, FirstTime etc Column name.&lt;br /&gt;Value of “FirstTime” field will be 0 or 1.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: rgb(204, 204, 153);" align="left"&gt;/* Just before start of Body tag */&lt;br /&gt;&lt;br /&gt;&amp;lt;cfquery name="getUser" datasource="#request.datasource#"&amp;gt;&lt;br /&gt;select ID, LastName, FirstName, FirstTime from profile&lt;br /&gt;where Username =  'gaurang'   and Password= 123456&lt;br /&gt;&amp;lt;/cfquery&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;body&amp;gy;&lt;br /&gt;&amp;lt;cfoutput query=”getUser”&amp;gt;&lt;br /&gt;&amp;lt;table&amp;gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;#getUser.ID#&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;#getUser.FirstName#&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;#getUser.LastName#&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;#getUser.FirstTime#&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/cfoutput&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gy;&lt;br /&gt;&lt;br /&gt;Result:&lt;br /&gt;1 Gaurang Patel  0&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;3. How to make login page in coldfusion such that if the user is the first time user then he will be forwarded to some other page for example “profile creation page” and if the user is existing user then he will be forwarded to some different page for example “main page”?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;Code:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;     Step 1:  Create Application.cfm file.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: rgb(204, 204, 153);" align="left"&gt;&amp;lt;cfset this.sessionManagement = true&amp;gt;&lt;br /&gt;&amp;lt;cfset this.clientmanagement = true&amp;gt;&lt;br /&gt;&amp;lt;cfset this.name = "BIOLOGY Department"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;cffunction name="onRequestStart" output="true" returntype="void"&amp;gt;&lt;br /&gt;&amp;lt;cfset request.datasource = "FlattenedFauna" &amp;gt;&lt;br /&gt;&amp;lt;cfset request.companyname = "Company k1 - HQ"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;cfinclude template="Bio_header.cfm"&amp;gt;&lt;br /&gt;&lt;br /&gt;/* LoggedIn is a session variable which is used to restrict visitor from opening any page without login process. Below is the code to check that. If a user has pass through login process then “isLoggedIn” is true.&lt;br /&gt;&lt;br /&gt;And if visior has not pass through login process and directly want to go to other pages then for that session “isLoggedIn” is not defined and so it is false and loginform.cfm page will open. */&lt;br /&gt;&lt;br /&gt;&amp;lt;cfif not IsDefined("session.auth.isLoggedIn")&amp;gt;&lt;br /&gt;&amp;lt;cfif IsDefined("form.userLogin")&amp;gt;&lt;br /&gt;&amp;lt;cfinclude template="logincheck.cfm"&amp;gt;&lt;br /&gt;&amp;lt;/cfif&amp;gt;&lt;br /&gt;&amp;lt;cfinclude template="loginform.cfm"&amp;gt;&lt;br /&gt;&amp;lt;cfabort&amp;gt;&lt;br /&gt;&amp;lt;/cfif&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/cffunction&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;cffunction name="onRequestEnd" returntype="void" output="true"&amp;gt;&lt;br /&gt;&amp;lt;cfinclude template="Bio_footer.cfm"&amp;gt;&lt;br /&gt;&amp;lt;/cffunction&amp;gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;     Step 2: Create loginform.cfm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;Copy and Paste this within &amp;lt;body&amp;gt; &amp;lt;/body&amp;gt; tag.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: rgb(204, 204, 153);" align="left"&gt;&amp;lt;cfform action="logincheck.cfm" name="LoginForm" method="post" &amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;cfinput type="hidden" name="userLogin_required"&amp;gt;&lt;br /&gt;&amp;lt;cfinput type="hidden" name="userPassword_required"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;table border="0"&amp;gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&amp;lt;th colspan="2" bgcolor="#C0C0C0"&amp;gt;&amp;lt;font face="Geneva, Arial, Helvetica, sans-serif" size="3" color="#003300"&amp;gt;Please Log In &amp;lt;/font&amp;gt;&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;lt;th&amp;gt;&amp;lt;font face="Geneva, Arial, Helvetica, sans-serif" size="2" color="#003300"&amp;gt;User Name :&amp;lt;/font&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;td&amp;gt;&lt;br /&gt;&amp;lt;cfinput type="text"&lt;br /&gt;name="userLogin"&lt;br /&gt;size="20"&lt;br /&gt;value=""&lt;br /&gt;maxlength="100"&lt;br /&gt;required="yes"&lt;br /&gt;message="Please Type your Username First"&lt;br /&gt;style="border:1px solid ##000000; border-color:##000000; background-color:##FFFFCC" /&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;&lt;br /&gt;&amp;lt;font face="Geneva, Arial, Helvetica, sans-serif" size="2" color="#003300"&amp;gt;&lt;br /&gt;Example : username@gmail.com&amp;lt;/font&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;lt;th&amp;gt;&amp;lt;font face="Geneva, Arial, Helvetica, sans-serif" size="2" color="#003300"&amp;gt;Password :&amp;lt;/font&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;&lt;br /&gt;&amp;lt;cfinput type="password"&lt;br /&gt;name="userPassword"&lt;br /&gt;size="12"&lt;br /&gt;value=""&lt;br /&gt;maxlength="100"&lt;br /&gt;required="yes"&lt;br /&gt;message="Please Type your Password First"&lt;br /&gt;style="border:1px solid ##000000; border-color:##000000; background-color:##FFFFCC"/&amp;gt;&lt;br /&gt;&amp;lt;cfinput name="btn_login" type="submit" value="Enter" style="border:1px solid ##000000; border-color:##000000;"/&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;/table&amp;gt;&lt;br /&gt;&amp;lt;/cfform&amp;gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;    Step 3: Create logincheck.cfm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;&lt;br /&gt;Copy and paste this javascript within &amp;lt;head&amp;gt; &amp;lt;/head&amp;gt; section&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: rgb(204, 204, 153);" align="left"&gt;&lt;br /&gt;&amp;lt;script language="JavaScript" runat="server" type="text/javascript"&amp;gt;&lt;br /&gt;history.forward();&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;copy and paste within &amp;lt;body&amp;gt; &amp;lt;/body&amp;gt; tag:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: rgb(204, 204, 153);" align="left"&gt;&lt;br /&gt;&amp;lt;cffile action="write" file="C:\track_login.txt" output="#form.userLogin#"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;cfif IsDefined("COOKIE.timeStart") EQ "NO"&amp;gt;&lt;br /&gt;&amp;lt;CFCOOKIE name="timeStart"&lt;br /&gt;value="now()"&lt;br /&gt;expires="now"&amp;gt;&amp;lt;/cfif&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;cfparam name="form.userLogin"  type="string"&amp;gt;&lt;br /&gt;&amp;lt;cfparam name="form.userPassword" type="string"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;cfquery name="getUser" datasource="#request.datasource#"&amp;gt;&lt;br /&gt;select ID,LastName,FirstName,FirstTime from profile&lt;br /&gt;where Username =  '#form.userLogin#'   and Password= '#form.userPassword#'&lt;br /&gt;&amp;lt;/cfquery&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;cfif getUser.recordcount eq 1&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;cfset session.auth = StructNew()&amp;gt;&lt;br /&gt;&amp;lt;cfset session.auth.isLoggedIn = "1"&amp;gt;&lt;br /&gt;&amp;lt;cfset session.auth.id = getUser.ID&amp;gt;&lt;br /&gt;&amp;lt;cfset session.auth.lastname = getUser.LastName&amp;gt;&lt;br /&gt;&amp;lt;cfset session.auth.firstname = getUser.FirstName&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;cfif getUser.FirstTime eq 0&amp;gt;&lt;br /&gt;&amp;lt;cflocation url="user_profile.cfm" addtoken="no"&amp;gt;&lt;br /&gt;&amp;lt;cfelse&amp;gt;&lt;br /&gt;&amp;lt;cflocation url="name of url link to which you want to forward your visitor" addtoken="no"&amp;gt;&lt;br /&gt;&amp;lt;/cfif&amp;gt;&lt;br /&gt;&amp;lt;/cfif&amp;gt;&lt;br /&gt;&amp;lt;cflocation url="loginform.cfm" addtoken="no"&amp;gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;4. Change password web page using coldfusion?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Code:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;step 1: change_pass.cfm&lt;br /&gt;copy and paste below code in &amp;lt;head&amp;gt; &amp;lt;/head&amp;gt; section&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="background-color: rgb(204, 204, 153);" align="left"&gt;&lt;span style="font-size:100%;"&gt;// This style is used to change background color when cursor moves on or moves out from button.&lt;br /&gt;&amp;lt;STYLE&amp;gt;&lt;br /&gt;.start {color:##006600; background:#999999;}&lt;br /&gt;.end {color:##006600; background:##003300;}&lt;br /&gt;&amp;lt;/STYLE&amp;gt;&lt;br /&gt;// Java script for changing background color.&lt;br /&gt;&amp;lt;script type="text/javascript" &amp;gt;&lt;br /&gt;function highlightButton(s)&lt;br /&gt;{&lt;br /&gt;// get the tagName for particular event. Here get input type of “BUTTON”. You can also use other input types instead of just button.&lt;br /&gt;if ("INPUT"==event.srcElement.tagName)&lt;br /&gt;event.srcElement.className=s // assign particular class style for particular event.&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;copy and paste below code in &amp;lt;body&amp;gt; &amp;lt;/body&amp;gt; section&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="background-color: rgb(204, 204, 153);" align="left"&gt;&amp;lt;cfform name="frm_pass_change" action="passchange_proc.cfm" method="post" onsubmit="return submitIt()"&amp;gt;&lt;br /&gt;&amp;lt;div align="center"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;table border="0"&amp;gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;lt;td align="right"&amp;gt;&lt;br /&gt;Please Enter Your &amp;lt;font color="#003300" size="2" face="Verdana, Arial, Helvetica, sans-serif"&amp;gt;Current&amp;lt;/font&amp;gt; Password :&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;&lt;br /&gt;&amp;lt;cfinput type="password" name="old_pass" style="border:1px solid ##000000; border-color:##000000; background-color:##FFFFCC" value="" size="20"/&amp;gt;&lt;br /&gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;tr height="20"&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;lt;td align="right"&amp;gt;&lt;br /&gt;New Password:&lt;br /&gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;&lt;br /&gt;&amp;lt;cfinput type="password" name="new_pass" style="border:1px solid ##000000; border-color:##000000" value="" size="20"/&amp;gt;&lt;br /&gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;lt;td align="right"&amp;gt;&lt;br /&gt;Retype New Password :&lt;br /&gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;&lt;br /&gt;&amp;lt;cfinput type="password" name="retype_pass" style="border:1px solid ##000000; border-color:##000000" value="" size="20"/&amp;gt;&lt;br /&gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;tr height="20"&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;lt;td align="center" colspan="2"&amp;gt;&lt;br /&gt;&amp;lt;cfinput type="submit" value="Change It" name="btn_submit" style="border:1px solid ##333333; border-color:##000000;"&lt;br /&gt;onMouseover="highlightButton('start')"&lt;br /&gt;onMouseout="highlightButton('end')"/&amp;gt;&lt;br /&gt;&amp;lt;cfinput type="reset" value="Reset" name="btn_reset" style="border:1px solid ##333333; border-color:##000000;"&lt;br /&gt;onMouseover="highlightButton('start')"&lt;br /&gt;onMouseout="highlightButton('end')"/&amp;gt;&lt;br /&gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;/table&amp;gt;&lt;br /&gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;!--- Outer Tabel Ends here---&amp;gt;&lt;br /&gt;&amp;lt;/table&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/cfform&amp;gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;Step 2: passchange_proc.cfm&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: rgb(204, 204, 153);" align="left"&gt;// Paste this code before   tag&lt;br /&gt;&lt;br /&gt;// get your old password from profile table. Here #session.auth.firstname# and #session.auth.lastname# are the first and last name of user who is currently logged in.&lt;br /&gt;&lt;br /&gt;&amp;lt;cfquery name="get_old_pass" datasource="#request.datasource#"&amp;gt;&lt;br /&gt;SELECT Password from profile  where FirstName = '#session.auth.firstname#'&lt;br /&gt;and LastName = '#session.auth.lastname#'&lt;br /&gt;&amp;lt;/cfquery&amp;gt;&lt;br /&gt;&lt;br /&gt;// Update password if matched.&lt;br /&gt;&amp;lt;cfif #form.old_pass# eq #get_old_pass.Password#&amp;gt;&lt;br /&gt;&amp;lt;cfquery name="update_pass" datasource="#request.datasource#"&amp;gt;&lt;br /&gt;UPDATE profile&lt;br /&gt;set Password = '#form.new_pass#'&lt;br /&gt;where FirstName = '#session.auth.firstname#'&lt;br /&gt;  AND&lt;br /&gt;  LastName  = '#session.auth.lastname#'&lt;br /&gt;&amp;lt;/cfquery&amp;gt;&lt;br /&gt;&amp;lt;cflocation url="change_pass.cfm?pass_changed=1"/&amp;gt;&lt;br /&gt;&lt;br /&gt;// Error message if current password is wrong.&lt;br /&gt;&amp;lt;cfelse&amp;gt;&lt;br /&gt;&amp;lt;cfoutput &amp;gt; &amp;lt;h1&amp;gt;Your Current Password is wrong.&amp;lt;br/&amp;gt;&lt;br /&gt;Please Enter Correct Password.&lt;br /&gt;&amp;lt;a href="change_pass.cfm"&amp;gt;Try Again &amp;lt;/a&amp;gt;&amp;lt;/h1&amp;gt;&amp;lt;/cfoutput&amp;gt;&lt;br /&gt;&amp;lt;/cfif&amp;gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;5. How to use ListBox in coldfusion? Or How to add values in ListBox in coldfusion?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);font-size:85%;" &gt;How to add values in Listbox statically without fetching from database.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: rgb(204, 204, 153);" align="left"&gt;&amp;lt;CFSELECT  name="Species" width="100" style="border:1px solid ##000000; border-color:##000000; background-color:##FFFFCC" onChange="showimage()"&amp;gt;&lt;br /&gt;&amp;lt;option value="Deer"&amp;gt;Deer&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option value="Elk"&amp;gt;Elk&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option value="Bear"&amp;gt;Bear&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option value="Bighorn Sheep"&amp;gt;Bighorn Sheep&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option value="Coyote"&amp;gt;Coyote&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;/CFSELECT&amp;gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;How to add values in Listbox dynamically, mean from database.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: rgb(204, 204, 153);" align="left"&gt;//table = "county_dist" Colunm name = "County"&lt;br /&gt;&lt;br /&gt;&amp;lt;cfquery name="get_county" datasource="#request.datasource#"&amp;gt;&lt;br /&gt;SELECT DISTINCT County FROM county_dist&lt;br /&gt;&amp;lt;/cfquery&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;cfform name=”listbox”&amp;gt;&lt;br /&gt;// value defines the name of column of table which values you want to use.&lt;br /&gt;// display defines the name of column of table which values you want to display.&lt;br /&gt;// multiple = “yes” allows you to select multiple values&lt;br /&gt;&lt;br /&gt;&amp;lt;cfselect name="county" query="get_county" value="County" display="County" style="border:1px solid ##000000; background-color:##FFFFCC;" multiple="yes" size="3"&amp;gt;&lt;br /&gt;&amp;lt;option value="" selected="selected" &amp;gt;any&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;/cfselect&amp;gt;&lt;br /&gt;&amp;lt;/cfform&amp;gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;/*More Topics are coming soon */&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31710533-115515607977850859?l=cftutorial.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cftutorial.blogspot.com/feeds/115515607977850859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31710533&amp;postID=115515607977850859' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31710533/posts/default/115515607977850859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31710533/posts/default/115515607977850859'/><link rel='alternate' type='text/html' href='http://cftutorial.blogspot.com/2006/08/creating-web-pages-in-coldfusion.html' title='Creating Web pages in Coldfusion'/><author><name>Gaurang Patel</name><uri>http://www.blogger.com/profile/05996192719055562736</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://photos1.blogger.com/blogger/403/1965/320/me.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31710533.post-115393679859877407</id><published>2006-07-26T10:59:00.000-07:00</published><updated>2006-08-08T16:29:09.126-07:00</updated><title type='text'>Coldfusion Examples</title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/403/1965/1600/1.2.jpg"&gt;&lt;/a&gt;&lt;span style="color:#000066;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a style="FONT-WEIGHT: bold; COLOR: rgb(102,0,0)" href="http://patelgaurang.blogspot.com"&gt;Back to Home Page&lt;/a&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold;font-size:100%;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="FONT-WEIGHT: bold;font-size:100%;" &gt;What is Coldfusion?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(0,0,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="FONT-WEIGHT: bold"&gt;ColdFusion is the hot way to create dynamic webpages that link to just about any database.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;ColdFusion is a programming language based on standard HTML (Hyper Text Markup Language) that is used to write dynamic webpages. It lets you create pages on the fly that differ depending on user input, database lookups, time of day or whatever other criteria you dream up! ColdFusion pages consist of standard HTML tags such as , together with CFML (ColdFusion Markup Language) tags such as , and . ColdFusion was introduced by Allaire in 1996, acquired by Macromedia in a merger in April 2001, and acquired by Adobe in December 2005. It is currently in version 7.0.1, but the next version of the product (codenamed Scorpio) is already in development.&lt;br /&gt;&lt;br /&gt;Creating an application with ColdFusion is as straightforward as creating a static Web site. However, in a ColdFusion application you can introduce an incredible range of functionality that is not available either in static Web sites or in traditional client/server applications. A ColdFusion application is very simply a collection of pages, similar to a static Web site. But unlike the pages in a static Web site, the pages in a ColdFusion application include the server-side ColdFusion Markup Language (CFML) in addition to HTML. CFML gives you the ability to control the behavior of your applications, integrate a wide range of server technologies, and dynamically generate the content that is returned to the Web browser.&lt;br /&gt;&lt;br /&gt;When a page in a ColdFusion application is requested by a browser, it is automatically pre-processed by the ColdFusion Application Server. Based on the CFML in the page, the Application Server executes the application logic, interacts with other server technologies, and then dynamically generates an HTML page which is returned to the browser. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;Coldfusion is a programming language&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;Coldfusion is an application server&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;Coldfusion is a middleware application for integrating the web and other tech. including database, e-mail and web services&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;Coldfusion is a tool for building dynamic web sites&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="color:#000066;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="FONT-WEIGHT: bold"&gt;&lt;span style="font-family:arial;"&gt;Coldfusion Tutorial&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000066;"&gt;1. Variables in Coldfusion&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#000066;"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;How to assign value to a variable in Coldfusion?&lt;/strong&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="BACKGROUND-COLOR: #cccc99" align="left"&gt;&amp;lt;cfset username = “gaurang”&gt; // for string&lt;br /&gt;&amp;lt;cfset password = 123456&gt; // for number&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Ex: This will define two variable named username and password and assign values to them&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="BACKGROUND-COLOR: #cccc99" align="left"&gt;body tag start&lt;br /&gt;&amp;lt;cfset username = “gaurang”&gt;&lt;br /&gt;&amp;lt;cfset password = 123456&gt;&lt;br /&gt;//body tag end&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:85%;"&gt;How to display the value of coldfusion variable? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="BACKGROUND-COLOR: #cccc99" align="left"&gt;&amp;lt;cfoutput&amp;gt;&lt;br /&gt;#username#&lt;br /&gt;#password#&lt;br /&gt;&amp;lt;/cfoutput&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#000099;"&gt;&lt;strong&gt;Remember : &amp;lt;cfoutput&amp;gt; &amp;lt;/cfoutput&amp;gt; tag must require to display value of variable. &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#000099;"&gt;&lt;strong&gt;Example: This will define two variables and assign values to them as well as also display the values.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="BACKGROUND-COLOR: #cccc99" align="left"&gt;//body tag start&lt;br /&gt;&amp;lt;cfset username = “gaurang”&gt;&lt;br /&gt;&amp;lt;cfset password = 123456&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;cfoutput&amp;gt;&lt;br /&gt;#username#&lt;br /&gt;#password#&lt;br /&gt;&amp;lt;/cfoutput&amp;gt;&lt;br /&gt;//body tag end&lt;br /&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Use the same variable for multiple times&lt;/li&gt;&lt;li&gt;This example display uses of some string function available in coldfusion as well as how to use the value of single variable for many other variables&lt;/li&gt;&lt;/ul&gt;&lt;div style="BACKGROUND-COLOR: #cccc99" align="left"&gt;Example:&lt;br /&gt;&lt;br /&gt;//body tag start&lt;br /&gt;&amp;lt;cfset username = “gaurang”&gt; // for string&lt;br /&gt;&amp;lt;cfset Uppername = Ucase(username)&gt; // for string&lt;br /&gt;&amp;lt;cfset Lowername= Lcase(username)&gt; // for string&lt;br /&gt;&amp;lt;cfset Reversename= Reverse(username)&gt; // for string&lt;br /&gt;&amp;lt;cfset Lenname = Len(username)&gt; // for string&lt;br /&gt;&lt;br /&gt;&amp;lt;cfoutput&amp;gt;&lt;br /&gt;Upercase = #Uppername#&lt;br /&gt;Lower Case = #Lowername#&lt;br /&gt;Reverse = #Reversename#&lt;br /&gt;Number of Character = #Lenname#&lt;br /&gt;&amp;lt;/cfoutput&amp;gt;&lt;br /&gt;//body tag end&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;When to use ‘#’ signs,&lt;/strong&gt; &lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;put ‘#’ to flag variables within a string of text. &lt;/li&gt;&lt;/ul&gt;&lt;div style="BACKGROUND-COLOR: #cccc99" align="left"&gt;&lt;br /&gt;&amp;lt;cfset firstname = “abc”&gt;&lt;br /&gt;&amp;lt;cfset lastname = “xyz”&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;cfset fullname = “#firstname#” “#lastname#”&gt;&lt;br /&gt;Result : abc xyz&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;if the string contains variables, pound signs would be necessary.&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;strong&gt;When not to use ‘#’ signs, &lt;/strong&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;if variable is used inside some function,&lt;br /&gt;&lt;br /&gt;&lt;div style="BACKGROUND-COLOR: #cccc99" align="left"&gt;&amp;lt;cfset firstname = “abc”&gt;&lt;br /&gt;&amp;lt;cfset lastname = “xyz”&gt;&lt;br /&gt;&lt;br /&gt;Ex:&lt;br /&gt;&amp;lt;cfset UpperName = Ucase(#firstname#)&gt; // Incorrect&lt;br /&gt;&amp;lt;cfset UpperName = Ucase(firstname)&gt; // Correct&lt;br /&gt;&lt;br /&gt;Exception:&lt;br /&gt;&amp;lt;cfset #UpperName# = #Ucase(firstname)#&gt;&lt;br /&gt;&amp;lt;cfoutput&amp;gt;&lt;br /&gt;#UpperName#&lt;br /&gt;&amp;lt;/cfoutput&amp;gt;&lt;br /&gt;Result: ABC &lt;/code&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000066;"&gt;2. Lists in Coldfusion.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Some of the basic features of List in Coldfusion.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Used to group together related information.&lt;/li&gt;&lt;li&gt;They are strings.&lt;/li&gt;&lt;li&gt;Delimiter is used to separate items within string.&lt;/li&gt;&lt;/ul&gt;Ex: comma delimited list of US state.&lt;br /&gt;&lt;br /&gt;California, Texas, Florida, Michigan, New York&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:85%;"&gt;How to defined or create a List in Coldfusion?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="BACKGROUND-COLOR: #cccc99" align="left"&gt;&lt;br /&gt;&amp;lt;cfset friendlist = “gaurang, ankit, hiren, piyush, dipen, rahul, aakash, sunil, ankur, pratik, hemal,&lt;br /&gt;jayesh, dhruv, hardik, tushar”&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;List function in Coldfusion.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="BACKGROUND-COLOR: #cccc99" align="left"&gt;// display first element &lt;/div&gt;&lt;div style="BACKGROUND-COLOR: #cccc99" align="left"&gt;&lt;/div&gt;&lt;div style="BACKGROUND-COLOR: #cccc99" align="left"&gt;&amp;lt;cfoutput&amp;gt;&lt;br /&gt;First = #Listfirst(friendlist)#&lt;br /&gt;&amp;lt;/cfoutput&amp;gt; &lt;/div&gt;&lt;div style="BACKGROUND-COLOR: #cccc99" align="left"&gt;&lt;br /&gt;// display last element&lt;br /&gt;&amp;lt;cfoutput&amp;gt;&lt;br /&gt;last = #Listlast(friendlist)#&lt;br /&gt;&amp;lt;/cfoutput&amp;gt; &lt;/div&gt;&lt;div style="BACKGROUND-COLOR: #cccc99" align="left"&gt;&lt;br /&gt;// complete list&lt;br /&gt;&amp;lt;cfoutput&amp;gt;&lt;br /&gt;#friendlist#&lt;br /&gt;&amp;lt;/cfoutput&amp;gt; &lt;/div&gt;&lt;div style="BACKGROUND-COLOR: #cccc99" align="left"&gt;&lt;br /&gt;//number of friends in list&lt;br /&gt;&amp;lt;cfoutput&amp;gt;&lt;br /&gt;Total friends = #Listlen(friendlist)#&lt;br /&gt;&amp;lt;/cfoutput&amp;gt; &lt;/div&gt;&lt;div style="BACKGROUND-COLOR: #cccc99" align="left"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="BACKGROUND-COLOR: #cccc99" align="left"&gt;// append new element&lt;br /&gt;&amp;lt;cfoutput&amp;gt;&lt;br /&gt;&amp;lt;cfset friendlist = #Listappend(friendlist, “vasant”)#&lt;br /&gt;&amp;lt;/cfoutput&amp;gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000066;"&gt;3 Arrays in Coldfusion.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;They are like lists, store multiple values in a single variable. But it can contain more complex data including lists and other arrays. Unlike lists arrays support multiple dimensions&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;How to define or create an array in coldfusion?&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="BACKGROUND-COLOR: #cccc99" align="left"&gt;&amp;lt;cfset fruitname = ArrayNew(2)&gt; // create two- dimensional array&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;How to add to and display values of array?&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="BACKGROUND-COLOR: #cccc99" align="left"&gt;&amp;lt;cfset fuitname[1][1] = “apple”&gt; // first row, first column&lt;br /&gt;&amp;lt;cfset fuitname[1][2] = “banana”&gt; // first row, second column&lt;br /&gt;&amp;lt;cfset fuitname[2][1] = “mango”&gt; // second row, first column&lt;br /&gt;&amp;lt;cfset fuitname[2][2] = “grapes”&gt; // so on….&lt;br /&gt;&lt;br /&gt;Display:&lt;br /&gt;&amp;lt;cfoutput&amp;gt;&lt;br /&gt;The first element of fruitname is #fruitname[1][1]# and second is #fruitname[1][2]#&lt;br /&gt;&amp;lt;/cfoutput&amp;gt;&lt;br /&gt;&lt;br /&gt;Result:&lt;br /&gt;The first element of fruitname is apple and second is banana.&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;span style="font-size:100%;color:#000099;"&gt;4. Structures in Coldfusion&lt;/span&gt;&lt;/strong&gt; &lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Most powerful and flexible data type in colfusion. &lt;/li&gt;&lt;li&gt;Provides a way to store data within data. No special dimension. &lt;/li&gt;&lt;li&gt;They like folders which can store either data or other folders which in turn can store data or other folders and so on. &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;How to create a structure in coldfusion?&lt;/strong&gt;&lt;/span&gt; &lt;/p&gt;&lt;div style="BACKGROUND-COLOR: #cccc99" align="left"&gt;&amp;lt;cfset cotanct = StructNew()&gt;&lt;br /&gt;&amp;lt;cfset contact.firstname = “gaurang”&gt;&lt;br /&gt;&amp;lt;cfset contact.lastname = “patel”&gt;&lt;br /&gt;&amp;lt;cfset contact.email = “gaurang.patel@yahoo.co.in”&gt; &lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;How to access data in structure?&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="BACKGROUND-COLOR: #cccc99" align="left"&gt;&amp;lt;cfoutput&amp;gt;&lt;br /&gt;Email :&lt;br /&gt;&lt;a&gt;#contact.firstname# #contact.lastname# &lt;/a&gt;&lt;br /&gt;&amp;lt;/cfoutput&amp;gt;&lt;br /&gt;&lt;br /&gt;Result: Email : gaurang patel &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31710533-115393679859877407?l=cftutorial.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cftutorial.blogspot.com/feeds/115393679859877407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31710533&amp;postID=115393679859877407' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31710533/posts/default/115393679859877407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31710533/posts/default/115393679859877407'/><link rel='alternate' type='text/html' href='http://cftutorial.blogspot.com/2006/07/coldfusion-examples.html' title='Coldfusion Examples'/><author><name>Gaurang Patel</name><uri>http://www.blogger.com/profile/05996192719055562736</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://photos1.blogger.com/blogger/403/1965/320/me.jpg'/></author><thr:total>1</thr:total></entry></feed>
