Connecting Tech Pros Worldwide Forums | Help | Site Map

Links to popular tutorials

acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#1   Jan 20 '07
This page will link to a number of tutorials.

Coldfusion Language
Coldfusion Variables
Using Coldfusion Variables
Coldfusion Image Gallery
How to upload a file in Coldfusion
How to send mail using Coldfusion
Coldfusion Tips and Tricks

Watch this space...

Post comments below.

Last edited by RedSon; Nov 21 '07 at 07:24 PM.



acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#2   Jan 23 '07

re: Links to popular tutorials


Please specify which tutorial you are commenting on.

Last edited by RedSon; Nov 21 '07 at 07:21 PM.
Newbie
 
Join Date: Sep 2007
Posts: 5
#3   Sep 13 '07

re: Links to popular tutorials


To be continued...what that mean?
Can some one help on second part of this?
The "UploadFile.cmf", I did try to upload the file and save in oracle database but fail, I am having hard time on this issue, can not find any where explanning on this matter.
Here is the code, please help, very appreciated.

Expand|Select|Wrap|Line Numbers
  1. <HTML>
  2.  <HEAD>
  3.   <TITLE>Load File</TITLE>
  4.  </HEAD>
  5.  <BODY>
  6.  
  7. <cfif isdefined("Form.Submit") 
  8.     and trim(form.FileName) neq "">
  9.     <cftry>
  10. <cffile action="upload"
  11.             filefield="form.FileName"
  12.             destination="C:\Upload\"
  13.             nameconflict="makeunique" 
  14.             accept="application/octet-stream, application/vnd.ms-excel, image/*">
  15. <cffile 
  16.                 action = "readbinary" 
  17.                 file = "C:\temp\#cffile.serverFile#" 
  18.                 variable = "blob">
  19.  
  20. <!--cfquery name="testing" datasource="TEST">
  21.                 insert into ADD (load_file)
  22.                 values (
  23.                     <cfqueryparam 
  24.                         value="#blob#" 
  25.                         cfsqltype="cf_sql_blob">
  26.                 )
  27.             </cfquery-->
  28.  
  29. </cftry>
  30. </cfif>
  31.  
  32. </BODY>
  33. </HTML>
  34.  
The problem is when I upload the file, it doesn't do any thing, and I also using SQL Plus to check and see any file insert, but nothing.
Thanks in advance,
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#4   Sep 14 '07

re: Links to popular tutorials


Quote:

Originally Posted by cindy7

To be continued...what that mean?

I'll remove that. It just means that the tutorial is not quite complete, but I haven't made changes to it for months.
Quote:

Originally Posted by cindy7

Can some one help on second part of this?

I've copied your query to another thread. I want to keep this comments thread on topic (just on the tutorial itself rather than a particular problem).
FullyH3ktik's Avatar
Member
 
Join Date: Sep 2007
Location: NSW, Australia
Posts: 52
#5   Oct 3 '07

re: Links to popular tutorials


Very good demonstrations (tutorials), you should put more of these types of things here
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#6   Oct 3 '07

re: Links to popular tutorials


Quote:

Originally Posted by FullyH3ktik

Very good demonstrations (tutorials), you should put more of these types of things here

Glad you liked them (I only wrote the last one).

If I get time, I may put some more up soon.

Do you know any Coldfusion? If you do, perhaps you could share some tips.
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#7   Oct 22 '07

re: Links to popular tutorials


I've added a quick tutorial on sending email using Coldfusion. I plan to add to this to deal with more advanced uses.
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#8   May 5 '08

re: Links to popular tutorials


Added "Coldfusion Tips and Tricks" - a collection of short tips when programming with Coldfusion by CF FAN. These may be added to in the future, so subscribe and keep reading :)
Reply