726 Topics
| |
Hey guys, i have looked all over the web on how to upload a file to MySQL database and retrieve using coldfusion. I know i can do it in PHP, but im not using that anymore. Is there a script or some place that someone can point me so i … | |
Hi, I am unable to convert the excel cell from string format to number format. The code that I am using is: <cfset trial_variable = evaluate('getRow' & i & 'TotalBook.totalunit')> <cfset trial_variable2 = evaluate('getRow' & i & 'Total.totalunit')> <cfset trial_variable3 = trial_variable/trial_variable2> <cfset trial_variable4 = trial_variable3*100> <cfif isNumeric(trial_variable4)> <Cell ss:StyleID="yellow"><Data … | |
Hello, well i have a problem, i was wondering if there is a way to return a query in a function? This is what i have so far, but i get an error. [CODE] <cffunction name="select_query" access="public" returntype="any"> <cfargument name="as" type="string" required="yes"> <cfargument name="status" type="string" required="yes"> <cfset var sql = … | |
I am trying to allow a user to download a directory on the server as a zip file. How do I do this? | |
hi to all... i want to be able to see which pages where visited and from how many users... (Un)fortunately i use rewrite rulez... so the actual url is not the real cfm file ex domain.com/toys/4857-toy-name/ is product_view.cfm?param=4857-toy-name So in a onrequestend.cfm i used the following code in order to … | |
Hi all, We are migrating from Coldfusion MX to Coldfusion 9. Yesterday, we were able to access the cfadmin. Today, when I go to cfide/administrator/index.cfm, I get the following error: "Tag CFAuthenticate is not supported in ColdFusion" I don't use CFAuthenticate in any of my code. Can anyone help? Thank … | |
Good day all, well i have been searching the web and i cannot find an answer to my question. First off i dont know if i should post this here or in the Javascript section because i am a coldfusion user and didnt know if javascript does this. Second my … | |
Hello, I've been migrating a site from one server to another. Both servers are running Plesk. There was no migration manager for the new server, and no backups available for the old server, so we chose to transfer the files by FTP. The MySQL database has been transferred by a … | |
Hi to all.... i signed up in google analytics and i copied paste the javascript code in a onendrequest.cfm file. The issue is that in pages that i use cfgrid, the content of the cfgrig is not showning up at all. I have the header bar the footer bar but … | |
I just setup a border layout for my page, here's some code: [CODE] <cflayout type="border"> <cflayoutarea position="top" size="80" align="right"> <p> <cfform name="logMeout" action="#CGI.script_name#" method="post" target="_top"> <cfinput type="submit" name="logout" value="Logout" /> </cfform> </p> </cflayoutarea> ... [/CODE] When I click that button, the logout page displays in the top bar. What I … | |
Hi, I have one page thats really throwing alot of code violations at validator.w3.org. This is a CF site and when I view source from the browser and paste the code in the validator, I get like 190 errors all stemming from one piece of coding I think. I created … | |
Hi Coders, I recently found a script online that clears tweets from a twitter account. The script is written in coldfusion which is not supported by most web hosts as you guys know. I'm a programming newbie, so I want to know if it's possible to code this same script … | |
<cfoutput> #DateFormat(Now(), "mmm-dd-yyyy")#<br> </cfoutput> the result is: Jul-09-2009 What i wanted to do is....to add 1 year from todays date or I want to show a date that is a year after. Is thare a cf tag that will help me do that? is that possible? Do i need to … | |
I am trying to create an image search but having a small issue. I think I'm brain dead lol What I'm wanting is a way to display images from my database in more than one column in my table without each column being a repeat of the other columns. I … | |
Ok what am I missing?? I have a dropdown list so that admin can select a value from and then update the database. The list IS populated but the select box isn't wide enough to see any of the option values. I even tried adding a size attribute. I know … | |
I have posted this in the AJAX forum, but no responses so I thought maybe I might have asked or went about this from the wrong angle. I have a search page written in CF. It has several form fields that a user can enter any combination of search criteria … | |
Hello CF Coders, I have another question. Basically i want to use a cfif statement with out haveing to use it until im ready. Ill give an example and problem i getting. page.cfm [CODE=CFM] <body> <cfif #URL.get#> or <cfif isDefined(URL.get)> // execute code </cfif> <a href="page.cfm?get=this">click</a> </body> [/CODE] When i … | |
Hello all, Ive been stuck and i dont know how to add a .mdb or .accdb to my "Data & Service". Currently i am using CF9. If its not too much trouble, i would like to know how to do both if this is possible? | |
Hi, every one am trying to capture referral data from various sources using ColdFusion such as Google Adwords, Yahoo, MSN, Google etc. I have done this in the past using PHP as it allows access to the header variables, but I'm rather rusty when it comes to ColdFusion having only … | |
hi plz anybody tell m what is th COLD FUSION? what is the basic thing of it? where i could be implemented? | |
[code]<cfquery datasource="yyyyyy" name="getData1" > SELECT Category FROM Products WHERE Product_ID=#displayImg2# </cfquery> <cfset PosInCatOfImg= > // how learn position of this Product_ID in getData1 query result data of Products ?[/code] eg is the 13th row ??? | |
When doing email blasts using CFMAIL and CFMailPart email accounts with gmail can not view the content, (it is blank). I am using the following construct: CFMAIL CFMailPart type="TEXT" Text version of EMail here. CFMailPart type="HTML" HTML version of EMail is here. No one seems to have a problem except … | |
this application shows you how to declare variables and display variables. the end result of this code is showing you the total price after tax. this is mainly for beginners. | |
I am having a problem looping out a value from posted data into a loop, heres some code: [CODE] <cfset tempAmount = "URL.amount_" & 1> <cfset tempQuantity = "URL.quantity_" & 1> <cfoutput> <cfif #tempAmount# EQ 1> Yes <cfelse> no </cfif> #tempAmount##tempQuantity# </cfoutput> [/CODE] That is a small test section I … | |
| Hello, I need to access a Unidata database residing on an AIX unix server using CF from a Windows server. I currently access this same db/server from CF on my linux server with no problem. I set up the new datasource in CF Admin on the windows server using the … |
Hi all, Can anybody help me in resolving this issue. The details are mentioned below. I am generating PDF using <cfdocument> tag of Cold Fusion. I have a header and footer to be displayed on each page. I am rendering data in a table. If rows in the table exceed … | |
Hi all, has anyone tried to insert a checkbox column as a multiple row selection in a cf8 cfgrid (html mode)? If yes how? Thnx | |
I have several queries on my site. I have a search.cfm that queries my database, then for each records I have a link coded in on the #item# column of my records. I also have the ability for users to go to "section" pages that have queries based on the … | |
Hi All Can anyone recommend good CF reference guide for quick access when you are mobile and dont have internet access. | |
Hello CF coders, I am new to coldfusion and it seems very nice to use. I used to be a PHP coder, but then switch last week because i like some of the things that CF has to offer. I am currently using Coldfusion 9 with Dreamweaver CS5. The one … |
The End.