|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
Check the contents of a directory
I'd like to be able to check the contents of a directory on my web server. If an images is there, I'd like to dynamically write the code to call the image but I don't know how to tell CF to look in the directory and if the image is there write the code.
I know I can use the <cfif> tag but what statement do I use? If what, the image = 0? Can anyone help me? |
|
#2
|
|||
|
|||
|
Look at the cfdirectory tag.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Check the contents of a directory |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|