Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
11
Posts with Upvotes
11
Upvoting Members
6
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
3 Commented Posts
3 Endorsements
Ranked #496
Ranked #334
~62.5K People Reached
Favorite Forums
Favorite Tags
Member Avatar for fiju

How to use init function in coldfusion.Could any one explain with a good simpla example. And also scopes(VARIABLES and THIS) while writing an init function in a component.

Member Avatar for anita.jena
0
5K
Member Avatar for jdavenport

Greetings, I am trying to upgrade an existing system from CF 8 to CF 10. I have a datasource that connects to a Unidata database. The datasource connects on the CF 8 server using driver class com.ibm.u2.jdbc.UniJDBCDriver and driver uniJDBC. I set the datasource up on CF 10 the same …

Member Avatar for Sculli
0
451
Member Avatar for subrata_ushasi

Hi, In coldfusion we print as <cfoutput>#variable#</cfoutput> but if I want to print # sign that is output will be #. how to do that ?

Member Avatar for EfrainGonzalezBermudez
0
346
Member Avatar for yankeefan24

Is there away to limt cftextarea by word not characters? I need to limit my form to 250 words. is there a way to do this?

Member Avatar for danarashad
0
337
Member Avatar for kendaop

Hi, I'm pretty new to ColdFusion, and I was wondering if someone could give me a little help. I'm getting the following CF error: **Incorrect parameter count in the call to native function 'DATE_FORMAT'** Here's the code that's producing it. <cfquery name="qryGetDateName" datasource="DATABASE" result="RESULT"> SELECT DATE_FORMAT(Events.event_date,"%W") AS "Date" FROM Events …

Member Avatar for arrgh
0
4K
Member Avatar for ziggydog

Hi everybody I am populating an array of structures with info for a product enquiry. <!--- ADD PRODUCT TO CART ARRAY ROUTINE---> <cfif IsDefined("btn_add")> <a href="%5C"> <cfset temp = arrayAppend(session.enquirycontents, structNew())> <cfset session.enquirycontents[arrayLen(session.enquirycontents)].ID = #form.ID#> <cfset session.enquirycontents[arrayLen(session.enquirycontents)].product = #productdetail.product#> <cfset session.enquirycontents[arrayLen(session.enquirycontents)].prodnum = #productdetail.prodnum#> <cfset session.enquirycontents[arrayLen(session.enquirycontents)].quantity = #form.Quantity#> <cfset session.enquirycontents[arrayLen(session.enquirycontents)].dimensions = …

Member Avatar for ziggydog
0
174
Member Avatar for RickCJ7

I am rewriting an internal Coldfusion app that stores passwords in the database using Encrypt and Decrypt into C#. My Coldfusion code is using two parameters like this: `<cfset strDecrypted = decrypt(ToString(toBinary(strBase64Value)),"keycode") />` Where strDecrypted is the decrypted string returned, strBase64Value is the encrypted string in the database and "keycode" …

Member Avatar for arrgh
0
484
Member Avatar for cee.gee.50

Hi everyone. I have not done any type of coding in some years and can use some help with a simple yet frustrating task. I am trying to allow registered users to upload a "profile" photo to the server and insert the path into the database. I would like to …

Member Avatar for arrgh
0
244
Member Avatar for tapuwa2002

I have a form field that should contain a number only. How can validate so that is doesn't take letters. For example I dont want it s accept aydhasdsiFGGS when I submit the form. <CFIF (find([A-Z],Telephone)) gte "1"> <CFLOCATION URL="error.cfm?PassedError=Possible%Spam."> <CFABORT> </CFIF> Please help

Member Avatar for arrgh
0
95
Member Avatar for PhilEaton

Hi, I am used to HTML. What is Coldfusion? Why do people use it? What are the circumstances you would use it. Does it require proprietary software? What are the advantages and disadvantages to using it over HTML? Is it compatible with CSS,Javascript, PHP, and MySQL? What are personal opinions …

Member Avatar for arrgh
0
2K
Member Avatar for tapuwa2002

Hi Guys I have a number and I only want to display the first 3 digits could you please help. Thanks <cfset mytour=885879><cfoutput>#Left(#mytour#, 3)#</cfoutput> How can I make the result into a global variable to use later. Forgive me am a noob to coldfusion

Member Avatar for arrgh
0
106
Member Avatar for tapuwa2002

Hi Please could you assist I have made a validaion. But when the correct field is not entered properly. Validation works but the javascript pop does show please see code below. <CFIF email IS (find("@",address)) neq 1> <CFLOCATION URL="error.cfm?PassedError=Please%20Supply us email address."> <CFABORT> <script type="text/javascript"> alert('Please Check Your Email'); </script> …

Member Avatar for arrgh
0
273
Member Avatar for Decamm

Hi there, here i post new article because need to improve my upload function. What i want is to make my selecting item for uploading file to be multiple select, only by pressing "ctrl" button, like yahoo mail does. Here I create a code for upload file but the problem …

Member Avatar for arrgh
0
218
Member Avatar for teedoff

Im trying to figure out the best wasy to loop over an array, but limit one loop to the first five positions. Then in a separate loop display the rest of the array. I am limited to what I can use. Meaning we code everything within cfscript tags in our …

Member Avatar for arrgh
0
128
Member Avatar for raul prakash

I have a 64bit server with the Coldfusion 9.0.2 with IIS, our latest server scan for PCI compliance returned the following error as "urgent" Unify eWave ServletExec 3.0C UploadServlet Unprivileged File Upload Is this part of Coldfusion? or IIs. is it safe to remove it? how do i remove it?

Member Avatar for arrgh
0
75
Member Avatar for teedoff

I have two inputs for users to enter, what should always be a nueric string. This string gets processed and some mathmatical cals done to them, then the results are returned to the same page via cf div and bind attribute. Everything works if only numbers are entered. I have …

Member Avatar for arrgh
0
378
Member Avatar for mmonclair

I'm stumped on a query filter I'm trying to put together. Here's what I need it to do: 1. Run a query that populates a table with order information to be gathered for regular invoices. 2. A user can filter date ranges, location, client and payment status. The options in …

Member Avatar for mmonclair
0
259
Member Avatar for xpstyle36

Hey guys, My name is Dane and I am an 18 year old I.T Apprentice based in Blackpool. Our I.T manager has gone on holiday and I have had a call giving a deadline on getting a form on our intranet working, I look and it is all ColdFusion! I …

Member Avatar for xpstyle36
0
965
Member Avatar for emaleroland

I was asked to look at some code written in ColdFusion which I've had very little exposure to and haven't seen since the 90s and some of it is not clear and I'm sure it's basic. I got past one error because of a typo in a variable name. Now, …

Member Avatar for arrgh
0
260
Member Avatar for ziggydog

Hi there everybody I am having problems with pagination using cfloop and the grouping of cfoutput in nested cfoutput tags. The code below lists my results eg: producer query results producer query results producer query results etc what i require is eg producer 1 query results 1 query results 2 …

Member Avatar for arrgh
0
147
Member Avatar for lgriess

I've seen other old old posts from 5 years ago asking why you would want to use cold fusion and no one came up with a proper answer as to why to use it over a more popular language platform like PHP or .Net. I'm against Cold Fusion, I've seen …

Member Avatar for arrgh
-1
236
Member Avatar for grabit

Hi CF people and a prosperous New Year to you all I have the following query on an action page: <cfquery name="getimage" datasource ="#dsn#"> SELECT ID, partImage, ImageAlt FROM engReconParts WHERE ID=#form.ID# </cfquery> when i run this page i get this error - Element ID is undefined in FORM. I …

Member Avatar for arrgh
0
101
Member Avatar for SusanHAllen

I am finding an extraneous  in a very simple cfm page. It does have a cfinclude of straight text named as a .cfm template. This character shows up with or without the cfinclude -- I add the cfinclude content into the main page and the character is still there. …

Member Avatar for arrgh
0
157
Member Avatar for mmonclair

Hi all, I have another CFHTTP question. I am on another project where I have one sign-in form, but depending on the user's prior activity, or lack thereof, I have three places I can direct them. 1. If they are a returning user, they go to the main target, an …

Member Avatar for arrgh
0
8K
Member Avatar for webmedia

My sms gateway save message data in log(MSSQL) in Hex code, like this: 0046003A0062006F006B0040007700650062006D0065006400690061002E0070006C These are Unicode message (16 bits per characters) Each 4 characters is AsciiHex representation of a character (in hex): For example: “0046” = 46hex = ‘F’ “003A” = 3Ahex = ‘:’ how can I convert this …

Member Avatar for webmedia
0
707
Member Avatar for lafalot

Hi, Sadly, I use MS Access as the backend db for our Coldfusion website. Every once in awhile, I receive the following error: "Error Executing Database Query. Operation must use an updateable query" This is in reference to an insert query that I have running. This query works most of …

Member Avatar for arrgh
0
97
Member Avatar for Nisha1705

Hi, Am doin ma final project usin asp.net which is website for hospital. What i want is when a user tries to create an account with the same name an error msg shud display. When i execute the code it says violation of primary key. I don wan t't to …

Member Avatar for arrgh
0
77
Member Avatar for teedoff

ok I've tried to work through this myself for several days, but there's something I'm missing. Either my queries are wrong, or my functions are wrong. I'm using Ben Fortas CF AJAX dynamic select drop downs tutorial and everything is working with no errors, but I'm not getting the desired …

Member Avatar for arrgh
0
470
Member Avatar for alinbabba

Hello everybody, I would like to start learning ColdFusion language and it is very hard to find a “teacher”. Let me explain: I have very little experience with HTML and CSS and … that’s about it. I am surprise how hard is to find literature necessary to learn ColdFusion (for …

Member Avatar for subrata_ushasi
0
746
Member Avatar for mmonclair

Hello all, I have a challenge. Here's the scenario: There are two sites. One has an activity and post-tests for some of those activities, and one has post-tests for the rest of them. They are two businesses, and for security purposes, neither allows direct queries of the other's backend from …

Member Avatar for mmonclair
0
4K