Community Member Profile
- Profile: /members/5053-Dan-Fredericks.htm
- Comments: 8
- Points: 84
Recent Blog Comments By Dan Fredericks
-
Reading In File Data Using ColdFusion 8's New File Functions
Posted on Oct 7, 2010 at 7:21 AM
Ben and Ray, Source Control, what is that? You mean when we do some updates on code and we don't want to screw up the working code? Well, we just make a new folder using explorer and copy all the files there and start to work...isn't that good enough :) Trust me, I have done a simple p... read more »
-
Reading In File Data Using ColdFusion 8's New File Functions
Posted on Oct 6, 2010 at 2:33 PM
Ok, so I am dumb. I re-read your posting and tried what you said. I read the file, i did a replace with the regex then over wrote the file with the variable. This added the comment code into the file. that really helped me do what I needed. As always you guys are big helps!! Da... read more »
-
Reading In File Data Using ColdFusion 8's New File Functions
Posted on Oct 6, 2010 at 2:25 PM
so, should I put Ben's regex inside a loop, or just by itself? I am reading the file: <cffile action="read" file="c:\coldfusion9\wwwroot\newtest\cfqueryPage.cfm" variable="readThis"> now, should I just use is code after that, or in a loop? Then... read more »
-
Reading In File Data Using ColdFusion 8's New File Functions
Posted on Oct 6, 2010 at 2:09 PM
a demo, if it's not too much trouble...i kinda understand, but I am not 100% sure. thanks... read more »
-
Reading In File Data Using ColdFusion 8's New File Functions
Posted on Oct 6, 2010 at 2:03 PM
Hmmm, since I have not used the insert function before, this should be interesting. so i just do a cffile action=read this will read line by line... when i find my line, i should be able to insert ()into the file not sure how to figure out position... the filewrite it back pa... read more »
-
Reading In File Data Using ColdFusion 8's New File Functions
Posted on Oct 6, 2010 at 1:51 PM
Ben, Ray and others: the reason I asked about this is I am trying to automate a process we are doing manually now. We have inline queries we are moving to cfc's. I figured if I could find the queries inline, I could add a beginning comment and an ending comment tag which would comment out t... read more »
-
Reading In File Data Using ColdFusion 8's New File Functions
Posted on Oct 6, 2010 at 1:13 PM
This is great for reading files, but is there a way to write a line of code within the file, not appending to the end? I need to loop over the file and at a certain line, add some text, is this possible?... read more »
-
Project HUGE: 2009 Fitness In Review
Posted on Dec 29, 2009 at 7:53 AM
Hey Ben, sorry to hear about all the injuries. I can relate to the should issue, had my 2nd Labrum surgery in 5 years...sport, oh how we love them, but oh how they can hurt. This time, I have actually paied attention to all the strength training tips from my physical therapy sessions. It has... read more »



