home *** CD-ROM | disk | FTP | other *** search
/ PC User 2001 August / APC_Aug2001_CD2.iso / features / coldfusn / files / coldfusion-50-win-us.exe / data1.cab / Examples / CFDOCS / snippets / gettempfile.cfm < prev    next >
Encoding:
Text File  |  2001-05-24  |  726 b   |  27 lines

  1. <!--- This example uses GetTempDirectory to find
  2. the temporary directory, and GetTempFile to place
  3. a dummy file in that directory --->
  4. <HTML>
  5. <HEAD>
  6. <TITLE>
  7. GetTempFile Example
  8. </TITLE>
  9. </HEAD>
  10.  
  11. <BASEFONT FACE="Arial, Helvetica" SIZE=2>
  12. <BODY  bgcolor="#FFFFD5">
  13.  
  14. <H3>GetTempFile Example</H3>
  15.  
  16. <p>This is a read-only example. Because file access is a sensitive area,
  17. consider the security of your directory hierarchy prior to allowing
  18. access to it.</p>
  19. <!--- 
  20. <P>The temporary directory for this
  21. Cold Fusion server is <CFOUTPUT>#GetTempDirectory()#</CFOUTPUT>.
  22. <P>We have created a temporary file called:
  23. <CFOUTPUT>#GetTempFile(GetTempDirectory(),"testFile")#</CFOUTPUT> --->
  24.  
  25. </BODY>
  26. </HTML>       
  27.