Hola lista!!


I'm experimenting with trying to make an entire site running only off of
cfdirectory, and building static templates with CFHTTP where possible (yeah
I have a lot of spare time). Anyhow, I have a poll that stores the results
as a comma delimited list in a .txt file



total

first choice total

second choice total

third choice total

100,50,48,2



I set them to vars...

<cfset total = listgetat(list, 1, ",")>

<cfset first = listgetat(list, 1, ",")>

and so on.....



then I add 1 to the total and depending on which choice was made I add 1 to
the correct position and reinsert it to the .txt file and use the vars for
display. Everything sets and displays fine. No weird characters or extra
spaces.



The process started getting kind of slow so I opened the .txt in notepad to
see that with each submission it resets the list to the new values but then
it adds a bunch of these little square characters

(I tried to paste about 5 of the squares here and it made about 5000000
carriage returns) heh



I tried it as a .cfm (don't know why) but it does the same thing. Then I
tried deleting the file and recreating it with each submission and they are
STILL there, like little cucarachas eating up my precious space!!



Anybody know what they are or why they are being added to the text file and
how I can stop it???



______________________________________________________________________
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: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to