Wednesday, June 27, 2012
CFDirectory with Multiple Filters
Without Filter<cfset filters="">
<cfdirectory action="list" directory="#ExpandPath('.')#/cfgrid" filter="#filters#" listinfo="name" name="dir">
<cfdump var="#dir#">
With Multiple Filter
<cfset filters="*.cfm|*.cfc">
<cfdirectory action="list" directory="#ExpandPath('.')#/cfgrid" filter="#filters#" listinfo="name" name="dir">
<cfdump var="#dir#">
Source :
danvega.org
bennadel.com
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment