Ben Forta

Blog

January 16, 2002

Array Functions Versus List Functions

The list functions and the array functions look similar - they both allow sorting, insertion, deletion, and more. But there is a very important difference between the two sets of functions - the list functions return modified lists (the original list is not updated at all), whereas the array...

January 15, 2002

Unsupported Attributes

generates standard HTML tags, along with client-side JavaScript field validation code (if desired). supports all the standard attributes (like NAME, TYPE, and SIZE) and passes these to the generated code. But what if you need to use an attribute not supported by ? To do this use the PASSTHROUGH...

January 14, 2002

Programmatic Generation

Need to programmatically add content to the section of your page? You can do so using the tag which takes a single attribute - the text to be written to the . This can be used to embed JavaScript code, add META, or LINK tags, or more. But be careful not to use this tag after a , doing so will...

January 13, 2002

Generating HTTP Page Headers

HTTP page headers are generated automatically for all ColdFusion pages, but if you do need to set your own page headers you can do so using the tag. can be used in two ways - use the NAME and VALUE attributes to set an HTTP header, or use the STATUSCODE and STATUSTEXT attributes to set an HTTP...

January 12, 2002

Setting Uploaded File Attributes

can be used to accept uploaded files using the ACTION="UPLOAD" attribute. Uploaded files may be saved in a directory of your choosing, and when files are saved file attributes may be optionally set as well. Attributes must be specified in a comma-delimited list passed to the ATTRIBUTES attribute....

January 11, 2002

Filtered Directory Lists

is used to retrieve directory listings. To filter the list the FILTER attribute can be used allowing you to specify the extension to retrieve. However, only a single filter may be specified. To use multiple filters you'll need multiple calls combining the results, or a single complete listing...

January 10, 2002

Building Interval Values

Several CFML tags (like and ) accept time intervals passed to them. The best way to build these intervals is using the CreateTimeSpan() function which takes numbers of days, hours, minutes, and seconds, and returns an interval value. (Applies to: ColdFusion All)

January 9, 2002

Sharing data Between ColdFusion and ASP

Need to share structured data between ColdFusion and ASP (on the same server)? It is doable, with care and caution. can be used to convert data to an from a portable format (based on XML), and the parallel components are also available for ASP (as well as other languages). (Applies to: ColdFusion 4...

January 8, 2002

Naming Structure Members

Structure members must be named using the naming rules and conventions that apply to all ColdFusion variables. Right? Actually, it depends. If you are using the simple syntax, then yes, the variable must be named according to the standard rules and restrictions. But using the you have a lot more...

January 7, 2002

and Passing Parameters

can be used to both POST and GET requests, the choice is yours. If you use a METHOD of GET you'll only be able to send URL parameters. To send FORM fields and other variable types you must use a METHOD of POST. (Applies to: ColdFusion All)

Page 441 of 489 (4890 posts)