My Account   Contact Us    
  
» HomeProductsSupportDeveloper CommunityCompany
ColdFusion Code Samples
Hello World by Pete Freitag
Hello World In ColdFusion
Display a Form Variable by Pete Freitag
Shows how to display a form variable.
Java CFX Tag by Pete Freitag
A simple java cfx tag.
Execution Timer by Pete Freitag
A snippet that can be used to time the execution of a code block.
Default Query Values by Pete Freitag
Set a default value for a column in a query
Remove xml namespace tag from Word content by Greg Alton
This code sample removes the xml namespace tag from Word content coming from the database before placing it into ActivEdit. The namespace tag causes formatting errors in Netscape.
Extract First Name and Last Name from a string by Pete Freitag
Use GetToken to turn a string into two varibles firstname and lastname
Validate Email Address using Regular Expressions by Pete Freitag
Validate the syntax of an email address using regular expressions.
Remove Repeated words by Pete Freitag
Remove repeated words using regular expressions
Invoking SOAP Web Services with ColdFusion MX CFINVOKE Tag by Pete Freitag
Example that shows how webservices can be consumed with ColdFusion MX this example gets the temperature of a given zip code. Insert the WDSL URL in the web service attribute, specify the method and returnVariable and any input parameters (zipcode).
CFFUNCTION User Defined Function Example UDF's by Pete Freitag
An example of a UDF using the CFFUNCTION tag in ColdFusion MX.
Include a JSP file from ColdFusion MX page by Pete Freitag
Using the GetPageContext we have access to the HTTPServletContext in ColdFusion MX
Forward to a JSP file or Servlet from ColdFusion MX page by Pete Freitag
Using the GetPageContext we have access to the HTTPServletContext in ColdFusion MX
Sending Email With ColdFusion CFMAIL Replacement by Pete Freitag
Sends an Email using a query with ActivMail a replacement for CFMAIL
Loop over URL or FORM variables by Pete Freitag
Iterate over for m or url request variables
ColdFusion MX Java Typeof UDF by Pete Freitag
Return the name of the Java class that a variable is. Reveals the internal class names of ColdFusion data types.
hello by nikol
hi all. cool page. <a href=http://medic00.bravehost.com/phentermine-adipex>phentermine adipex</a> [URL=http://medic00.bravehost.com/phentermine-adipex]phentermine adipex[/URL]
Selecting Random Rows From a Database by Pete Freitag
Display random data with coldfusion, by caching the data in the application scope.
hello by max
hi all. good page. :) <a href=http://medic00.bravehost.com/adipex-free-shipping>adipex free shipping</a> [URL=http://medic00.bravehost.com/adipex-free-shipping]adipex free shipping[/URL]
Bat file to Restart ColdFusion 5 by Pete Freitag
Restart ColdFusion 5 Application server with this batch file (windows).
Bat file to Restart IIS Web, FTP, SMTP Services by Pete Freitag
Restart the IIS Services with this batch file
Bat file to restart ColdFusion MX by Pete Freitag
Restart CFMX with this batch file on windows
POST variables by Greg Alton
Get easy access to form post variables when register_globals = off.
Flush ODBC Database Connections in ColdFusion by Pete Freitag
Use the hidden CFUSION_ function to disconnect db connections.
Size of a Directory ColdFusion CFDIRECTORY by Pete Freitag
Display the size of a directory in bytes KB (kilobytes) and MB (megabytes)
Displaying a flash message while you process data by unknown
Use Cflush to let the user know to wait while the page processes the data
Delete duplicates from a list by Jason Dowdell
This tag deletes any duplicate values from a list.
CFScript - Query Loop by Jason Dowdell
Loop through a query within a cfscript block
Encrypting passwords with ColdFusion by Pete Freitag
Encrypting passwords in a database with ColdFusion
Upload File To Directory by Kevin Lee
This code shows how to upload a file from a .cfm to any directory on your server.
Floating table by ALEKSANDAR
See the way how you can put your table where ever you want on page ;)
Expanding Nested Category Names by Pete Freitag
Use this recursive technique to get the full name of a category with one db call.
Parsing RSS with CFMX by Pete Freitag
Usign ColdFusion MX to parse a RSS feed.
hello by natali
hello all. welkom to games. <a href=http://uzuk2kgb.tripod.com/strip-poker>strip poker</a> [URL=http://uzuk2kgb.tripod.com/strip-poker]strip poker[/URL]
Date Time Parser by pc
Parses the date and time into the required format
PDF Encryption CFC with CFMX & FOP by Anticlue
Shows how to encrypt pdf documents on the fly with coldfusion, expanding upon nate weiss’s fop.cfc
Parsing RSS 1.0 with CFMX by Pete Freitag
Code sample to parse RSS 1.0 with coldfusion.
hello by pol
hi all users. nice page. view my page. pol <a href=http://dmn00.bravehost.com/car-insurance-online-quote>car insurance online quote</a> [URL=http://dmn00.bravehost.com/car-insurance-online-quote]car insurance online quote[/URL] <a href=http://doctorduty.bravehost.com/online-auto-insurance-quote>online auto insurance quote</a> [URL=http://doctorduty.bravehost.com/online-auto-insurance-quote]online auto insurance quote[/URL]
GOOGLE����֪����ô���� by GOOGLE�������
<a href=http://www.gugerank.cn/Lefts.asp>GOOGLE�������</a>һֱ�ܲ���,������<a href=http://www.gugerank.cn/Seo.asp>GOOGLE�Ż�</a>ͻȻ����4��,˭֪��<a href=http://www.gugerank.cn/Rank.asp>GOOGLE����</a>��θ�
DUMP all FORM variables by Stefan le Roux
while debugging a form, instead of <cfoutput>'ing everything try:
˭����google������� by google�������
���ں�����google���������Ҳ��ѧ<a href=http://blog.666job.com/index.php/3565/action_viewspace_itemid_654.html>google�������</a>�����ǻ���
hello by oleg
Cool website! Keep up the great work, Congratulations! <a href=http://dmn00.bravehost.com/cash-money-cd>cash money cd</a> [URL=http://dmn00.bravehost.com/cash-money-cd]cash money cd[/URL]
dog behavior by dog behavior
<a href="http://lizsmarka.com/dog-behavior.php">dog behavior</a> <br /> <a href="http://lizsmarka.com/cat-flea.php">cat flea</a> <br /> <a href="http://lizsmarka.com/dog-flea.php">dog flea</a> <br /> <a href="http://lizsmarka.com/cat-eye.php">cat eye</a> <br /> <a href="http://lizsmarka.com/cat-grooming.php">cat grooming</a> <br />
���빫˾ by ����
<a href=http://www.bjyhtf.com>���빫˾</a>�ļҺã����ǹ�˾ԭ4��<a href=http://www.21fanyi.com>���빫˾</a>ˮ׼����̫�á��뻻�ҷ��빫˾�����кõķ��빫˾����һ�¸�������
hello by kolins
Wow! Nice site! Enjoyed the visit! <a href=http://bestsearch00.bravehost.com/gmc-car-loan>gmc car loan</a>
heel toe by heel toe
<a href="http://heel-toe.zarabra.com">heel toe</a> <br /> <a href="http://bostonian-shoes.zarabra.com">bostonian shoes</a> <br /> <a href="http://western-boot.zarabra.com">western boot</a> <br /> <a href="http://dockers-pants.zarabra.com">dockers pants</a> <br /> <a href="http://crocs-shoes.zarabra.com">crocs shoes</a> <br />
hello by dennis
Cool website! Good work. Good stuff. It very impressive. I will be back! <a href=http://bestsearch00.bravehost.com/mega-life-and-health-insurance>mega life and health insurance</a> [URL=http://bestsearch00.bravehost.com/mega-life-and-health-insurance]mega life and health insurance[/URL]
Using Dynamic Object Names by Universal Web Services
There may come a time when you need to have a varying number of HTML objects on your page. An often cited example is when you have a form, say with multiple check boxes.
hello by mik
Nice site man! Very nicely done. Keep up the great work. Well done. <a href=http://bestsearch00.bravehost.com/buy-online-pheromone> buy pheromone</a> [URL=http://bestsearch00.bravehost.com/buy-online-pheromone] buy pheromone[/URL]
hello by nikol
Nice site man! Very nicely done. Keep up the great work. Well done. <a href=http://dmn00.bravehost.com/alicia-key> alicia key</a> [URL=http://dmn00.bravehost.com/alicia-key] alicia key[/URL]
hello by olga
Cool website! Good work. Good stuff. It very impressive. I will be back! <a href=http://searcher00.orgfree.com/bratz-remote-control-car >bratz remote control car</a>
hello by july
Easy to find helpful information. Your web site is helpful. This will be my first time visiting. I will be back! <a href=http://searcher00.orgfree.com/lead-mlm >lead mlm</a>
�� by ��³
<a href=http://www.srz-access.com/asp/product_list.asp?pclass=001>���</a>��Һѹ���<a href=http://www.111xx.com>����������</a>���ƶ�ʽ���<a href=http://www.qftour.com/>�����⳵</a>������������е���޹�˾<a href=http://www.ruxian999.com/>����</a>��Ҫ������ <a href=http://www.hhpumps.com/products.asp?xl=lxb>���ı�</a>
hello by mik
Hello. cool page. good louck. <a href=http://dmn00.bravehost.com/student-loan-consolidation-program>student loan consolidation program</a> [URL=http://dmn00.bravehost.com/student-loan-consolidation-program]student loan consolidation program[/URL]
Include a JSP file from ColdFusion MX page by AJ
Using the GetPageContext we have access to the HTTPServletContext in ColdFusion MX<a href=http://delhi-hosting.com>.</a>
hello/><a href=http://delhi-hosting.com>.</a> by MIK
HEllo


Add Code Listing | More Code Samples

Content Management Powered by ActivEdit  ActivEdit Browser Based WYSIWYG HTML Editor

Sign up for our newsletter: | Subscribe with RSS: RSS
© ActivSoftware 1999 to 2005 | Privacy Statement