February 20, 2002
IsArray() is usually used to test if a variable is an array, but that is not all it can do. IsArray() can take a number as its second optional parameter – the number of elements to check for. Using this parameter, IsArray() will check that the variable is an array that contains the specified...
February 19, 2002
takes an expression to be evaluated, along with one or more tags with values to be matched. expressions may be dynamic (optionally including variables, functions, and other expressions). values, however, must be actual values and not variable expressions. (Applies to: ColdFusion All)
February 18, 2002
Need to programmatically move files between the ColdFusion server and other servers? You have three ways to do this - 1) use , assuming you have network access to the remote server, 2) use if the remote server is running an FTP server, or 3) use (using to upload the file). (Applies to: ColdFusion...
February 17, 2002
Dates returned by (in the query.date column) cannot be used with ColdFusion date functions as is, they need to be converted into valid date time objects. To do this, use the ParseDateTime() function, and set the second (optional) parameter to "POP". (Applies to: ColdFusion 3 or later)
February 16, 2002
provides two e-mail retrieval options - ACTION="getall" retrieves all messages (and possibly attachments), ACTION="getheaderonly" retrieves just mail headers (to, from, subject, etc., but no body or attachments). The latter of the two executes quicker, so if all you need is message headers (perhaps...
February 15, 2002
ColdFusion debug output is appended to generated pages. Need to suppress debug output temporarily? You can do this without make any CF Administrator changes - simply use the tag to set SHOWDEBUGOUTPUT="no". (Applies to: ColdFusion 4 or later)
February 14, 2002
The GROUP attribute allows you to group records together within an output loop. By default, group processing is case-sensitive - meaning that values in the GROUP column that differ by case are treated as being in different groups. Obviously this has no impact on numeric values, but this does affect...
February 13, 2002
To execute CFML code and not generate any output, enclose that code within tags. Unlike commenting out code, the code will still be executed. However, no output will be sent to the client, and extraneous white space will also be suppressed. (Applies to: ColdFusion 5 or later)
February 12, 2002
ColdFusion executes scheduled events at intervals specified using or the ColdFusion Administrator. To check that scheduled events actually executed as intended, check the schedule.log file (in the cfusionlog directory). (Applies to: ColdFusion 4 or later)
February 11, 2002
By default, attempts to insert all available FORM fields into a specified table, matching each field name to a similarly named column. To exclude one or more form fields from the INSERT operation, use the FORMFIELDS attribute to specify a comma delimited list of field names that should not be...