Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

Links to popular tutorials

Written by acoder, January 20th, 2007

Last edited by RedSon : November 21st, 2007 at 06:24 PM.
7 Comments Posted ( Post your comment )
acoder / January 23rd, 2007 10:50 AM
Please specify which tutorial you are commenting on.
Last edited by RedSon : November 21st, 2007 at 06:21 PM.
Reply
cindy7 / September 13th, 2007 07:11 PM
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.

Code: ( text )
  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>

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 / September 14th, 2007 11:29 AM
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 / October 3rd, 2007 04:18 AM
Very good demonstrations (tutorials), you should put more of these types of things here
acoder / October 3rd, 2007 09:32 AM
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 / October 22nd, 2007 11:16 AM
I've added a quick tutorial on sending email using Coldfusion. I plan to add to this to deal with more advanced uses.
acoder / May 5th, 2008 10:43 AM
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 :)

Stats:
Views: 1562
Comments: 7