 | | This feed does not validate. (details) 29 May 21:25 Date comparisons are fairly easy in ColdFusion. One common task is to compare a date value to the current date and check if there is a match on the day, week, month, etc. For this entry we will consider comparing a date's century to the current century. This is a bit more complex. While ColdFusion has functions to retrieve parts of a date (seconds, minutes, day, month, etc) it does not have a function to return the century value. You can get this using a bit of math though. Consider the foll... 20 Dec 02:54 As per the ColdFusion documentation, the <cfobject> tag can be used to access and use .Net classes inside of your CFML code. 13 Dec 04:09 Use the <cfzip> and the <cfzipparam> tags. <cfzip> provides access to ZIP and JAR files with the following actions: delete: Deletes one or more files from the file. list: Lists the contents of the file. read: Reads the contents of the file into a variable. readBinary: Reads the contents of a binary archived file into a variable. unzip: Extracts files from the ZIP or JAr file. zip: Compress files into a ZIP or JAR file. 11 Dec 04:21 Use the imageCrop() function. 8 Dec 03:16 Use the imagePaste() function. The imagePaste() function takes two images and an X Y coordinate, and draws the second image over the first image with the upper-left corner at X Y coordinate. 7 Dec 03:37 CAPTCHA images contain distorted text that is human-readable but not machine-readable. The <cfimage> tag allows you to create CAPTCHA images. You can specify the text you want to distort, the height and width of the text area, font and font size, and the level of difficulty (affects readability). Note: As per the ColdFusion docs, in order for the CAPTCHA image to display, the width value must be greater than: fontSize times the number of characters specified in text times 1.08. <... 4 Dec 10:39 Use the <cfcontent> tag. You can set the file attribute to point to a file on any local or mapped path on the system on which the web server runs. You also need to set the type attribute (A file or MIME content type, optionally including character encoding, in which to return the page). See also: 6 Aug 21:34 ColdFusion makes it simply to use encryption to protect sensitive data. The basic process to encrypt data requires you to select a key. This key is used to both encrypt and decrypt the data. The same key must be used for both operations. Once you have selected a key, the code is simple: To decrypt the string, just reverse the process... 19 Jun 20:53 Yes. This setup requires 2 basic steps. 1) the server running ColdFusion will need a mapped network drive to the remote Access DB file. 2) ColdFusion will need to be running under a user account that has access to the Access database on the remote server. By default, ColdFusion runs under the System account which would not have rights to access the database file on the remote server. 30 May 05:26 You are building a web application for a Human Resources department. One part of this application is the display of an employee profile, including a photograph. All this information is stored in a database. How do you extract the picture of an employee for display on a web page? Listing 1 presents the script to create the employee table on a Sybase SQL Anywhere database. CREATE TABLE employee ( id NUMERIC(12,0) NOT NULL, first_name VARCHAR(50) NULL, last... | |  |