the string of take which makes up the cfinvoke tag.
ERJ
----- Original Message -----
From: Barney Boisvert <[EMAIL PROTECTED]>
Date: Fri, 1 Oct 2004 11:53:10 -0700
Subject: Re: reading in a cfml file with cffile?
To: CF-Talk <[EMAIL PROTECTED]>
CFM files aren't special in any way, they're just standard text files
with a different extension. I can't say I've used it very often, but
it's a very handy trick for some situations.
Just read it in with CFFILE, manipulate the string as you see fit, and
then write it back to disk with CFFILE. Make sure you're locking
appropriately to avoid race conditions.
cheers,
barneyb
On Fri, 1 Oct 2004 14:46:13 -0400, jonese <[EMAIL PROTECTED]> wrote:
> anyone here had the opportunity to read in a .cfm file and manipulate
> it like a text file?
>
> we want to be able to read in a file (which contains a cfinvoke call
> only) and parse the cfinvoke call to accomplish a task.
>
> so we have a file called thisFile.cfm inside it is a cfinvoke call to
> a CFC on our server.
>
> we want to use the cffile tag to read this files contents into a
> variable and then treat this as a list that we can then loop over and
> manipulate so we can then write the data back.
>
> any ideas?
>
> ERJ
>
--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com
I currently have 4 GMail invites for the taking________________________________
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

