824 Topics
![]() | |
Just want to check my code to see if I wrote them right. If wrong please correct me Create a cfif block that checks for the condition: IsDefined("url.productid") AND NOT IsDefined("form.productid") --- so I wrote [code]<cfif IsDefined("url.productid") AND NEQ IsDefined("form.productid")>[/code] Create a ciff block that checks for the condition: if … | |
I am very new to coldfusion (& web server scripting in general) and have been asked to create a system that shows the websites statistics. please some help on how i would go about doing this, or maybe a link to a guide? thanks in advance :) | |
Hi all I’m new to ColdFusion and I have hard time to understand how to run a specific WMI query Until now I can only dump a WMI Class to a ColdFusion Array For example [code=coldfusion]<cfset obj_wmi = CreateObject( "component" , "wmi" ).init() /> <cfset arr_Array = obj_wmi.execQuery ( " … | |
Hi all, I'm trying to consume a Service called GetMemberPointsAvailable using VB.NET. Here is the wsdl: [url]http://sp-s3g-uat.iclp.com.au/ws/egapi/v1-0/egapi.cfc?wsdl[/url] This service is written in coldfusion - axis engine. The steps: I'm using VB.net on Visual Studio 2005. I created a new windows application project. Then I added a web reference with URL … | |
r CF MX 7 the CF admin setting for database queries timeout is set at 100. Because of this some of my queries timeout and give me back a timeout message. I am trying to overwrite it in my cfquery working with Oracle 9i: [code] <cfquery datasource="cityOra" [color=red]timeout="300"[/color] name="queryOne"> select … | |
Hi all... great forum! I'm basically on a crash self-learning course in Coldfusion and database-driven sites, so I'm pretty sure I'm missing some basic concept that would make this an easy query. If anyone could point me in the right direction I'd really appreciate it. This is for a site … | |
Hello and thanks for looking, Here is the run down, Intranet running with CF. Server MOBO Crashed out - Can not replace. I did not set up the CF Site, that person "Left to pursue other opportunities" I can get the pages to display, however the Databases did not migrate. … | |
Hello Experts I have a CF app (MX 6.1) that creates a text file, inserts some data (mainly numerical values along with a text header and footer), zip/encrypt/password protect with Winzip command line and then email to a 3rd party and CC some users. When the text file is opened … | |
We are lookign to purchase an applciation to mail newsletters, mass email etc... are there any good oens for sale you anyone can reccomend? thnx | |
Help! Hi, everbody! I have this problem: There is a “textbox” and a “submit” button. “Submit button” is disabled until something is written within “text box”. I am not able to do this switch. Could anybody help me? Here you are the code: [code=html]<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" … | |
Hello again, This may or maynot be proper thread for this topic, but here it is. I have a coldfusion 7 serve that I am running a page on, that uses hash(<email>,"MD5") all it well and good makes me a hash string and all. I store this hash and in … | |
I need to learn dynamic development. I know XHTML and CSS and own Dreamweaver CS3. Should I learn PHP or ColdFusion? What is the best way to learn? If I go with CF and have the developer version, will it cost me anything? Thanks | |
Ok so I'm making a survey for a website and I have a series of questions where the user can rate it from a list of choices and I have these questions in a table in access and the rating options in a table. I want to have the questions … | |
Hi all, I'm working on a report displaying a table, and below this table I would like to display a kind of summary, including some interesting values calculated from the table. I included this summary table into the Report footer, because I don't know where the best place is. The … | |
I am running CFMX 7.0 on W2k server (IIS 5.0) and I am trying to implement some simple ajax calls with the coldfusion pages that return data to add elements to a select box. The problem is every time I get the return data the page includes <!DOCTYPE HTML PUBLIC … | |
Does CF run any better or faster on Windows or Apache. Can you recommend some good shared hosting companies? Thanks | |
My cfm application runs fine, but I have a problem securing my pdf files: The application.cfm/login.cfm only works with .cfm files. So if a user write the full adress ([url]http://www.mysite.com/pdf/onlyforusers.pdf)[/url], the file will popup in the browser, - not god! Is the a way to make the user login - … | |
Friends, I have two bugs I would like to fix,I know thier is someone out thier that can shed some light into this. First one is simple I don't know what I typed wrong for the date function it says this as below Missing argument name. When using named parameters … | |
Can I query a SQL Server 2000 mydatabase.mdf file directly via SQL? If so, how? | |
Hello friends, I want to validate this two checkbox variables on an action page and also an update page [code=coldfusion]<cfinput type="checkbox" name="gender"checked> </label></td> <td>Female</td> <td><label> <cfinput type="checkbox" name="gender"> </label></td>[/code] by default I checked one of them, how can I check if it is checked and what is the best way … | |
I have a static website that I would like to add a few features to and am not sure of the best way to do it. I would like a div that I am going to add to the home page of the site to contain info from a database … | |
I need some help with <cfquery>, I want to authenticate an add form so the user doesn't enter the same value twice or more so I used recordcount like this [code=ColdFusion]<cfquery name="cool.recordcount" datasource="#Request.proto#"> <cfif cool EQ 0> INSERT INTO proton( name, moon ) VALUES( '#Trim(Form.name)#', '#Trim(Form.moon)#', ) <cfif cool EQ … | |
Hello Friends, I want to upload an image to the server and also insert the image path into the database, I have a sample of my code below [code]<cfinput type="text" name="city"> </label></td> <td>State</td> <td><label> <cfinput type="text" name="state"> </label></td> <td> </td> </tr> <tr> <td>Email</td> <td><label> <cfinput type="text" name="email" validate="email" required="no" > </label></td> … | |
I recently started using a remote image url to power my thumbnails on my website. i noticed a significant, but not across the board, slowdown in page load times. i ran an sql monitor and nothing is showing that would cause the issue, so i am wondering; 1. Would a … | |
Hi everybody! I’d like to set up a dynamic “name” in coldfusion 8, with dreamweaver CS-3! I have 2 Cf checkbox forms: “my” , “your” and 2 Cf Image fields: “name”, “site”. Depending on selection, result must be: “myname” or “yourname”; “mysite” or “yoursite”. Could anybody give me a hint? … | |
Hi, I have a list of about 100 pages, each of them using date_create variable for the date they were entered in the database; these entries are from years 2005 to 2008. I need to list the ones from the last six months only, but without hardcoding specific values, so … | |
Does anyone know of a good slideshow component or snippet for cf? basically i would just like to rotate a few thumbnail size images in a featured area of my website. thanks. | |
Hi. I have two sets of code below. The first is part of my old code off a page called item.cfm. the second is the same code, but i have attempted to change the destination link to a url i have stored in my database for the button btnaddtocart.gif. that … | |
Hello, I am having an issue with a page that works fine in IE and not FF. Bascially it is a <div> loaded with a basic coldfusion input form that posts back to parent of the div page. Problem I am having is a validation routine in javascript seems to … | |
Apologies if this is a really basic question, but i am quite new to coldfusion. I have a database where i have some stored standard data in. i can search this database for the data I want, (eg 10 specific records of data), and output it to a form with … | |
Does anyone here have programming experience with PHP and ColdFusion? I am looking for a comparison from someone who develops in both. Thanks | |
I had the following stored procedure calling from a .cfm page via the following cfquery command; this is the cfquery code on my cfm page: [code]<cfquery name="GetProduct" datasource="Allposters3" cachedwithin="#CreateTimeSpan(0,4,0,0)#"> {CALL spNavProducts (#NavID#)}</cfquery>[/code] below here is the actual sql from spNavProducts which is called: [code]set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go … | |
theres problem with this page and its annoying me sooo much basically because of the cfml code in the page its knocked the html and style of the page away. the web site is due this friday and im really stuggling any help would be appreciated [CODE]<cfquery name="GetUser" datasource="2ndhandbooks"> SELECT … | |
i have a problem with this page and neither me or my lecutrer can spot it. all i want it to do is display the details of the person who has just logged in. can any one help?? [CODE]<cfquery name="GetStudent" datasource="2ndHandBooks"> SELECT * FROM students WHERE matno = #Form.MatNo# AND … | |
Hi. I am running cf7 and have a problem. in my application.cfm i have this; <cfparam name="application.ImgPath" default="http://www.urbanposters.com/images/"> <cfparam name="application.TImgPath" default="http://www.urbanposters.com/images/thumbnails/"> <cfparam name="application.TImgPath2" default="http://www.urbanposters.com/images/thumbnails/"> <cfparam name="application.DImgPath" default="http://www.urbanposters.com/images/detail_images/"> Basically, they are the paths of my full size and thumbnail images. I am changing the way we are doing things, and the … | |
Can anybody help me with info on creating a system 5 star voting system in coldfusion or javascript. | |
Hey guys I'm sure some of you have gotten in this situation before. Unfortunately I do not have the experience in CF to know how to do this myself. Basically I'm updating a clients webpage where the webmaster left (quit? who knows) And it is written in cold fusion. During … | |
Hello Friends I ran into a syntax error updating a form, I have added a comment to the line below, Please could anyone tell me what I did wrong!!!! [code]<cfquery name="update student" datasource="#Request.super#"> UPDATE student SET studentfirstname='#Trim(Form.studentfirstname)#',. studentlastname='#Trim(Form.studentlastname)#',. address='#Trim(Form.address)#',. city='#Trim(Form.city)#',. state='#Trim(Form.state)#',. studentage='#Trim(Form.studentage)#',. studentclass='#Trim(Form.studentclass)#',. studentstartdate='#Trim(Form.studentstartdate)#',. studentgraduationdate='#Trim(Form.studentgraduationdate)#',. comments= <cfif Len(Trim(Form.comments)) GT 0> … | |
Check to see if a cfwindow exists When a window gets created by <cfwindow> coldfusion gives it a unique name and not the name you assigned it. I have found a work around in the way of checking for the title of the window as when you create a cfwindow … | |
Hello. Does anyone have a good solution or code snippet for on the fly image resizing? basically, here is my issue. i have a product feed and the provider gives the url to the image, and the size of the thumbnail. i want to create the thumbnail on my pages … | |
ive recently started this web page for a course in uni. however one page is causing a bit of bother basically when i insert my table into the are i want it in the whole page is affected, ie images and lists lost. i have uploaded a word file with … | |
Which type of license I need for a desktop standalone application developed on COLDFUSIONMX ???? | |
Hi Everyone, I am trying to create a text file and send it to a secure server (other than our local one) with coldfusion. I have already added the correct permissions with the Coldfusion Administrator (MX 7) so that is not an issue. However, I am running into difficulties finding … | |
Hi, Please help! We have data that was input into SQL Server using activedit. This data has all kinds of inline styles, and it looks horrible. Is there a way to parse the data and get rid of all inline styles? Thank you for any help you can provide. | |
Hello, I've been searching and searching, but can't for the life of me find anything related to an answer. I'm working off of the code found [URL="http://www.scottpinkston.org/blog/index.cfm/2007/7/13/Image-Uploads-and-Resizing-with-ColdFusion-8"]here[/URL] and want to store the web path ([url]http://www.google.com[/url] & not c:\www\google\) into a database for later. Is there a function built-in which takes … | |
Hello, I'm relatively new to ColdFusion so please bear with me. I'm sure there's probably a simple solution to this but I've literally spent hours online trying to find something but to no avail. Anyway, all I'm trying to do is query a query using the count function. Exm: [code] … | |
Howdy folks. I'm a newbie here. I am working on a remote server that we rent for our coldfusion websites. It has Windows Server 2003 installed on it. Something is wrong with the operating system, and I'm hoping that I won't have to reinstall it. It mostly works, but there … | |
Hey guys I having a problem with the null values and I need help when I have a Null value or Empty value I need to make the price = 0. Because I will get this error The value "" cannot be converted to a number Here is the the … | |
How do you update checkboxes on a form in cold fusion? I am using the following code to update other form elements : <cfquery name="qry_content" datasource="A4265_gbci"> update tbl_emailsignup set firstname = '#form.firstname#' , lastname = '#form.lastname#' , email = '#form.email#' , job = '#form.job#', company = '#form.company#' , address1 = … | |
I have coldfusion file that I am calling from my ASP page using the response.redirect() method. Inside my url string, I am passing a variable/value pair as shown below. [code] Response.Redirect("http://www.gpsit.com/tools/glr/index.cfm?acctuid=" + accntData.Uid); [/code] The page that I am calling is: [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> … |
The End.