<?xml version="1.0" encoding="utf-8"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>DaniWeb IT Discussion Community - ColdFusion</title>
		<link>http://www.daniweb.com/forums/</link>
		<description><![CDATA[Our ColdFusion forum is the place for Q&A-style discussions related to this Adobe / Macromedia language.]]></description>
		<language>en-US</language>
		<lastBuildDate>Sun, 08 Nov 2009 02:13:32 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.daniweb.com/alphaimages/misc/rss.jpg</url>
			<title>DaniWeb IT Discussion Community - ColdFusion</title>
			<link>http://www.daniweb.com/forums/</link>
		</image>
		<item>
			<title>ColdFusion Current Page + Spry Slider</title>
			<link>http://www.daniweb.com/forums/thread235778.html</link>
			<pubDate>Tue, 03 Nov 2009 21:53:10 GMT</pubDate>
			<description><![CDATA[Hey All, 
 
  
 
Question: I have a coldfusion/access database first of all , and I'm using the Dreamweaver Accordion Slider Spry. So I have 4 panels that slide once clicked, here is my issue... I have my database populated on Panel #3, When I hit next or previous it will go to the next 3 records...]]></description>
			<content:encoded><![CDATA[<div>Hey All,<br />
<br />
 <br />
<br />
Question: I have a coldfusion/access database first of all , and I'm using the Dreamweaver Accordion Slider Spry. So I have 4 panels that slide once clicked, here is my issue... I have my database populated on Panel #3, When I hit next or previous it will go to the next 3 records for that recordset but... it will refresh the page and resume back at Panel #1  so Panel #3 will be closed and have to be reopened to view it.  How can I set the next/previous to go to a certain Panel ID and stay on it.<br />
<br />
 <br />
<br />
I'm no master at coldfusion but I'm just assuming it has something to do with this part of the code with the &quot;#CurrentPage#&quot;<br />
 <pre style="margin:20px; line-height:13px">a href=&quot;#CurrentPage#?PageNum_Edit=#Min(IncrementValue(PageNum_Edit),TotalPages_E dit)##QueryString_Edit#&quot;&gt;Next&lt;/a&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>dimerbox</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235778.html</guid>
		</item>
		<item>
			<title>ColdFusion creating Excel file</title>
			<link>http://www.daniweb.com/forums/thread235763.html</link>
			<pubDate>Tue, 03 Nov 2009 20:57:46 GMT</pubDate>
			<description>Does anyone know if it is possible to format the Excel spreadsheet (dynamically created using ColdFusion and pulling from a MySQL database)  to have the Excel file automatically set to landscape, rather than portrait for printing. My client wants that Excel spreadsheet formatted for him. I have the...</description>
			<content:encoded><![CDATA[<div>Does anyone know if it is possible to format the Excel spreadsheet (dynamically created using ColdFusion and pulling from a MySQL database)  to have the Excel file automatically set to landscape, rather than portrait for printing. My client wants that Excel spreadsheet formatted for him. I have the borders and colors and headers set, but I'm told they've seen this done before, so I was hoping someone could tell me how, or point me in the right direction. I've done a google search, but can't find anything about this. The only way that I can imagine it could be done, is if the data is being put into an Excel file that is acting as a template, with all the features set in advance, but I don't know if that's possible using ColdFusion, nor have I ever seen it done. Any help is greatly appreciated.<br />
<br />
Thank you in advance.<br />
elizabeth</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>elizabeth1</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235763.html</guid>
		</item>
		<item>
			<title>Multiple Uploads Help Please</title>
			<link>http://www.daniweb.com/forums/thread235750.html</link>
			<pubDate>Tue, 03 Nov 2009 20:07:10 GMT</pubDate>
			<description>Could someone please help me figure out how to offer multiple upload fields for a CF application? The current app starts with a login, and depending on the role, takes the user to a form that is then filled out. The form processing is done on the same CF page, if all is successful, the resulting...</description>
			<content:encoded><![CDATA[<div>Could someone please help me figure out how to offer multiple upload fields for a CF application? The current app starts with a login, and depending on the role, takes the user to a form that is then filled out. The form processing is done on the same CF page, if all is successful, the resulting code offers the user the ability to then upload an image. This is all working fine. However, now my client wants the user to be able to upload up to 5 images. These images need to each have a restriction on the file type, and the file size. I have that working for the one field, but need to figure out how to do this for multiple fields. Any help is greatly appreciated.<br />
<br />
Thank you in advance.<br />
<br />
elizabeth ;-)</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>elizabeth1</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235750.html</guid>
		</item>
		<item>
			<title>Reporting Style - coldfusion</title>
			<link>http://www.daniweb.com/forums/thread235703.html</link>
			<pubDate>Tue, 03 Nov 2009 16:44:59 GMT</pubDate>
			<description>First of all, am in the process of learning cold-fusion coding. 
 
I have a doubt in reporting part of coldfusion code. 
 
I need to make a report style such as below 
 
  
 
A B C Pass 
x B x Fail</description>
			<content:encoded><![CDATA[<div>First of all, am in the process of learning cold-fusion coding.<br />
<br />
I have a doubt in reporting part of coldfusion code.<br />
<br />
I need to make a report style such as below<br />
<br />
 <br />
<br />
A B C Pass<br />
x B x Fail<br />
A x C Pass<br />
A x x Pass<br />
<br />
 <br />
<br />
Presently am able to get display data table like below:<br />
<br />
<br />
ABC Pass<br />
BFail<br />
ACPass<br />
APass<br />
<br />
Where A,B,C are feed group;<br />
<br />
 <br />
<br />
My coding specific to looping is below:<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;cfoutput query=&quot;PromotionInfo&quot; group= RID&gt; &lt;tr&gt;<br />
<br />
&lt;cfoutput group=&quot;feed_group&quot;&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &lt;cfif IsSimpleValue(Feed_Group) &gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&nbsp; nowrap&gt;&lt;a href=&quot;#PromotionInfo.Report#&quot; target=&quot;_blank&quot;&gt;#PromotionInfo.feed_group#&lt;/a&gt;&lt;/td&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;cfelse&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;&lt;strong&gt;N/A&lt;/strong&gt;&lt;/td&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/cfif&gt;&nbsp; &nbsp; <br />
<br />
&nbsp; &lt;/cfoutput&gt;</pre><br />
 <br />
<br />
I tried for looping, still no sucess so far..<br />
<br />
 <br />
<br />
Note: Problem here in looping is When I tried cfif/Cfloop condition's for every column-wise data,<br />
<br />
cfoutput for  PromotionInfo.feed_group gives ABC (joined values) not separately ie. for each cycle of loop the data queried are shown in one single row. Am not able to split it since they are not having any delimiters.<br />
<br />
 <br />
<br />
Am not sure I gave the right picture of my problem, still expecting someone can help me..<br />
<br />
 <br />
<br />
Thanks<br />
<br />
Keeran</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>keeran6</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235703.html</guid>
		</item>
		<item>
			<title>Scripting Help Needed</title>
			<link>http://www.daniweb.com/forums/thread235393.html</link>
			<pubDate>Mon, 02 Nov 2009 15:34:22 GMT</pubDate>
			<description>I am redesigning a CF site vo2maxtesting.net in html and need to move it to the other server with minimal/no downtime or loss of Page One ranking.  Could anyone help me with redirecting script and tell me if I need to make up a page for each .cfm page or just the index, and anything else I might...</description>
			<content:encoded><![CDATA[<div>I am redesigning a CF site vo2maxtesting.net in html and need to move it to the other server with minimal/no downtime or loss of Page One ranking.  Could anyone help me with redirecting script and tell me if I need to make up a page for each .cfm page or just the index, and anything else I might need to know to do this.  My job depends on getting it right!  Thanks.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>powersstuff</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235393.html</guid>
		</item>
		<item>
			<title>Update Cold Fusion site using only html?</title>
			<link>http://www.daniweb.com/forums/thread235009.html</link>
			<pubDate>Sun, 01 Nov 2009 03:22:24 GMT</pubDate>
			<description><![CDATA[I've been asked to make cosmetic changes to a website that was developed in Cold Fusion. Their original web designer has moved on to other things. Is it possible to make simple changes, such as CSS stylesheet adjustments, new logo, new graphics behind navigation links using standard html coding? Or...]]></description>
			<content:encoded><![CDATA[<div>I've been asked to make cosmetic changes to a website that was developed in Cold Fusion. Their original web designer has moved on to other things. Is it possible to make simple changes, such as CSS stylesheet adjustments, new logo, new graphics behind navigation links using standard html coding? Or should I tell them to keep looking for someone well-versed in Cold Fusion programming?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>sherech</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235009.html</guid>
		</item>
		<item>
			<title>Run a CF program as a background process?</title>
			<link>http://www.daniweb.com/forums/thread234707.html</link>
			<pubDate>Fri, 30 Oct 2009 14:59:58 GMT</pubDate>
			<description>I want to write a ColdFusion program that sends an email to a list of people whenever a particular column in a database is edited. I know how to do this, but I want it to run automatically everyday, rather than me having to run it myself. Is there a way to do this??</description>
			<content:encoded><![CDATA[<div>I want to write a ColdFusion program that sends an email to a list of people whenever a particular column in a database is edited. I know how to do this, but I want it to run automatically everyday, rather than me having to run it myself. Is there a way to do this??</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>vikingGirl</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234707.html</guid>
		</item>
		<item>
			<title>SubCookies</title>
			<link>http://www.daniweb.com/forums/thread234675.html</link>
			<pubDate>Fri, 30 Oct 2009 12:23:27 GMT</pubDate>
			<description>hi, 
 
Is any one familiar with use of Subcookies with coldfusion? 
 
Please help, its urgent. 
 
Thanks</description>
			<content:encoded><![CDATA[<div>hi,<br />
<br />
Is any one familiar with use of Subcookies with coldfusion?<br />
<br />
Please help, its urgent.<br />
<br />
Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>kg_ally</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234675.html</guid>
		</item>
		<item>
			<title>Question and Answer Forum</title>
			<link>http://www.daniweb.com/forums/thread233091.html</link>
			<pubDate>Sun, 25 Oct 2009 06:19:37 GMT</pubDate>
			<description><![CDATA[I need an application like a forum, but only for the purpose of visitors posing questions for attorneys that will respond once a week.  The site is in .cfm and is fair credit law group dot com.  I'd really like to find someone that can also install it.]]></description>
			<content:encoded><![CDATA[<div>I need an application like a forum, but only for the purpose of visitors posing questions for attorneys that will respond once a week.  The site is in .cfm and is fair credit law group dot com.  I'd really like to find someone that can also install it.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>ustelephone</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233091.html</guid>
		</item>
		<item>
			<title>Get referer URL</title>
			<link>http://www.daniweb.com/forums/thread230808.html</link>
			<pubDate>Fri, 16 Oct 2009 20:01:04 GMT</pubDate>
			<description><![CDATA[Hi all, 
I have a form where my colleagues enter basic details about participants in a study. The 'action' attribute of the form takes the control to a 'validateForm.cfm' script where, as the name suggests, form validation is done. If there are any problems, I show the errors as well as the form...]]></description>
			<content:encoded><![CDATA[<div>Hi all,<br />
I have a form where my colleagues enter basic details about participants in a study. The 'action' attribute of the form takes the control to a 'validateForm.cfm' script where, as the name suggests, form validation is done. If there are any problems, I show the errors as well as the form itself, this time populating the fields with the data they entered previously.<br />
<br />
To show the form after it has been submitted, I use the  <pre style="margin:20px; line-height:13px">&lt;cfinclude template /&gt;</pre> tag in validateForm.cfm. The validateForm script can be called twice from my site:<br />
1. When the user enters a NEW participant.<br />
2. When the user edits an EXISTING participant data.<br />
<br />
Since both times the validation is done by the 'validateForm.cfm' script, I cannot hard-code the template name in &lt;cfinclude&gt;. I tried using  <pre style="margin:20px; line-height:13px">&lt;cfinclude template=#CGI.HTTP_REFERER# /&gt;</pre> too, but  I get a <span style="font-style:italic"><span style="color:Red">'The filename, directory name, or volume label syntax is incorrect'</span></span> error.<br />
<br />
What am I missing?<br />
<br />
Thanks!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>cheapterp</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread230808.html</guid>
		</item>
		<item>
			<title>newbie questions on generating Word document from ColdFusion</title>
			<link>http://www.daniweb.com/forums/thread226581.html</link>
			<pubDate>Tue, 29 Sep 2009 16:49:18 GMT</pubDate>
			<description>I am a complete newbie to ColdFusion and Flex. There was a Flex and Coldfusion developer in our project who left so that work has come to me. My programming background is mainly in C,C++, UNIFACE, PL/SQL with some HTML, JavaScript. 
 
I have a couple of questions and would appreciate if someone...</description>
			<content:encoded><![CDATA[<div>I am a complete newbie to ColdFusion and Flex. There was a Flex and Coldfusion developer in our project who left so that work has come to me. My programming background is mainly in C,C++, UNIFACE, PL/SQL with some HTML, JavaScript.<br />
<br />
I have a couple of questions and would appreciate if someone could respond to them.<br />
<br />
The application I am expected to maintain and enhance prints out reports in PDF format which we need to be in MS-Word format. I have looked at the source for the application and see the below lines in one file<br />
<br />
&lt;cfdocument format=&quot;pdf&quot; filename=&quot;#report_filename_format#&quot; orientation=&quot;landscape&quot;<br />
pagetype=&quot;legal&quot;&gt;<br />
<br />
Is there a way to do it in the program so that the output is a MS-Word document? I understand the format attribute can take only &quot;PDF&quot; or &quot;flashpaper&quot; as values as per <a rel="nofollow" class="t" href="http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&amp;file=00000236.htm" target="_blank">http://livedocs.adobe.com/coldfusion...e=00000236.htm</a>.<br />
<br />
I looked at the example at <a rel="nofollow" class="t" href="http://tutorial13.easycfm.com/" target="_blank">http://tutorial13.easycfm.com/</a> which shows how you can generate a Word document using ColdFusion.<br />
<br />
The first time I ran it it worked well and a word document called Hello.doc was created. The next time, I changed the text to be printed in the Word document from &quot;Hello World&quot; to &quot;Hello World again&quot; it did not and I got the error message &quot;<span style="font-style:italic">Error Occurred While Processing Request<br />
The SaveAs method was not found. There are no methods with the specified method name and argument types. Check your function and try again.</span>  &quot;<br />
<br />
I understand the first time, there was no Word document application object so it was created and the text was written to it properly. The next time, ColdFusion is trying to connect to the Word application object which exists, but somehow it is failing. I changed the name of Word file to be written from Hello.doc to Hello123.doc, but it still did not work. I have permissions to write in the directory where the Word file is being created which is why the example ran fine the first time.<br />
<br />
The way I am running this example is typing code in a file called helloworld.cfm which is present in my C:\ColdFusion8\wwwroot\CFIDE\administrator\ directory using Editplus editor, then opening a browser and trying to open a page <a rel="nofollow" class="t" href="http://127.0.0.1:8500/CFIDE/administrator/index.cfm?target=/CFIDE/administrator/helloworld.cfm?" target="_blank">http://127.0.0.1:8500/CFIDE/administ...elloworld.cfm?</a><br />
<br />
1. Is this the proper method?<br />
<br />
2. Can someone please clarify where I might be erring in running this example and how can I fix it?<br />
<br />
3. Is there an easier way to get the output from ColdFusion in MS-Word format than what I am doing?<br />
<br />
Thanks a lot.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>H_C</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread226581.html</guid>
		</item>
		<item>
			<title>Coldfusion</title>
			<link>http://www.daniweb.com/forums/thread224775.html</link>
			<pubDate>Tue, 22 Sep 2009 06:08:43 GMT</pubDate>
			<description><![CDATA[Hi Everyone, 
 
Could any one please advise me if this language is still feasible to go for? 
Is there still a market for it? 
 
Mr RenaldoB 
<FAKE SIGNATURE>]]></description>
			<content:encoded><![CDATA[<div>Hi Everyone,<br />
<br />
Could any one please advise me if this language is still feasible to go for?<br />
Is there still a market for it?<br />
<br />
Mr RenaldoB<br />
&lt;FAKE SIGNATURE&gt;</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>Renaldob</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread224775.html</guid>
		</item>
		<item>
			<title>Update several changes in several rows with one button.</title>
			<link>http://www.daniweb.com/forums/thread224650.html</link>
			<pubDate>Mon, 21 Sep 2009 18:38:59 GMT</pubDate>
			<description>Hi Guys, I’m panicking for this issue. Please help.  
 
I have a form that all the rows of the table are dynamic and there are text areas in each row that the value could change. 
 
  
The only thing that makes each row unique is the Month row belongs to Month 1 , month 2 adn...). Therefore I...</description>
			<content:encoded><![CDATA[<div>Hi Guys, I’m panicking for this issue. Please help. <br />
<br />
I have a form that all the rows of the table are dynamic and there are text areas in each row that the value could change.<br />
<br />
 <br />
The only thing that makes each row unique is the Month row belongs to Month 1 , month 2 adn...). Therefore I created a hidden field in the form that its value will change to the Month belongs to that row.  <pre style="margin:20px; line-height:13px">(onChange=&quot;document.getElementById('Saved_RowID').value ='#MO_CD#';)<br />
&lt;form name=&quot;update&quot; action=&quot;main.cfm&quot; method=&quot;post&quot;&gt;<br />
&lt;table class=&quot;projectodowoborder&quot; &gt;<br />
&lt;thead&gt;<br />
&lt;tr&gt;<br />
&lt;th colspan=&quot;7&quot; align=&quot;center&quot;&nbsp; id=&quot;locked&quot;&gt;<br />
&lt;input type=&quot;submit&quot; border=&quot;0&quot; align=&quot;middle&quot; value=&quot; Save &quot;&nbsp; class=&quot;def&quot; onclick=&quot;document.update.RowID.value='#getRevenue.currentrow#';document.updateRev.action.value = 'Save'&lt;/th&gt;&nbsp; &nbsp; &nbsp; &nbsp; <br />
&lt;th colspan=&quot;7&quot; align=&quot;center&quot; id=&quot;locked&quot;&gt;<br />
&lt;input type=&quot;Reset&quot; border=&quot;0&quot; align=&quot;middle&quot; value=&quot; Cancel &quot;class=&quot;def&quot;&gt;<br />
&lt;/th&gt;&nbsp; &nbsp; &nbsp; &nbsp; <br />
&lt;/tr&gt;<br />
<br />
&nbsp; &nbsp; &nbsp;  &lt;tr&gt;<br />
&lt;th class=&quot;projcapheaderborder&quot; id=&quot;locked&quot;&gt;Month&lt;/td&gt;<br />
&lt;th class=&quot;projcapheaderborder&quot; id=&quot;locked&quot;&gt;Public Ag&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;cfoutput query='MyQ&quot;&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;<br />
<br />
&lt;input name=&quot;collections_#MO_CD#&quot; onChange=&quot;document.getElementById('Saved_RowID').value ='#MO_CD#';_CF_checkinteger();&quot;&gt;<br />
&lt;/td&gt;<br />
&lt;td &gt;<br />
&lt;input name=&quot;REFUNDED_#MO_CD#&quot; type=&quot;text&quot;&nbsp; onChange=&quot;document.getElementById('Saved_RowID').value ='#MO_CD#'&gt;<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/cfoutput&gt;<br />
&lt;/table&gt;<br />
&lt;input type=&quot;hidden&quot; name=&quot;Saved_RowID&quot; value=&quot;&quot;&gt;<br />
&lt;/form&gt;</pre><br />
What should I do if they change several rows at the same time which is the case. I have a procedure that receives the string of the data that has been changed for each row.<br />
the value of form.Saved_RowID  on the action page is the the Month for example if the value of the 1st row which belongs to Month 12 is changed then the form.Saved_RowID  is 12.<br />
I don't know how to get the values fo the changed fields if several rows changed. I really appreciate your help.<br />
Thank you so much.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>cfcoder2</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread224650.html</guid>
		</item>
		<item>
			<title>Coldfusion Report Problem</title>
			<link>http://www.daniweb.com/forums/thread223808.html</link>
			<pubDate>Thu, 17 Sep 2009 16:04:06 GMT</pubDate>
			<description>Hi Guys, 
 
I just done an upgrade on my coldfusion server to the latest version now its giving couple of issues. Can anyone please help me out. Thanks 
 
The page popup is coming up with this error. 
Error is: 
 
the argument p_day passed to function f_convert_day() is not of type numeric. if the...</description>
			<content:encoded><![CDATA[<div>Hi Guys,<br />
<br />
I just done an upgrade on my coldfusion server to the latest version now its giving couple of issues. Can anyone please help me out. Thanks<br />
<br />
The page popup is coming up with this error.<br />
Error is:<br />
<br />
the argument p_day passed to function f_convert_day() is not of type numeric. if the component name is specified as a type of this argument, the reason for this error might be that a definition file for such component cannot be found or is not accessible.<br />
<br />
Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>amri5h</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread223808.html</guid>
		</item>
		<item>
			<title>dateDiff problem</title>
			<link>http://www.daniweb.com/forums/thread223041.html</link>
			<pubDate>Mon, 14 Sep 2009 23:23:20 GMT</pubDate>
			<description><![CDATA[Hi Folks  
In my db i have a datelisted column formatted to short date ie dd/mm/yyyy)  
 
My theory is that say if that datepart year is 2007 i want to list all dates that are then due on the same date in the year 2009.  
 
I can make this work manually by using:  
<cfset getdate = Now()> ...]]></description>
			<content:encoded><![CDATA[<div>Hi Folks <br />
In my db i have a datelisted column formatted to short date ie dd/mm/yyyy) <br />
<br />
My theory is that say if that datepart year is 2007 i want to list all dates that are then due on the same date in the year 2009. <br />
<br />
I can make this work manually by using: <br />
 <pre style="margin:20px; line-height:13px">&lt;cfset getdate = Now()&gt; <br />
&lt;!---Get date for listing period---&gt; <br />
&lt;cfset renewYear = #DatePart(&quot;yyyy&quot;, getdate)# -1</pre><br />
What i want to do is make this dynamic. and i am trying to now is use dateDiff to work out the -1 part of the above. <br />
<br />
I currently have: <br />
a query as follows: <br />
 <pre style="margin:20px; line-height:13px">&lt;cfquery name=&quot;getrenew&quot; datasource=&quot;#dsn#&quot;&gt; <br />
SELECT&nbsp; ID, datelisted, renewaldue, region, area, hitcount, webcount, category, busname, buscontact, busphone, mailto, paymethod <br />
FROM listings <br />
WHERE&nbsp; Year(datelisted) = #DatePart(&quot;yyyy&quot;, Now())# - #dateDiff(&quot;yyyy&quot;,datelisted,Now())#</pre><br />
in theory this should give me (as an example only) <br />
if the year datelisted is 2007 <br />
Year(datelisted) = 2009-2 <br />
<br />
I am getting an error though that tells me that datelisted is undefined in the dateDiff function <br />
<br />
Can anyone please help or see another way to do this <br />
<br />
cheers and thanks in advance <br />
Grabit</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>grabit</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread223041.html</guid>
		</item>
		<item>
			<title>CFGrid and checkboxes</title>
			<link>http://www.daniweb.com/forums/thread222254.html</link>
			<pubDate>Fri, 11 Sep 2009 14:12:45 GMT</pubDate>
			<description><![CDATA[I have included the code.  My problem is that I am always getting the error exception thrown and not caught despite adding cftry/cfcatch blocks.  If I don't set selectmode="edit" and include OnChange my grid displays except I get the word false displayed instead of a checkbox. 
 
  
  <div...]]></description>
			<content:encoded><![CDATA[<div>I have included the code.  My problem is that I am always getting the error exception thrown and not caught despite adding cftry/cfcatch blocks.  If I don't set selectmode=&quot;edit&quot; and include OnChange my grid displays except I get the word false displayed instead of a checkbox.<br />
<br />
 <br />
 <pre style="margin:20px; line-height:13px">&lt;cfgrid format=&quot;html&quot;&nbsp; name=&quot;grid_Tables&quot; pagesize=&quot;10&quot; autowidth=&quot;true&quot; striperows=&quot;yes&quot; width = &quot;99%&quot; selectmode=&quot;edit&quot; bind=&quot;CFC:qry_GetUser.getAllUsers({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{c fgridsortdirection})&quot;onchange=&quot;cfc:qry_GetUser.editData({cfgridaction},{cfgridrow},{cfgridchanged})&quot;&gt;<br />
&nbsp;  &lt;cfgridcolumn name=&quot;UserID&quot; display=&quot;No&quot;/&gt;<br />
&nbsp;  &lt;cfgridcolumn name=&quot;opt&quot; header=&quot;&quot; type=&quot;boolean&quot; width=&quot;46&quot;/&gt;<br />
&nbsp;  &lt;cfgridcolumn name=&quot;Name&quot; header=&quot;Name&quot; width=&quot;150&quot; type=&quot;string_nocase&quot; select=&quot;no&quot; /&gt;<br />
&nbsp;  &lt;cfgridcolumn name=&quot;Email&quot; header=&quot;EMail&quot; width=&quot;150&quot; type=&quot;string_nocase&quot; select=&quot;no&quot; /&gt;<br />
&nbsp;  &lt;cfgridcolumn name=&quot;RegistrationDate&quot; header=&quot;Registration Date&quot; width=&quot;150&quot; type=&quot;string_nocase&quot; select=&quot;no&quot; /&gt;<br />
&lt;/cfgrid&gt;<br />
<br />
&lt;cffunction name=&quot;editData&quot; access=&quot;remote&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;cfargument name=&quot;gridaction&quot; required=&quot;yes&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;cfargument name=&quot;gridrow&quot; required=&quot;yes&quot; type=&quot;Struct&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;cfargument name=&quot;gridchanged&quot; required=&quot;yes&quot; type=&quot;Struct&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/cffunction&gt;</pre><br />
The problem is that in edit mode I get an error thrown so the grid<br />
doesn't display at all.  I am wondering if I have a problem with:<br />
<br />
onchange=&quot;cfc:qry_GetUser.editData({cfgridaction},{cfgridrow},{cfgridchanged})<br />
<br />
 <br />
Right now the editData function does nothing it is empty yet an error is still being thrown.  I haven't been able to figure out where the error is being thrown.  I have added catch/try blocks around the cfgrid as well as in the editData function but nothing is caught.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>akraus</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread222254.html</guid>
		</item>
		<item>
			<title><![CDATA[Simultaneous Data Update - "Record Locking"]]></title>
			<link>http://www.daniweb.com/forums/thread222249.html</link>
			<pubDate>Fri, 11 Sep 2009 13:44:44 GMT</pubDate>
			<description><![CDATA[What is the best way to update a record when 2 users of my site happen to edit it simultaneously? 
 
For example, assume the following scenario: 
Let's say users John Doe and Jane Doe log into my site and happen to view the below record simultaneously....]]></description>
			<content:encoded><![CDATA[<div>What is the best way to update a record when 2 users of my site happen to edit it simultaneously?<br />
<br />
For example, assume the following scenario:<br />
Let's say users John Doe and Jane Doe log into my site and happen to view the below record simultaneously.<br />
---------------------------------------------------------------------------------<br />
Bruce Wayne | Gotham City | (910)000-0000<br />
---------------------------------------------------------------------------------<br />
If John edits the above phone number to (910)000-0001 and Jane changes it to (910)000-0002 - at the same time - what value do I update the DB with?<br />
<br />
How do I prevent users overwriting each others' updates? Is something like &lt;cflock&gt; useful in this case or is it purely an SQL thing?<br />
<br />
Thanks!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>SQL_n00b</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread222249.html</guid>
		</item>
		<item>
			<title>Ajax Issue</title>
			<link>http://www.daniweb.com/forums/thread221979.html</link>
			<pubDate>Thu, 10 Sep 2009 10:12:00 GMT</pubDate>
			<description><![CDATA[Does anyone know if there its possible to use a cfform within a cflayout, using type="tab"?  I'd like to use the ajax calendar for a date input within the cflayoutarea but it doesn't seem to work.   
 
Thanks 
Avi Reiter 
<FAKE SIGNATURE>]]></description>
			<content:encoded><![CDATA[<div>Does anyone know if there its possible to use a cfform within a cflayout, using type=&quot;tab&quot;?  I'd like to use the ajax calendar for a date input within the cflayoutarea but it doesn't seem to work.  <br />
<br />
Thanks<br />
Avi Reiter<br />
&lt;FAKE SIGNATURE&gt;</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>avi-reiter</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread221979.html</guid>
		</item>
		<item>
			<title>CFQUERY</title>
			<link>http://www.daniweb.com/forums/thread221930.html</link>
			<pubDate>Thu, 10 Sep 2009 07:06:00 GMT</pubDate>
			<description>hi all, 
 
I am new to cold fusion please help me 
 
i am using the cfquery tag for executing a select query and getting the system name and system is from that........ 
 
But i want an extra system name and system id to add to the result of that query with out changing the data base .................</description>
			<content:encoded><![CDATA[<div>hi all,<br />
<br />
I am new to cold fusion please help me<br />
<br />
i am using the <span style="color:Red">cfquery</span> tag for executing a select query and getting the system name and system is from that........<br />
<br />
But i want an <span style="color:red">extra system name and system </span>id to add to the result of that query with out changing the data base ..............<br />
<br />
please any one suggest me ...........IT's URGENT<br />
<br />
Thanks in advance<br />
Sudheer</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>sudheerkeshetty</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread221930.html</guid>
		</item>
		<item>
			<title>Radio button problem and cfloop</title>
			<link>http://www.daniweb.com/forums/thread214944.html</link>
			<pubDate>Sun, 30 Aug 2009 01:32:06 GMT</pubDate>
			<description><![CDATA[How can I use cfloop or query my database so I can select home game and away game for multiple selections. I need to select 1 selection for home and away game but have to be able to select 1 of each. here is my output 
 
http://67.219.102.67/wcfootball/index2.cfm 
 
  <div class="codeblock"> <div...]]></description>
			<content:encoded><![CDATA[<div>How can I use cfloop or query my database so I can select home game and away game for multiple selections. I need to select 1 selection for home and away game but have to be able to select 1 of each. here is my output<br />
<br />
<a rel="nofollow" class="t" href="http://67.219.102.67/wcfootball/index2.cfm" target="_blank">http://67.219.102.67/wcfootball/index2.cfm</a><br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;script language=&quot;JavaScript&quot; type=&quot;text/JavaScript&quot;&gt;<br />
&lt;!--<br />
function uncheckRadio() {<br />
&nbsp;var choice = document.form1.RadioGroup1;<br />
&nbsp;for (i = 0; i &lt; choice.length; i++) {<br />
&nbsp; if ( choice[i].checked = true ) <br />
&nbsp;  choice[i].checked = false; <br />
&nbsp;}<br />
}<br />
//--&gt;<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;script language=&quot;JavaScript&quot;&gt;<br />
function checkRegex(object_value, regex) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; return regex.test(object_value);<br />
}<br />
<br />
function validateform (f) {<br />
<br />
if (f.Team1.checked == false &amp;&amp; f.Team2.checked == false ) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; alert(&quot;Please select at least one type of service you are interested in.&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; return false;<br />
} else if (f.Team1.checked == true &amp;&amp; f.Team2.checked == true ) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; alert(&quot;You Must Select only Economy Buster or Lawn Treatment Please un-check one.&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; return false;<br />
} else if (f.Team1.value == &quot;&quot;) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; alert(&quot;Please enter your first name.&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; return false;<br />
} else if (f.Team2.value == &quot;&quot;) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; alert(&quot;Please enter your last name.&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; return false;<br />
}<br />
&nbsp; &nbsp; &nbsp; &nbsp; return true;<br />
}<br />
<br />
function doValidateForm() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (validateform(document.frmTeam)) document.frmTeam.submit();<br />
}<br />
<br />
<br />
&lt;/script&gt;<br />
<br />
&lt;cfquery name=&quot;Get_members&quot; datasource=&quot;#application.dsn#&quot;&gt;<br />
SELECT * FROM members<br />
&lt;/cfquery&gt;<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;523&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;cfoutput&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;Name&lt;br&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td class=&quot;infoBoxShaded&quot;&gt;#get_members.first_name# #get_members.last_name#&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td class=&quot;infoBoxShaded&quot;&gt;#get_members.address# #get_members.city# #get_members.zip#&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td class=&quot;infoBoxShaded&quot;&gt;&lt;img src=&quot;images/spacer.gif&quot; width=&quot;20&quot; height=&quot;1&quot; alt=&quot;&quot; border=&quot;0&quot;&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td class=&quot;infoBoxShaded&quot;&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td class=&quot;infoBoxShaded&quot; colspan=&quot;3&quot;&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td class=&quot;infoBoxShaded&quot;&gt;SCORE: #get_members.score#&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td class=&quot;infoBoxShaded&quot;&gt;&lt;br&gt;&lt;br&gt;#session.sessionID#&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td class=&quot;infoBoxShaded&quot; colspan=&quot;5&quot;&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/table&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/cfoutput&gt;<br />
&lt;/table&gt;<br />
&lt;p&gt;&amp;nbsp;&lt;/p&gt;<br />
<br />
&lt;p&gt;&lt;strong&gt;Week 1&lt;/strong&gt;&lt;/p&gt;<br />
<br />
<br />
<br />
<br />
&lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&lt;/tr&gt;<br />
<br />
<br />
<br />
&lt;cfform action=&quot;getEstimate_step2.cfm&quot; method=&quot;post&quot; name=&quot;frmWon&quot;&gt;<br />
&lt;input type=&quot;Hidden&quot; name=&quot;action&quot; value=&quot;continue&quot;&gt;<br />
&lt;table border=&quot;0&quot; cellpadding=&quot;1&quot; cellspacing=&quot;0&quot; bordercolor=&quot;#000000&quot; width=&quot;45%&quot;&gt;<br />
&lt;tr&gt;<br />
&nbsp; &nbsp; &lt;td&gt;&lt;div class=&quot;content_black&quot;&gt;Game&lt;/div&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &lt;td&gt;&lt;div class=&quot;content_black&quot;&gt;Week&lt;/div&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;&lt;div class=&quot;content_black&quot;&gt;Home Team&lt;/div&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;&lt;div class=&quot;content_black&quot;&gt;Away&lt;/div&gt;&lt;/td&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &lt;cfquery name=&quot;Picks&quot; datasource=&quot;#application.dsn#&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SELECT distinct Games.game, games.week, games.home_team, games.away_team FROM Games<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; where games.week = '1'<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &lt;/cfquery&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&lt;/tr&gt;<br />
&lt;cfloop query=&quot;Picks&quot;&gt;<br />
&lt;cfoutput&gt;<br />
&lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;&lt;div class=&quot;content_black&quot;&gt;Game #Game#&amp;nbsp;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;&lt;div class=&quot;content_black&quot;&gt;Week #Week#&amp;nbsp;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;&lt;div class=&quot;content_black&quot;&gt;&lt;cfinput type=&quot;radio&quot; name=&quot;mainloop&quot; value=&quot;1&quot; required=&quot;yes&quot; message=&quot;Please select the right option&quot;&gt;#Home_team#&amp;nbsp;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;&lt;div class=&quot;content_black&quot;&gt;&lt;cfinput type=&quot;radio&quot; name=&quot;mainloop&quot; value=&quot;0&quot; required=&quot;yes&quot; message=&quot;Please select the right option&quot;&gt;#Away_team#&amp;nbsp;&lt;/td&gt;<br />
&nbsp;  <br />
&lt;/tr&gt;<br />
&lt;/cfoutput&gt;<br />
&lt;/cfloop&gt;<br />
&lt;INPUT type=&quot;submit&quot; name=&quot;mysubmit&quot; value=&quot;Submit&quot;&gt;<br />
&lt;/cfform&gt;<br />
&lt;/table&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>freshfitz</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread214944.html</guid>
		</item>
		<item>
			<title>News Story Sony Tries New Tactics to Gain eBook Marketshare</title>
			<link>http://www.daniweb.com/news/story220770.html</link>
			<pubDate>Thu, 27 Aug 2009 15:33:54 GMT</pubDate>
			<description>You have to give Sony credit, they are really trying new strategies to wrestle eBook marketshare from the Amazon Kindle. This month they announced several new editions  (http://news.sel.sony.com/en/press_room/consumer/computer_peripheral/e_book/release/41492.html)of the Sony Reader, including the...</description>
			<content:encoded><![CDATA[<div>You have to give Sony credit, they are really trying new strategies to wrestle eBook marketshare from the Amazon Kindle. This month <a rel="nofollow" class="t" href="http://news.sel.sony.com/en/press_room/consumer/computer_peripheral/e_book/release/41492.html" target="_blank">they announced several new editions </a>of the Sony Reader, including the brand new Reader Daily Edition, which should be in stores in time for the holiday shopping season. This comes on the heels of their recent announcement to support the <a rel="nofollow" class="t" href="http://www.idpf.org/" target="_blank">open ePub ebook standard</a> I wrote about last week in my post, <a rel="nofollow" class="t" href="http://www.daniweb.com/blogs/entry4640.html" target="_blank">Could Sony Open eBook Decision Pressure Amazon</a>. I'm still not sure either Sony (or Amazon) has lowered the price on these units enough to give them mass appeal, but you have to like the effort.<br />
<br />
<span style="font-weight:bold">Reader Daily Edition</span><br />
<br />
The Reader Daily Edition finally gives Sony customers a wireless choice. I could never understand why Sony would require you to tether your Reader to get your eBooks . It's 2009 and consumers want to be able to get their books quickly and easily, and this version of the Reader provides that with wireless access on AT&amp;T’s 3G mobile broadband network. This gives users access to Sony’s eBook store from just about anywhere in the U.S that is covered by AT&amp;T's wireless network, but this new unit comes with a hefty price tag of $399.<br />
<br />
The other two units announced this month, the Pocket Reader at $199 and the more feature-rich Touch for $299 give consumers cheaper options, but my take is that all units should be wireless at this point. If it's not dead simple, I'm not convinced Sony can build mass appeal with a minimum $200 investment in this economy.<br />
<br />
<span style="font-weight:bold">The Price is Almost Right</span><br />
<br />
Sony is bragging about the $199 price tag, and while it's a decent price, I don't think it's low enough. If Sony (or Amazon for that matter) really wants to capture market share, they need to use the cell phone model. Sell the unit for $99 or less with a two year agreement to buy X number of books. It will be like the Book of the Month club, except eBook owners will have to purchase a certain number of books over the two year period. To ensure they do, they could even charge users a fixed monthly fee, which could consumers could put towards a certain number of books.<br />
<br />
<span style="font-weight:bold">Changing Markets</span><br />
<br />
Forrester analyst Sarah Rotman Epps reported in a <a rel="nofollow" class="t" href="http://blogs.forrester.com/consumer_product_strategy/2009/08/forrester-new-ereader-data-suggests-amazon-vulnerability.html" target="_blank">July post</a> on the Forrester Consumer Products Professional Blog, that Amazon might have captured the early market due to what she calls &quot;a perfect storm of demographics.&quot; These were people who liked technology, had commutes or traveled extensively, and most importantly could afford the device. Future users, she says, will be very different:<br />
<br />
&quot;They're more likely to be female, less tech optimistic, and they read a lot (on average, 5 books per month) but they buy and borrow books from multiple sources, as opposed to buying lots of books online.&quot;<br />
<br />
<span style="font-weight:bold">Seize the Day</span><br />
<br />
Epps believes the opportunity is there to grab marketshare from Amazon. You might recall in another time with another device, that Sony once controlled the portable music market with a little unit called the <a rel="nofollow" class="t" href="http://en.wikipedia.org/wiki/Walkman" target="_blank">Sony Walkman</a>, but the market changed and Sony lost control of it. Perhaps Sony could be the company to turn the table this time, but if not them, assuming Epps is right, another company could, with the right combination of ease of use and price point. Although Sony is getting closer, I don't think they are quite there yet.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>Techwriter10</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread220770.html</guid>
		</item>
		<item>
			<title>XSS and SQL Injection</title>
			<link>http://www.daniweb.com/forums/thread214411.html</link>
			<pubDate>Thu, 27 Aug 2009 14:20:08 GMT</pubDate>
			<description>Does anyone here have experience using the Acunetix Web Vulnerability Scanner? I happened to use it on my site to check for vulnerabilities and found about 15 HIGH level ones - all of them with basically the same problem: *Cross Site Scripting* and *Cross Site Scripting in URI*. 
 
For every input...</description>
			<content:encoded><![CDATA[<div>Does anyone here have experience using the Acunetix Web Vulnerability Scanner? I happened to use it on my site to check for vulnerabilities and found about 15 HIGH level ones - all of them with basically the same problem: <span style="font-weight:bold">Cross Site Scripting</span> and <span style="font-weight:bold">Cross Site Scripting in URI</span>.<br />
<br />
For every input on all of my pages, I use the &lt;cfqueryparam&gt; tag. Numbers are meant to be entered in most of the textfields on the site. Therefore, in addition to the  <pre style="margin:20px; line-height:13px">&lt;cfqueryparam cfsqltype = cf_sql_float&gt;</pre> I also set a maxlength for every text field - usually about 9 characters. Text inputs where 'VARCHAR' type data is expected are also validated on the server side (in addition to the cfqueryparam tag).<br />
<br />
Am I still vulnerable to XSS and SQL Injection? Do I need to filter meta-characters?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>cheapterp</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread214411.html</guid>
		</item>
		<item>
			<title>News Story Could Sony Open eBook Decision Pressure Amazon?</title>
			<link>http://www.daniweb.com/news/story220752.html</link>
			<pubDate>Fri, 21 Aug 2009 12:35:30 GMT</pubDate>
			<description>In a move that could only be characterized as surprising, Sony announced last week that it was going to be using the open ePub eBook standard (http://www.idpf.org/), which in theory should enable Sony Reader (http://ebookstore.sony.com/reader/) users to access and use any books created around the...</description>
			<content:encoded><![CDATA[<div>In a move that could only be characterized as surprising, Sony announced last week that it was going to be using the open <a rel="nofollow" class="t" href="http://www.idpf.org/" target="_blank">ePub eBook standard</a>, which in theory should enable <a rel="nofollow" class="t" href="http://ebookstore.sony.com/reader/" target="_blank">Sony Reader</a> users to access and use any books created around the standard. Sony Readers will also be able to read Adobe PDFs and Adobe eBooks, both of which come with <a rel="nofollow" class="t" href="http://www.adobe.com/products/contentserver/" target="_blank">Adobe DRM</a>. It's a complex announcement, but one thing is clear, Sony has laid down the gauntlet with Amazon, leaving it as the lone major proprietary reader. But is Amazon too big to care?<br />
<br />
<span style="font-weight:bold">The Amazon eBook Erase Debacle</span><br />
<br />
A couple of weeks ago I reported here in the post, <a rel="nofollow" class="t" href="http://www.daniweb.com/blogs/entry4543.html" target="_blank">Amazon Shows a Need for eBook Standards</a>, what happens when one company controls both the device and the books you read on the device. In this particular case, Amazon determined that copies of <span style="font-style:italic">1984</span> and <span style="font-style:italic">Animal Farm</span> were illegal and simply removed them from owners' devices without warning. As you can imagine, it set off a firestorm of protest, but it also highlighted the need for standards. If users had been able to back up their copies and read them on any device, then it would likely have diminished Amazon's power to change or remove content from people's devices.<br />
<br />
As I wrote at the time:<br />
<br />
<div style="margin:20px; margin-top:5px; "> <div class="smallfont" style="margin-bottom:2px">Quote:</div> <table cellpadding="5" cellspacing="0" border="0" width="100%"> <tr> <td class="alt2"> <hr />  &quot;The trouble with the Kindle approach is that Amazon is selling the Reader and they are selling eBooks, which can be read only on their readers and nobody else's, and that's where this problem lies.&quot;  <hr /> </td> </tr> </table> </div><span style="font-weight:bold">Is Amazon too Big to Care?</span><br />
<br />
<a rel="nofollow" class="t" href="http://mediamemo.allthingsd.com/20090813/kindle-nation-could-be-10-million-strong-but-what-happened-to-amazons-save-the-newspaper-business-plan/" target="_blank">Peter Kafka reports</a> this week that a new survey suggests there could be as many as 10 million Kindle owners soon. That's a lot of market clout and it's just for starters as its market will probably only continue to grow, especially if they continue to drop the price as they did <a rel="nofollow" class="t" href="http://articles.latimes.com/2009/jul/09/business/fi-kindle9" target="_blank">earlier this year</a>. If Amazon's market share continues to grow, it may not care if it gets criticism from the likes of bloggers like me. As long as they make money, the business model continues, and right now for them all proprietary, all the time works.<br />
<br />
<span style="font-weight:bold">It Will Take Consumer Pressure<br />
</span><br />
<a rel="nofollow" class="t" href="http://www.newser.com/story/40838/oprah-flips-for-amazons-kindle.html" target="_blank">Oprah started this whole Kindle bandwagon</a>. Before she discovered and promoted it on her show, the Kindle was used by a few geeks. Maybe it's time for Oprah to use her clout to pressure Amazon to use open standards for its eBooks (if she cares or has any clue what that means). If we can't count on Oprah, we always have the power of social media and 10 million people (or at least say 10 percent of them) pressuring Amazon to open up, which could have some significant influence. <a rel="nofollow" class="t" href="http://nymag.com/daily/entertainment/2009/04/amazon.html" target="_blank">Amazon has been shown it caves</a> to pressure in the past.<br />
<br />
Sony's decision to move forward with an open standard is significant and I for one applaud them for taking this step. I only hope that consumers can mount enough pressure to force Amazon to follow suit and dilute the power it holds by controlling both the books and the device.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>Techwriter10</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread220752.html</guid>
		</item>
		<item>
			<title>Register page problem.</title>
			<link>http://www.daniweb.com/forums/thread212854.html</link>
			<pubDate>Thu, 20 Aug 2009 20:17:56 GMT</pubDate>
			<description><![CDATA[I am so confused, I want to add some anti-spam security to my upcoming register page but something is really wrong. 
Note that my server is Coldfusion MX7 (i can not afford better) and because of that i can not use 
cfimage(captcha). 
 
This is what i have: 
 
  <div class="codeblock"> <div...]]></description>
			<content:encoded><![CDATA[<div>I am so confused, I want to add some anti-spam security to my upcoming register page but something is really wrong.<br />
Note that my server is Coldfusion MX7 (i can not afford better) and because of that i can not use<br />
cfimage(captcha).<br />
<br />
This is what i have:<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;cfset strLowerCaseAlpha = &quot;abcdefghijklmnopqrstuvwxyz&quot;&gt;<br />
&nbsp;<br />
&lt;cfset strUpperCaseAlpha = UCase( strLowerCaseAlpha )&gt;<br />
<br />
&lt;cfset strNumbers = &quot;0123456789&quot;&gt;<br />
&nbsp;<br />
&lt;cfset strAllValidChars = (<br />
&nbsp; &nbsp; strLowerCaseAlpha &amp;<br />
&nbsp; &nbsp; strUpperCaseAlpha &amp;<br />
&nbsp; &nbsp; strNumbers<br />
&nbsp; &nbsp; )&gt;<br />
&nbsp;<br />
&lt;cfset arrPassword = ArrayNew( 1 )&gt;<br />
&nbsp;<br />
&lt;cfset arrPassword[ 1 ] = Mid(<br />
&nbsp; &nbsp; strNumbers,<br />
&nbsp; &nbsp; RandRange( 1, Len( strNumbers ) ),<br />
&nbsp; &nbsp; 1<br />
&nbsp; &nbsp; )&gt;<br />
&nbsp;<br />
&lt;cfset arrPassword[ 2 ] = Mid(<br />
&nbsp; &nbsp; strLowerCaseAlpha,<br />
&nbsp; &nbsp; RandRange( 1, Len( strLowerCaseAlpha ) ),<br />
&nbsp; &nbsp; 1<br />
&nbsp; &nbsp; )&gt;<br />
&nbsp;<br />
&lt;cfset arrPassword[ 3 ] = Mid(<br />
&nbsp; &nbsp; strUpperCaseAlpha,<br />
&nbsp; &nbsp; RandRange( 1, Len( strUpperCaseAlpha ) ),<br />
&nbsp; &nbsp; 1<br />
&nbsp; &nbsp; )&gt;<br />
&nbsp;<br />
&lt;cfloop<br />
&nbsp; &nbsp; index=&quot;intChar&quot;<br />
&nbsp; &nbsp; from=&quot;#(ArrayLen( arrPassword ) + 1)#&quot;<br />
&nbsp; &nbsp; to=&quot;8&quot;<br />
&nbsp; &nbsp; step=&quot;1&quot;&gt;<br />
&nbsp;<br />
&nbsp; &nbsp; &lt;cfset arrPassword[ intChar ] = Mid(<br />
&nbsp; &nbsp; &nbsp; &nbsp; strAllValidChars,<br />
&nbsp; &nbsp; &nbsp; &nbsp; RandRange( 1, Len( strAllValidChars ) ),<br />
&nbsp; &nbsp; &nbsp; &nbsp; 1<br />
&nbsp; &nbsp; &nbsp; &nbsp; )&gt;<br />
&nbsp;<br />
&lt;/cfloop&gt;<br />
&nbsp;<br />
&nbsp;<br />
&lt;cfset strPassword = ArrayToList(<br />
&nbsp; &nbsp; arrPassword,<br />
&nbsp; &nbsp; &quot;&quot;<br />
&nbsp; &nbsp; )&gt;<br />
<br />
<br />
<br />
<br />
&lt;cfif IsDefined(&quot;FORM.spamcode&quot;)&gt;<br />
&nbsp; &nbsp; &lt;cfif form.spamcode neq strPassword &gt;<br />
&nbsp; &nbsp; not equal<br />
&nbsp; &nbsp; &lt;cfelse&gt;<br />
&nbsp;  finally working<br />
&lt;/cfif&gt;<br />
&lt;/cfif&gt;<br />
<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &lt;cfif isdefined (&quot;strPassword&quot;)&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &lt;cfoutput&gt;#strPassword#&lt;/cfoutput&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &lt;/cfif&gt;<br />
<br />
<br />
&lt;form action=&quot;&quot; method=&quot;post&quot;&gt;<br />
&nbsp; &lt;label&gt;<br />
&nbsp; &nbsp; &lt;input type=&quot;text&quot; name=&quot;spamcode&quot; id=&quot;spamcode&quot; /&gt;<br />
&nbsp; &lt;/label&gt;<br />
&lt;/form&gt;</pre><br />
<br />
this is just testing code but it is somehow messed up.<br />
every time when i click on the submit button i get not equal!<br />
I also need to add when i set up strPassword manualy instead of ArrayToList, for example<br />
&lt;cfset strPassword=test413&gt; and then insert in form test413 and compare it everything is fine. You can copy/paste this code to test it. Any ideas please?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum19.html">ColdFusion</category>
			<dc:creator>pirula</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread212854.html</guid>
		</item>
	</channel>
</rss>
