Hi there,
I am trying to use the evaluate function to output dynamically created
variables. Ex. I have a list say list=a,b,c,d I want to create variables
from it.
loop through list a,b,c,d
I want to create variable named a_ListVals and b_ListVals and c_ListVals
etc.
Can someone give me some
Leon,
cfloop list=a,b,c,d index=i
!--- create the variable ---
cfset #i#_ListVals=#i#
!--- output the variable ---
cfoutput#evaluate(#i#_ListVals)#/cfoutput
/cfloop
Joseph DeVore
VeloxWeb Technologies
-Original Message-
From: Leon Greeff [mailto:[EMAIL PROTECTED]]
Sent:
Hello all,
Just a general question really. We have been asked by a client to quote for
building a multilingual website, with versions in a number of European
languages, plus Hindi, and possibly Japanese.
I have never done any multilingual work, so can anyone out there give me
some pointers on
Mike - you can setup the text driver to auto-cast the datatypes
go to your dsn's properties ODBC Text Setup Options Define Format
From there you can setup the datatype of each of the csv's columns.
-Original Message-
From: Mike Kear [mailto:[EMAIL PROTECTED]]
Sent: 04 December
Hi Joseph,
Thanx worked like charm DUDE!
Cheers
//L
-Original Message-
From: Joseph DeVore [mailto:[EMAIL PROTECTED]]
Sent: 04 December 2001 11:59
To: CF-Talk
Subject: RE: Evaluate function
Leon,
cfloop list=a,b,c,d index=i
!--- create the variable ---
cfset #i#_ListVals=#i#
Just a general question really. We have been asked by a client to quote
for
building a multilingual website, with versions in a number of European
languages, plus Hindi, and possibly Japanese.
if they don't want to roll out a bunch of servers, then unicode. cf5 can
work with unicode within
oops almost forgot, cfstudio5 does unicode, so you'll need that as well.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.303 / Virus Database: 164 - Release Date: 11/24/2001
~~
Get
Thanks Rich,
I've manipulated the file schema.ini, which defines all the tables and
fields and the text files that make up the datasource. But when I define
the Interestrate field as float, I get no result into that column,
because the actual content of the column is 14.0005% not 14.0005 The
Thanks Paul, that is all very useful. The DB will be sqlserver 2k so no
probs there. I guess the main thing is the font, and installing it on the
users system if they dont have it?
cheers
will
-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED]]
Sent: 04 December 2001
Thanks Paul, that is all very useful. The DB will be sqlserver 2k so no
probs there. I guess the main thing is the font, and installing it on the
users system if they dont have it?
if your user base is ie then i think its smart enough to know when
to d/l install missing fonts but so should
This is test account
~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives:
I'm with you Paul. Content will be provided to us, which makes that side of
it a lot easier, so I think we should be abl;e to do thi9s.
Thanks a lot for your help.
will
-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED]]
Sent: 04 December 2001 12:06
To: CF-Talk
Subject:
Hi,
No matter what I try this will not work for me.
Can anybody point out what is wrong with this code.
cfset targ=#DateFormat(01/12/2001,dd/mm/)#
cfoutput#targ#/cfoutput
cfset compare=DateDiff(d,#targ#,#DateFormat(Now(),dd/mm/)#)
It gives me weird output dates - of -233.
Thanks,
Declan
CF is most probably using a US dateformat (depends on the settings of
your server).
TRY:
cfset targ=#CreateDate(2001,12,01)#
cfoutput#Dateformat(targ,dd/mm/)#/cfoutput
cfset compare=DateDiff(d,targ,Now())
Pascal Peters
Macromedia Certified Instructor
Certified ColdFusion (5.0) Advanced
Pascal,
Thanks very much for your help.Was going around in circles with that
one.
Regards,
Declan
-Original Message-
From: Pascal Peters [mailto:[EMAIL PROTECTED]]
Sent: 04 December 2001 12:30
To: CF-Talk
Subject: RE: I hate DateDiff!
CF is most probably using a US dateformat (depends
Yes there!
This may sound overly naive but, on the index page of one of our web
applications,
I have done a check for the #cgi.http_referer# environment variable.
Then I have done a search through MNS (per say), where it links directly to
the (URL AND) template, the variable is defined but it
Hello,
I'm creating Excel documents for download. I've created the cfheader and
cfcontent type (see below) however, when you try to download in Netscape,
the name of the script script.cfm is saved vs. the name of the file.xls
that I create. What's the work around for this so that the file is
I agree with James, I have tried almost everything mentioned here and in the
archives at some point and none of them have worked for me. Everyone here
knows of the problem and uses netscape whenever they need to upload a file.
JLB
-Original Message-
From: James Sleeman [mailto:[EMAIL
cfheader
name=Content-Disposition
value=attachment; filename=MyFile.xls
Is what I use and it works great...The value of your cfheader is missing
Attachment.
-Original Message-
From: Dave Hannum [mailto:[EMAIL PROTECTED]]
Sent: December 4, 2001 9:39 AM
To: CF-Talk
Call script.cfm like this.. (make #tempFileName# the full filename including
the extension)
script.cfm/#tempFileName#?file=#tempFileName#
script.cfm
--
CFCONTENT TYPE=application/vnd.ms-excel DELETEFILE=YES
FILE=D:\PATH\TO\FILE\XLS\#url.file#
should work.
-Original
That was the issue, I added logic to test for the existance of a path in a
field, if it's a path it doesn't get trimmed - now it works!
Joshua Miller
Web Development::Programming
Eagle Technologies Group, Inc.
www.eagletgi.com
[EMAIL PROTECTED]
-Original Message-
From: BEN MORRIS
just added in a hindi example:
http://www.tei.or.th/misc/unicode.cfm
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.303 / Virus Database: 164 - Release Date: 11/24/2001
~~
Never mind
I had to sleep for about 4 hours to see that I spelled session.initialized
incorrectly.
Sorry to bother everyone.
At 03:00 AM 12/4/2001 -0500, you wrote:
I just found this out.
If I delete the cookie file on my computer, the cookie.userID still shows
on my browser.
If I close my
I added the attachment attribute, but it still saves as scriptname.cfm
It does work for IE, but NN is the problem.
CFHEADER NAME=Content-Disposition
VALUE=Attachment;FILENAME=#tempFileName#.xls
CFCONTENT TYPE=application/vnd.ms-excel
DELETEFILE=YES
bet if you right click the link and save it, it will work! ;-)
~~
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ:
Paul, were you able to display double byte chars in cftree?
Thanks
Marius Milosav
www.scorpiosoft.com
It's not about technology, it's about people.
Virtual Company (VICO) Application Demo
www.scorpiosoft.com/vicodemo/login.cfm
- Original Message -
From: Paul Hastings [EMAIL PROTECTED]
I'm creating Excel documents for download. I've created the
cfheader and cfcontent type (see below) however, when you try
to download in Netscape, the name of the script script.cfm
is saved vs. the name of the file.xls that I create. What's
the work around for this so that the file is
We frequently run up against the limit. In fact I have a 400,000 email job
coming thru this week. I would love to see the spool system improved to
allow multiple spool folders and faster delivery to the mail server. My
mail server is idle most of the time, even when sending huge jobs thru CF.
I did some lower impact load testing with CDONTS. It didn't seem to have
a problem at all. I was sending 1000 letter bursts and it didn't overcome
the processor or leak memory. I was using cfloop around a CDONTS custom
tag.
-Original Message-
From: list peters [mailto:[EMAIL
Hi everyone.
I posted a question about two weeks ago about an issue I was having with an
application in which I was attempting to charge members of a site by the
minute when they were logged in to a specific section. I can get a timestamp
when they log in no problem, and I can get one if the
This seems to be a recurring bottleneck in CF performance. I'm wondering
any Macromedia peeps on the horn have anything to say regarding this? Will
Neo provide a faster, stronger spooler?
EC
-Original Message-
From: tom muck [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December
Yes, I did some playing around with it yesterday. Even if you specify a
Delimiter=| in the connection string box of the CF Administrator, it doesn't
add the parameter to the registry. It seems that it can only be done with
the ODBC Administrator on the machine.
tom
[EMAIL PROTECTED] wrote in
There has been some code floating around for expiring the session when
the browser closes. If you think it would help you, I can search for it.
-Original Message-
From: Tangorre, Michael T. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 9:38 AM
To: CF-Talk
I guess it would depend on how specific of a time interval you need. I
have seen some sites that open up a js pop-up window after, say, 10
minutes of inactivity on a single page. This window could say Do you
want to stay logged in? and would only pop up if they do nothing for 10
minutes.
Ben,
I could give this idea a try...
Do you have code for this?
-Original Message-
From: BEN MORRIS [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 9:59 AM
To: CF-Talk
Subject: Re: Capturing login and logout times
I guess it would depend on how specific of a time
We've written our own 'spooling system' using SQL Server and an
event script
to fire off Jmail every five minutes. We've found this works a lot better
than CF for bulk mail as you can use Microsoft's SMTP server and
the pickup
directory.
You can also use CFFILE to write directly to the
We are finishing up a Cold Fusion site for a client and the client swears it
doesn't work on someone's MAC...
anyone out there have a moment and a MAC to give a look???
-paris
~~
Your ad could be here. Monies from ads go to support these lists
Would you mind sharing the file?
Robert Everland III
Dixon Ticonderoga
Web Developer Extraordinaire
-Original Message-
From: Cameron Childress [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 10:09 AM
To: CF-Talk
Subject: RE: FAIL Spooling
We've written our own 'spooling
Are you using one of the java applets like CFTREE?
I'm on a Mac - what's the URL?
--
From: Paris Lundis
Reply To: [EMAIL PROTECTED]
Sent: Tuesday, December 4, 2001 10:24 AM
To: CF-Talk
Subject: anyone with a mac out there?
We are finishing up a Cold
How's the speed of CFFILE when used in big mailings? Have you tried it with
50,000 + emails?
I tried out a custom tag that used CFFILE to send mails, and it was
painfully slow. Using CFMAIL I can execute huge numbers of queries and send
mails to my mail server quickly. The only bottleneck is
Put in you Application.cfm file
!---Kill Session on Browser Close---
cfif IsDefined(Cookie.CFID) AND IsDefined(Cookie.CFTOKEN)
cfset cfid_local = Cookie.CFID
cfset cftoken_local = Cookie.CFTOKEN
cfcookie name=CFID value=#cfid_local#
cfcookie name=CFTOKEN value=#cftoken_local#
/cfif
On
There are a few tags in the DevExchange (TimeoutWarning)
(http://devex.allaire.com/developer/gallery/info.cfm?ID=DE7F61B9-4A73-11D5-8
3F000508B94F85Amethod=Full) is one of them. You set a timeout period and
how many minutes before that timeout you would like to display a message to
the user that
What's the url. You might have a problem with the version of IE. I remember
we had problems with our site viewed from MAC IE 4.
john
-Messaggio originale-
Da: Paris Lundis [mailto:[EMAIL PROTECTED]]
Inviato: martedl 4 dicembre 2001 16.24
A: CF-Talk
Oggetto: anyone with a mac out there?
Is it possible to map a drive on the server via cfexecute and if so can someone please
send the code to do so.
Joshua Tipton
~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ:
I am attempting to use cfhttp to automate my login to another site.
The login action page is checklogin.asp. If I cfhttp to that page using
port 443 and method of post
with appropriate form fields as cfhttpparam I get a connection error
cfhttp
I wonder if you could help me with a regular expression.
I try to find all cfmodule tags with the following syntax:
cfmodule ...textline.cfm.[missing attribute - MAXHSIZE].
In plain english: I try to find all cfmodule tags. After cfmodule are
some characters, then textline.cfm
I guess I should stay out of this one :D
Duane
-Original Message-
From: C Runyan [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 03, 2001 5:18 PM
To: CF-Talk
Subject: AbleCommerce
I'm working at a company that is planning to buy AbleCommerce to do
e-commerce. Just wondering if
I haven't tried it, but I would think you would be able to send the server
dos commands via cfexecute (if your using windows) and map the drive that way.
Try net use /? in the command prompt.
Quoting Joshua Tipton [EMAIL PROTECTED]:
Is it possible to map a drive on the server via cfexecute
no join in...
-p
-Original Message-
From: Duane Boudreau [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 10:59
To: CF-Talk
Subject: RE: AbleCommerce
I guess I should stay out of this one :D
Duane
-Original Message-
From: C Runyan [mailto:[EMAIL PROTECTED]]
Sent:
I think I've already incurred the wrath of Ablecommerce's CEO, Mike
Randolph, enough for one year.
Duane
-Original Message-
From: Paris Lundis [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 11:01 AM
To: CF-Talk
Subject: RE: AbleCommerce
no join in...
-p
-Original
Is there a function in JSP with similar functionality to CFHTTP?
Thanks :)
~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives:
www.apache.org
jakarta taglibs
io-tags
On Tue, 4 Dec 2001, Carlisle, Eric wrote:
Is there a function in JSP with similar functionality to CFHTTP?
Thanks :)
~~
Structure your ColdFusion code with Fusebox. Get the official book at
I have a page that will hold the configuration of a computer systems
components in hidden fields. The components that are chosen is based on
a column (isDefault) EQ yes. Lets say that the computer does not have
a default sound card (isDefault) EQ no how can I generate a hidden
field with the
sure...whats the url...?
-Original Message-
From: Paris Lundis [mailto:[EMAIL PROTECTED]]
Sent: 04 December 2001 15:24
To: CF-Talk
Subject: anyone with a mac out there?
We are finishing up a Cold Fusion site for a client and the client swears it
doesn't work on someone's MAC...
Okay, figured it out.
Both cffile and cfinclude will work.
With cffile you need to output the cffile variable, as opposed to
letting cffile display it directly.
With cfinclude the pathing is screwy. I used a bunch of
up-directories (../) to get all the way to the root of the server
drive, and
On the later template, you can use CFParam to provide default values for all
form fields:
cfparam name=form.soundCard default=
- Original Message -
From: Douglas Brown [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, December 04, 2001 11:01 AM
Subject: Dynamic creation of
In plain english: I try to find all cfmodule tags. After cfmodule are
some characters, then textline.cfm then again some characters.
The expression MAXHSIZE should not be found in the part between
textline.cfm to
Again: I try to find wrong cfmodule calls with a deprecated attribute
for cross-browser testing, take a look at this site:
http://www.netmechanic.com/browser-index.htm
- Original Message -
From: Paris Lundis [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, December 04, 2001 9:24 AM
Subject: anyone with a mac out there?
We are finishing up
For CFInclude, you can use mapped paths (in CF Administrator) to clean your
pathing up.
- Original Message -
From: Jamie Jackson [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, December 04, 2001 11:04 AM
Subject: Re: Limitations in Missing Template Handler Template?
use an IF
cfif sound card (isDefault) EQ no
input type = hidden name=blah value=
/cfif
Or show us the code you are using.
On Tue, 4 Dec 2001, Douglas Brown wrote:
I have a page that will hold the configuration of a computer systems
components in hidden fields. The components that are chosen
I am sure someone has sent you this link. (my all time favourite).
I would say, set this up in a hidden frame, set the JavaScript clock to tick
off on the minute and... presto! It really does work.
http://www.depressedpress.com/DepressedPress/Content/ColdFusion/Essays/GIFAs
Pipe/
Hi
Thanks for your help,
i think my explanation was really bad.
I would use the same code as you, but my problem is that i want to find
all cfmodule tags with no attribute MAXHSIZE.
The attribute is not deprecated but required.
Sorry for the inconveniance.
Harry
-Original Message-
Just wondering if anyone has bright idea for this little problem that I
have.
I'm receiving data from another site sent via form data to my coldfusion
routine that teh takes the data (e.g. #form.customer#,
#form.backupdate#, etc.)
Problem is I don't always know what form data will be sent,
Thanks to all for the comments about AbleCommerce. Based on what we're
hearing and looking at the CFDJ readers survey CF Webstore looks like a
reasonable alternative. If anyone has used CF Webstore and modified the
code let me know what you think. Another consideration is whether it can
I know it looks nasty, but this is what I came up with:
CFMODULE[[:space:]]+[^]+textline\.cfm[^[:space:]]*([[:space:]]+[^M][^A=]?
[^X=]?[^H=]?[^S=]?[^I=]?[^Z=]?[^E=]?[_[:alnum:]]*=([^]*|[^[:space:]]*))+
[[:space:]]*
I used the following test cases:
CFMODULE TEMPLATE=textline.cfm SOMETHING=foo
The following reads all of the passed field names and evaluates the value of
those fields.
CFLOOP INDEX=Fields LIST=Form.FieldNames
CFSET val = Evaluate(Fields)
CFOUTPUT
Form Name = #Fields#
Value = #val#
/CFOUTPUT
/CFLOOP
Dave
- Original
Thanks man, I must be half asleep to not have thought of that.
Doug
- Original Message -
From: BILLY CRAVENS [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, December 04, 2001 9:02 AM
Subject: Re: Dynamic creation of hidden fields
On the later template, you can use
Paul, were you able to display double byte chars in cftree?
double byte?? no idea. unicode? nope. many workarounds though.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.303 / Virus Database: 164 - Release Date: 11/24/2001
Tries to jump in before Ray ;)
You should access the FORM using structure syntax rather than Evalute as
this is more efficient
Ie
CFLOOP ITEM=Fields COLLECTION=#FORM#
CFOUTPUT
Form Name = #Fields#
Value = #FORM[Fields]#
/CFOUTPUT
/CFLOOP
HTH
i have put up 4 e-commerce sites with cfwebstore, and have one in process:
one uses it only for the backend, have made alot of addons/mods to certain
areas, v3.12
one is v3.02, 2 are v4, one will be v4.5
other than needing a visio chart for program flow, i've found it reasonable
to modify - and
How are you ?
When I saw this screen saver, I immediately thought about you
I am in a harry, I promise you will love it!
~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Not sure what you are needing to do with this data, but you could put it
into a WDDX packet to store in the database like this:
cfwddx input=#form# output=wddx_formfields type=cfml2wddx
then just put it into a blob field in your database with a field like
customer to key off of.
Just some
How are you ?
When I saw this screen saver, I immediately thought about you
I am in a harry, I promise you will love it!
Hi, Lon! When I saw this message, I immediately thought about virus
I am not want infection, I promise you!
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
How are you ?
When I saw this screen saver, I immediately thought about you
I am in a harry, I promise you will love it!
Hi, Lon!
How are you ?
When I saw your post, I immediately thought about your lack of
virus protection.
~~
Structure your
Pardon me for being naive but isnt it a lot easier to just combine regex and
regular find trying to match a substring like this?
hasmax=unknown:
st=refindnocase([ ]*cfmodule[^]*,whatever,1,yes);
//grab the tag
if (st.pos[1] GT 0){
sub=mid(whatever,st.pos[1],st.len[1]);
if
I was wondering if I need to lock this, I have locking enabled in my
application.cfm for sessions?
CFSCRIPT
if (not(isDefined(session.cart))){
session.cart = structNew();
}
// The item structure we will define is as follows
// 1. sysModelNum
// 2.
positutely absotively
- Original Message -
From: Douglas Brown [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, December 04, 2001 11:37 AM
Subject: Do I need to lock this?
I was wondering if I need to lock this, I have locking enabled in my
application.cfm for sessions?
I was wondering if I need to lock this, I have locking enabled in my
application.cfm for sessions?
CFSCRIPT
if (not(isDefined(session.cart))){
session.cart = structNew();
I'm not sure what you mean by hav[ing] locking enabled in ...
application.cfm for sessions, but the short
Don Vawter wrote:
Pardon me for being naive but isnt it a lot easier to just
combine regex and regular find trying to match a substring
like this?
[...]
If find regex invaluable but sometimes combining with a plain
old find makes my life simpler.
Very, very true. There's more than one
A good piece of software would not rely on cftransaction at all It's a
handy shortcut that's all.
jon
- Original Message -
From: C Runyan [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, December 04, 2001 12:49 PM
Subject: CF Webstore
Thanks to all for the comments
how do you justify that argument, out of curiosity?
christopher olive, cto, vp of web development
cresco technologies, inc
410.825.0383
http://www.crescotech.com
-Original Message-
From: Jon Hall [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 1:42 PM
To: CF-Talk
Subject:
great software and easy to modify - we've made major changes with no prblems
at all
- Original Message -
From: Jon Hall [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, December 04, 2001 10:41 AM
Subject: Re: CF Webstore
A good piece of software would not rely on
Dave,
Forgive my stupidity, but once I lock the session.cart, I shouldnt have to
lock every reference to it. correct?
Doug
- Original Message -
From: Dave Watts [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, December 04, 2001 10:36 AM
Subject: RE: Do I need to lock
You are never actually locking the cart, you are locking a block of code or
a scope. Every reference to SESSION variables should be locked. Within a
CFLOCK block you can access the SESSION variables as often as needed.
--- Ben
-Original Message-
From: Douglas Brown [mailto:[EMAIL
Forgive my stupidity, but once I lock the session.cart, I
shouldnt have to lock every reference to it. correct?
No need to claim stupidity - there's a lot of misunderstanding about locking
to go around.
The answer, though, is it depends. If you've got several references like
this:
cfset
I guess you're right that there are other ways to accomplish the same goal.
A different method for scalability might be better for us especially if it
works well with MySQL which apparently does not support CFTRANSACTION.
We've been using MySQL and find it easy to work with, but weren't sure
The CFTRANSACTION tag is used to bundle multiple queries into a single
transaction so that the queries can be committed or rolled back as a group.
This is a fundamental aspect of SQL itself: it is not a short cut.
Benjamin S. Rogers
http://www.c4.net/
v.508.240.0051
f.508.240.0057
-Original
MySQL will work... and work well... ideally, you will have some
workaround/redefining to do since some things most of us take for granted
are not supported...
they have a large client base with usage across many industries...
The cftransaction workaround will be an interesting one...
as with
I am doing an insert on a variable called report_body where I do a
cfset newReportBody = replacenocase(report_body, chr(10), , all)
cfset newReportBody = replacenocase(newReportBody, chr(13), br, all)
cfquery ds=dsname name=name
do insert
/cfquery
Then when the page reloads I fill in the
Dear Ryan,
On Linux the line feed is composed not of the Chr(13) and Chr(10) but only
of the Chr(10). So on Linux you should replace the Chr(10) with a BR.
Your code strips the Chr(10), but there is no Chr(13) to be replaced.
So here is a solution:
cfset
True, I hadn't thought about a non programatic solution I guess because if
that were the case I would probably just do a rough regex to get the right
modules and then visually inpect them. Not elegant but takes a lot less time
unless you have lots of them.
- Original Message -
From: Rick
Hi Mack,
Thanks, that did it. Whew! I was trying all kinds of stuff.
Ray
At 09:23 PM 12/4/2001 +0200, you wrote:
Dear Ryan,
On Linux the line feed is composed not of the Chr(13) and Chr(10)
but only
of the Chr(10). So on Linux you should replace the Chr(10) with a BR.
Your
I'm getting a dirty little error now when I'm trying to retrieve more
than a few emails at a time with cfpop. Has anyone out there in the
ColdFusion yonder come across this problem? I've tried all the
debugging I can think of (disabled timeouts, all pop connection error
checks, etc.) It
I am pulling a file from a company that has set up an xml feed. Needless to
say, sometimes the file is full of errors -- things like p and no end
cause my system to break. At first I was using ReReplace and Replace to read
the file and replace the non wddx code but now it seems as if I have
On Tue, 4 Dec 2001 14:04:50 -0500, Benjamin S. Rogers [EMAIL PROTECTED]
wrote:
The CFTRANSACTION tag is used to bundle multiple queries into a single
transaction so that the queries can be committed or rolled back as a group.
This is a fundamental aspect of SQL itself: it is not a short cut.
The CFTRANSACTION tag is used to bundle multiple queries into a
single transaction so that the queries can be committed or rolled
back as a group. This is a fundamental aspect of SQL itself: it
is not a short cut.
I think that what Jon meant (and I kind of agree with him, if this is in
I would try to work with them to clean up the XML file at the source -
that's the key to the wonderful world of XML: syntactically valid XML.
- Original Message -
From: Emily C. Grossman [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, December 04, 2001 1:54 PM
Subject:
I was looking at automating my server-side SPAM filtering. Are there
any resources for pulling known SPAM addresses? Free, as in beer?
~~
Structure your ColdFusion code with Fusebox. Get the official book at
Cache good feeds and if there is ever an error display the most recent
cached file.
On Tue, 4 Dec 2001, Emily C. Grossman wrote:
I am pulling a file from a company that has set up an xml feed. Needless to
say, sometimes the file is full of errors -- things like p and no end
cause my
Other than black hole lists, I don't know of any. I read of a distributed
system being worked up on slashdot a few days back. I was going to suggest
the same thing for iMS users to catalog email addresses, subjects, etc. of
spam to be blocked.
At 03:15 PM 12/4/01, you wrote:
I was looking at
1 - 100 of 190 matches
Mail list logo