This tutorial will show you how to use Image.cfc. I demonstrate several examples of how you can create Image verification for forms, scale down images, watermark images, add text to images, and performing multiple operations to an image.
Have you ever wanted to accomplish server side tasks without ever leaving the current page? I'm not talking hidden frames, I'm talking about using JavaScript to process cfm templates without ever leaving the page!
Have you seen the "www.EasyCFM" page closely? On the main page, top right, there is a place for time, and top left a place for day-date.
Ever wonder how Pablo does it ?
This is not a ColdFusion tutorial. Its JavaScript.
The principle of this tutorial is similar to "Dynamic time and date for your pages" tutorial.
Except that this one generates messages, and that one updated time.
Read on, you will get the hang of it....
Add some personalization to your pages by letting the user pick their own color scheme. It's really quite simple and the benifits are awsome. This tutorial shows you how to set up your pages to use a dynamicly included scheme. It will also show you how to create all the pages neccessary to administer the color schemes.
Sometimes, you want to be able to change the color of something on your page. Be it one item, or every item on the page. Using this simple color picker, you can create admin areas that can allow you or your visitors to pick their own colors and the value is automatically inserted into a text field.
I have seen a couple random image scripts here and there.
Most require you to have a list of the images stored in a database somewhere or actually a switch statement with all the images listed there...
This code will read a directory, pull all jpg's and choose a random one everytime to be displayed.
Alot of my clients have wanted random images. THis is the easiest way I came up with to do it. This way when they want another image in the rotation... all you have to do is upload it to the image directory and its ready to go.
A silly but fun time-waster that you can easily include on your Web site. You might be surprised at how addicting it can become :)
You've finished the first Mad Libs tutorial, but you feel like there's something missing. Of course there is! You want to be able to save the final output to a database to let your visitors browse through other user's stories. Includes a bad-words filter for the more conservative among us :)
Manage text-based files on your server from any Web browser. Create a new file, edit a file, or delete a file. Can be a life saver if you're on the road, and find an error in some of your code that needs a quick fix.
A nifty little custom tag that will allow you to save a visitor's clickstream through your site, as well as display it back to them (with links).
Did I really just say 'nifty'?
Yes, I know we're a ColdFusion site...but ColdFusion does not live in a vacuum. We have to know SQL, HTML, CSS...and sometimes...JavaScript! This tutorial focuses on using JavaScript (in lieu of cfform) to create client side form validation (and explains why writing your own is better than using ).
Have you ever wanted to have your own chat room? This tutorial will help you have one, but the best thing about this tutorial is that you will not need to use any type of database!
By using an array you can create a timetable that lists your classes by the hour for a day. By adding a database you can make the timetable dynamic.
This tutorial will allow you to zip up a file or files on your server and email them to you. The whole tutorial runs to less than 20 lines of code!
This tutorial will show you how to encrypt an entire site by recursively working though the folder structure encrypting all the cfm files and copying any non-cfm files whilst keeping the directory structure intact.
Simple way to alternate the table row colors as well as changing them with mouse overs.
Boolean values are excellent ways to save on precious coding time when you are using a boatload of IF statements in an application.
Having only 2 possible states allows you to kind of cheat on creating your IF statements and minimize redundancy.
We think that we have the right search function! But we don't have. Lets see I what I am trying to say.
For example:
You are trying to find a tutorial about javascript validation. when you search "javascript validation" results comes "0". But they have tutorial about validation and they stored it as "JavaScript Form Validation". If you want to see it at search result page you must write in order as it is in database or indexes.. let's see how we can get correct search results.
All the books on CF tell you to comment your code. And yet, when you create a new CF file in Dreamweaver MX, you have to add the standard comments manually every time. Not anymore!
If you've lost the ColdFusion MX Administrator password all is not lost. It can be reset it by altering a variable in one of the system files and restarting the ColdFusion process.
This tutorial demonstrates how to create a dynamic sitemap for a database-driven website with ColdFusion
Create dynamic PDF's on the fly and automatically send them as attachments.
There are a bunch of people out there that claim to have this elusive process figured out, or to have a wonder-tag that does it all for you. Well, I tried a lot of them, and the results were always less than desirable, if you want to call them results. However, through this trial and error, I was able to take the good points of some of these failed attempts, and piece them together into a working solution.
Right off the bat, this is a solution for those of you who have the ability to install software on your own hosting server or, those of you who can convince your web host to install a little harmless application for you.
This is a Spry & Coldfusion tutorial for making phone calls via the internet. This Tutorial has a catch however, it's for use with Vonage's 'Click-to-Call' service.
In this tutorial, I'm showing you a working method for URL Rewriting using ColdFusion, and a ColdFusion CFC.
You'll be able to have your old urls like: http://yoursite.com/index.cfm?var1=1&var2=2
to be viewed and displayed as: http://yoursite.com/index.cfm/var1/1/var2/2/