Error message

2006-06-27 Thread Mike | NZSolutions Ltd
Has anyone encountered this before... Error Occurred While Processing Request 10 = 10 Please try the following: Enable Robust Exception Information to provide greater detail about the source of errors. In the Administrator, click Debugging Logging Debugging Settings, and

Re: Web services / parameter / headache

2006-06-27 Thread Denny Valliant
I think that error means there isn't a dummy wsdl service. Try: cfscript ws = CreateObject(webservice, http://www.weather.gov/forecasts/xml/SOAP_server/ndfdXMLserver.php?wsdl;); NDFDgenResponse = ws.NDFDgenByDay(latitude=38.99,longitude=-77.99

Re: Error message

2006-06-27 Thread Tom Chiverton
On Tuesday 27 June 2006 08:02, Mike | NZSolutions Ltd wrote: Has anyone encountered this before... You'll kick yourself... Error Occurred While Processing Request 10 = 10 gte :-) -- Tom Chiverton This email is sent for and on behalf of

iTunes integration

2006-06-27 Thread Will Tomlinson
Has anyone done any iTunes integration? I have the administrator's guide here and wondered what all it might involve. Thanks, Will ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244845 Archives:

Re: Major cities around the world

2006-06-27 Thread Tom Chiverton
On Monday 26 June 2006 22:24, Carlos A wrote: I'm looking for a service that will provide a database containing 200-300 countries Which planets that then ? There are only just under two hundred countries (http://www.un.org/Overview/unmember.html) :-) -- Tom Chiverton

getLocale() is always English

2006-06-27 Thread Aidan Whitehall
Is there a way of getting a localised version of the string returned by GetLocale()? i.e. kinda like LSGetLocale() which would return the Spanish for Spanish (Standard) if the locale had first been set to that. Thanks -- Aidan Whitehall

RE: getLocale() is always English

2006-06-27 Thread Robertson-Ravo, Neil (RX)
cfdump var=#GetLocale()# cfset locale = SetLocale(Spanish (Standard)) cfdump var=#GetLocale()# -Original Message- From: Aidan Whitehall [mailto:[EMAIL PROTECTED] Sent: 27 June 2006 10:12 To: CF-Talk Subject: getLocale() is always English Is there a way of getting a localised

RE: Major cities around the world

2006-06-27 Thread James Smith
I'm looking for a service that will provide a database containing 200-300 countries Which planets that then ? There are only just under two hundred countries (http://www.un.org/Overview/unmember.html) :-) That is a list of the 191 UN Member States, there are loads of countries on this

RE: getLocale() is always English

2006-06-27 Thread Adrian Lynch
I think he wants GetLocale() to return Español (Estándar) Ade -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 27 June 2006 10:16 To: CF-Talk Subject: RE: getLocale() is always English cfdump var=#GetLocale()# cfset locale = SetLocale(Spanish

RE: getLocale() is always English

2006-06-27 Thread Robertson-Ravo, Neil (RX)
Ah, then he is out of luck I believe http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functa80.htm -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: 27 June 2006 10:50 To: CF-Talk Subject: RE: getLocale() is always English I think he wants GetLocale()

RE: cfthrow from onRequestStart / flashagteway

2006-06-27 Thread Andrew Stevens
Thanks for that. I had hoped I could throw the exception back to Flash like it can be done from methods in other components :( I'm trying to make use of onError but I'm not sure it fits. How does this sound: I implemented onError, which now fires when I cfthrow from inside onRequestStart. In

Re: getLocale() is always English

2006-06-27 Thread Aidan Whitehall
Ah, then he is out of luck I believe On our current version, yeah. However, I've just installed CFMX 7... and looks like they've introduced getLocaleDisplayName() to solve exactly that. ~| Message:

RE: getLocale() is always English

2006-06-27 Thread Robertson-Ravo, Neil (RX)
Nice... -Original Message- From: Aidan Whitehall [mailto:[EMAIL PROTECTED] Sent: 27 June 2006 12:03 To: CF-Talk Subject: Re: getLocale() is always English Ah, then he is out of luck I believe On our current version, yeah. However, I've just installed CFMX 7... and looks like

3 select date rendering

2006-06-27 Thread Richard Dillman
Below is how i currently do date Selections, is there a cleaner way to do this? I've read that loops tend to slow things down, but this seemed the easiest thing to do at the time. cfif not isdefined(BIRTHDAY) cfset BIRTHDAY = now() /cfif labelDOB: /label !--- Month --- select name=DOBMonth

Re: 3 select date rendering

2006-06-27 Thread Tom Chiverton
On Tuesday 27 June 2006 12:51, Richard Dillman wrote: Below is how i currently do date Selections, is there a cleaner way to do this? I've read that loops tend to slow things down, but this seemed the easiest thing to do at the time. You could 'unroll' the loops if you wanted to, but it's

Re: iTunes integration

2006-06-27 Thread Robert Everland III
Why would you want to integrate Itunes into ColdFusion? Bob ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244857 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription:

Re: getLocale() is always English

2006-06-27 Thread Paul Hastings
Aidan Whitehall wrote: Is there a way of getting a localised version of the string returned by GetLocale()? it's showing that because you haven't changed the locale for that request. i.e. kinda like LSGetLocale() which would return the Spanish for Spanish (Standard) if the locale had first

RE: Image processing

2006-06-27 Thread Chad Gray
ImageCR3 has no limit and it has never crashed our server. I am in the printing industry and I use ImageCR exclusively for our web based image re-purposing needs. I have a web based image approval system for our photography studio that currently has more then 5000 2500px X 2500px master images

Re: how to retrieve objectguid (LDAP) in a legible format

2006-06-27 Thread Brian Dumbledore
You are probably right, I should perhaps just live with the assumption tht samaccoutname is unique and user will be deleted adn addedback again as a new one. Thank you all for your time.. I really appreciate that. ~| Message:

RE: Image Swap with JS/CF

2006-06-27 Thread Andy Matthews
Simplest way would be to load all of the images onto the page at once, then show the large version with javascript. No CF involved, other than to load the specific information about this product. !//-- andy matthews web developer certified advanced coldfusion programmer

Re: Image processing

2006-06-27 Thread Adam Churvis
Amen, brother. CFX_ImageCR3 rocks, and it's rock-solid. Been using it for years on image processing-heavy sites with no problems. And the image quality at higher compressions beats anything else on the market. Highly recommend it. Respectfully, Adam Phillip Churvis Certified Advanced

Missing Icons

2006-06-27 Thread Steve LaBadie
All HTML documents do not show the IE flag in the wwwroot. When I check properties the IE flag is assigned, but will not reflect. Steve LaBadie, Web Manager East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

RE: Error message

2006-06-27 Thread Ben Nadel
Don't use SELECT * in your queries. This usually happens if you use SELECT * then change the structure of a data table. SQL caches the query structure and then the fields don't match up when the query is run again (post table altering). If you want a quick fix (other than changing your query),

Re: Major cities around the world

2006-06-27 Thread Ken Ferguson
There are 191 UN member countries and the US State Department formally recognizes 192 countries. Of course, some people will add in a couple of extras like Taiwan and E. Timor and Palestine, claiming that these are sovereign nations. So when you get right down to it, you've got a maximum of

CF Report Builder RDS Problems

2006-06-27 Thread Howell Craig H Civ WRALC/ITMS
Has anyone had problems getting RDS to work in CFRB? Depending on how we set it up, we get a can't use SSL or webserver unreachable error. Any advice? CF 7.0.1 CFRB Build 121050 IIS 5.0 and IIS 6.0 ~| Message:

RE: Form Spam

2006-06-27 Thread Scott Stewart
Ok Are you referring to the actual mapping of the CFIDE directory or should I have a mapping set up for blog.cfc? Scott Stewart ColdFusion Developer/Administrator GlobalNet Services, Inc. www.gnsi.com 301-770-9610 x358 (Voice) 301-770-9611 (Fax) The information contained in

Re: getLocale() is always English

2006-06-27 Thread Aidan Whitehall
it's showing that because you haven't changed the locale for that request. Erm... I thought that's what I was doing with CFs SetLocale() and passing in the locale name... ? pre-cf7, using core java buys you a LOT more locales. post-cf7 you get all the core java locales AND the nice java

Re: Major cities around the world

2006-06-27 Thread Chris Montgomery
Carlos A said the following on 6/26/2006 4:24 PM: I'm looking for a service that will provide a database containing 200-300 countries with a related table containing the major states (I know other countries do not necessarily refer to them as states) for each country. I've purchased the

Re: Image processing

2006-06-27 Thread Mingo Hagen
Claude Schneegans wrote: Can someone suggest a tried, tested custom tag or a cfc that I could use to have users upload images to the server. Until recently I used CFX_image from JManner, it is free, but the algorithm used for resizing is just not good enough. We're using cfx_openimage also

Re: getLocale() is always English

2006-06-27 Thread Paul Hastings
Aidan Whitehall wrote: it's showing that because you haven't changed the locale for that request. Erm... I thought that's what I was doing with CFs SetLocale() and passing in the locale name... ? if you're still getting the server default locale, then something's probably wrong. or you're

Re: getLocale() is always English

2006-06-27 Thread Aidan Whitehall
if you're still getting the server default locale, then something's probably wrong. or you're asking for the locale the wrong way? I was just doing: cffset setLocale(Spanish (Standard)) and getLocale() was returning: Spanish (Standard) whereas I was after the Spanish for that, really

k2admin command

2006-06-27 Thread Brad Wood
On my Linux server (CF MX7) I've got a whole bunch of k2admin processes showing up in top. They aren't taking much resources, but there is over 30 of them, and there is usually only one. I assume this is part of Cold Fusion. Can anyone tell me what k2admin does and why there are so many?

Re: k2admin command

2006-06-27 Thread Jason Radosevich
http://search.newcastle.edu.au/verity_docs/relnotes/K2Admin_relnotes/wwhelp/wwhimpl/common/html/wwhelp.htm?context=administrationfile=admin_rnotes5.html I think this may help ?? On 6/27/06, Brad Wood [EMAIL PROTECTED] wrote: On my Linux server (CF MX7) I've got a whole bunch of k2admin

Re: getLocale() is always English

2006-06-27 Thread Paul Hastings
Aidan Whitehall wrote: and getLocale() was returning: Spanish (Standard) sorry, yes that's expected behavior. If there are enough i18n improvements and features in CFMX7 (such as getLocaleDisplayName() ), I'll try and use them to make the case for an upgrade from CFMX 6.1. there are

Re: SOT: Getting data into a web site

2006-06-27 Thread Matthew Cleveland
Cheap copy and paste (note: you still need to find someone who writes excel macros): First, get your data into a spreadsheet. Next, separate your columns by adding new columns, with supposedly unique letter combinations (such as aaabbb, bbbccc, cccddd) of characters. Next, in your last column,

vspider

2006-06-27 Thread Snake
Someone asked me about vspider and verity today, but I have never used it. This obviously is not installed by default with CFMX7, so is it a free download or? I have read up a bit on it, Can vspider collections be setup and managed totally via CFML as with normal verity collections, or doe

RE: Web services / parameter / headache

2006-06-27 Thread Ian Skinner
Can you put the dummy?wsdl URL in a browser and get the wsdl file? Is it not dummy.cfc?wsdl? Are you using any kind of web server security on the website dummy.cfc is in? Such as IIS - window integrated security? -- Ian Skinner Web Programmer BloodSource www.BloodSource.org

Re: vspider

2006-06-27 Thread Jim Wright
On 6/27/06, Snake [EMAIL PROTECTED] wrote: Someone asked me about vspider and verity today, but I have never used it. This obviously is not installed by default with CFMX7, so is it a free download or? I have read up a bit on it, Can vspider collections be setup and managed totally via CFML

RE: vspider

2006-06-27 Thread Dave Watts
Someone asked me about vspider and verity today, but I have never used it. This obviously is not installed by default with CFMX7, so is it a free download or? Actually, it is installed by default with CFMX 7. I have read up a bit on it, Can vspider collections be setup and managed

RE: CF Report Builder RDS Problems

2006-06-27 Thread Mansen Robert E Civ WRALC/ITMS
I've seen the same problem. Anyone else seen this? Has anyone had problems getting RDS to work in CFRB? Depending on how we set it up, we get a can't use SSL or webserver unreachable error. Any advice? CF 7.0.1 CFRB Build 121050 IIS 5.0 and IIS 6.0

Array/Structure and Amazon API

2006-06-27 Thread Howard Owens
I'm running a specific query against the Amazon API/AWS. The problem is, certain of my attributes seem to be overwritten by the last result of the query set, and I don't understand why. Here's my script (with some variables removed for brevity): cfscript AmazonXML =

RE: Array/Structure and Amazon API

2006-06-27 Thread Ian Skinner
Did you cut and paste or type your code example in? I had a similar problem once until I finally noticed that some of my i strings where actually one 1 strings. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary

Re: Array/Structure and Amazon API

2006-06-27 Thread Aaron Rouse
The titles are outputed unique though? I'd thought with the way that is written you would get 10 records with the same title, rank, and asin displayed but I am going on next to no sleep today. Try replacing: AddBook = ArrayAppend(BookList,Book); With BookList[i] = Duplicate(Book); On

Charting a Baseline in Coldfusion

2006-06-27 Thread Jamie Jackson
Say I've got a normal bar chart, but I want to call out a flat baseline behind the bars. For instance, maybe I've got bars indicating Joe, Sally, and Mary's GPA, and want to show a horizontal baseline (say class average) *behind* the bars. I seem to need this sort of chart fairly often, and

Re: vspider

2006-06-27 Thread Jamie Jackson
Someone asked me about vspider and verity today, but I have never used it. This obviously is not installed by default with CFMX7, so is it a free download or? Actually, it is installed by default with CFMX 7. I have read up a bit on it, Can vspider collections be setup and managed

Getting the user's IP address

2006-06-27 Thread Andy Matthews
I'm supposed to be storing the user's IP address in a table. I looked up the docs and chose CGI.REMOTE_ADDR as the right variable. Now the client emails me and says that all of the form submissions are coming from 127.0.0.1. I check in the database and indeed, every one of the submissions is

Re: Changes to files not taking effect

2006-06-27 Thread Cedric Villat
So after a lot of googling and testing on my computer, I figured out the problem. It was my copy of ZoneAlarm which was updated and had a bug: http://download.zonelabs.com/bin/free/information/zap/releaseHistory.html#6.5.722.000 Apparently, it was preventing the Date Modified from being updated

Re: Getting the user's IP address

2006-06-27 Thread Barney Boisvert
Do you have some kind of local proxy server that's passing requests to CF and rewriting the IP address? I could imagine that scenario for circumventing the CF licensing restrictions to use developer edition in production. cheers, barneyb On 6/27/06, Andy Matthews [EMAIL PROTECTED] wrote: I'm

RE: Getting the user's IP address

2006-06-27 Thread Ian Skinner
Are you doing any kind of internal redirects in the CFM code, so that the server is talking to itself? -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run.

RE: CF Report Builder RDS Problems

2006-06-27 Thread Howell Craig H Civ WRALC/ITMS
Duh.I figured out the problemthe port is not the IIS port, but (in multi-server config) the cfusion Jrun server HTTP port. -Original Message- From: Mansen Robert E Civ WRALC/ITMS Sent: Tuesday, June 27, 2006 1:10 PM To: CF-Talk Subject: RE: CF Report Builder RDS Problems I've

Re: Getting the user's IP address

2006-06-27 Thread Gareth
CGI.HTTP_X_Forwarded_For Might help. - Original Message - From: Andy Matthews [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, June 27, 2006 7:40 PM Subject: Getting the user's IP address I'm supposed to be storing the user's IP address in a table. I looked up

RE: Getting the user's IP address

2006-06-27 Thread Andy Matthews
That's exactly what we're doing. We're proxying through Apache to another version of Apache which runs Coldfusion. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//-

RE: Getting the user's IP address

2006-06-27 Thread Andy Matthews
Hmmm... That looks to have done it. http://bigcomfycouch.com/NEWask.cfm You rock Gareth. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From:

Re: Getting the user's IP address

2006-06-27 Thread Gareth
:) I have a similar setup: Apache proxy to IIS box. Took me ages to find the x_forwarded_for cgi thing. Glad it helped. - Original Message - From: Andy Matthews [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, June 27, 2006 8:13 PM Subject: RE: Getting the

Re: Array/Structure and Amazon API

2006-06-27 Thread Howard Owens
The titles are outputed unique though? I'd thought with the way that is written you would get 10 records with the same title, rank, and asin displayed but I am going on next to no sleep today. Try replacing: AddBook = ArrayAppend(BookList,Book); With BookList[i] = Duplicate(Book); Brain

Re: Getting the user's IP address

2006-06-27 Thread Nick Tong - TalkWebSolutions.co.uk
There are for of them to check i think: HTTP_X_FORWARDED_FOR HTTP_X_FORWARDED HTTP_FORWARDED_FOR HTTP_FORWARDED On 27/06/06, Gareth [EMAIL PROTECTED] wrote: :) I have a similar setup: Apache proxy to IIS box. Took me ages to find the x_forwarded_for cgi thing. Glad it helped. -

Re: Getting the user's IP address

2006-06-27 Thread Bryan Stevenson
A word of caution on CGI.HTTP_X_Forwarded_For It only exists if the IP has gone through a proxy etc.so make sure you check for it's existence ;-) Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264

RE: Getting the user's IP address

2006-06-27 Thread Andy Matthews
Well, for our setup it will always be going through a proxy. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Bryan Stevenson [mailto:[EMAIL

RE: Getting the user's IP address

2006-06-27 Thread Dave Watts
A word of caution on CGI.HTTP_X_Forwarded_For It only exists if the IP has gone through a proxy etc.so make sure you check for it's existence ;-) A word of caution on CGI variables in general - they will always appear to exist if you use IsDefined, whether they actually exist or not. So,

RE: Getting the user's IP address

2006-06-27 Thread Brad Wood
I thought somebody posted once and said that due to the nature of the different cgi vars available from all the different web servers, any variable was always defined in the cgi scope. It was a feature of the cgi scope. Personally I am still trying to figure out what is defined in the minty

is URL a structure, or not?

2006-06-27 Thread Bill . Woodland
Hope the answer isn't already here, but I have looked at all the attempted to dereference a scalar variable messages and haven't found a solution. Moved from CF 4.5 to CF MX7. All of our code is written using the same methodology, using cfif isdefined(url.testvalue) to use values passed in

RE: is URL a structure, or not?

2006-06-27 Thread Russ
Any chance that the query modusers has a field called URL? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 27, 2006 4:11 PM To: CF-Talk Subject: is URL a structure, or not? Hope the answer isn't already here, but I have looked at all the

Re: is URL a structure, or not?

2006-06-27 Thread Aaron Rouse
Should this sample code be returning an error? The reason I ask is it runs just fine for me both on 6.1 and 7. To answer the question in the subject yes URL is a structure and typically the cause of an error like you are describing is something like cfoutput#URL#/cfoutput since that was allowed

Re: is URL a structure, or not?

2006-06-27 Thread Matt Williams
Preferred way to do this is cfif StructKeyExists(URL, 'TestValue') On 6/27/06, Russ [EMAIL PROTECTED] wrote: Any chance that the query modusers has a field called URL? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 27, 2006 4:11 PM

Strip dots out of ip address

2006-06-27 Thread coldfusion . developer
All, I'm trying to strip the dots out of ip addresses. I'm trying to use it as part of a unique numeric value for e-mail confirmation. 69.124.49.27 Thanks. D ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244906

Re: Strip dots out of ip address

2006-06-27 Thread Bryan F. Hogan
replace(yoyoma, '.', '', 'all') - Original Message - From: [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, June 27, 2006 4:33 PM Subject: Strip dots out of ip address All, I'm trying to strip the dots out of ip addresses. I'm trying to use it as part of a

RE: Strip dots out of ip address

2006-06-27 Thread Ben Nadel
Replace( 69.124.49.27, ., , ALL ) Also, Michael Dinowitz had a good piece of code that actually converted the IP into an integer. I can't remember what it was but I think it basically converts from base 2 to base 10 or something... Maybe he can post it (please). ... Ben

Re: Strip dots out of ip address

2006-06-27 Thread Nick Tong - TalkWebSolutions.co.uk
cfset newip = replace(ipAddress,.,,all) / ? On 27/06/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: All, I'm trying to strip the dots out of ip addresses. I'm trying to use it as part of a unique numeric value for e-mail confirmation. 69.124.49.27 Thanks. D

Re: Strip dots out of ip address

2006-06-27 Thread Phillip B. Holmes
No need for anything fancy there: cfscript strIP = '69.124.49.27'; strOut = replace(strIP,'.','','ALL'); writeOutput(strOut); /cfscript Best, Phillip Holmes Quoting [EMAIL PROTECTED]: All, I'm trying to strip the dots out of ip addresses. I'm trying to use it

Re: is URL a structure, or not?

2006-06-27 Thread Aaron Rouse
True, which he does in some of his tests but code migrating from CF 4.5 more than likely would not be doing that on the URL scope :) Regardless his sample code works for me in two different versions of MX and only change I did was the query I changed the datasource name and made a temp table to

Re: Dreamweaver

2006-06-27 Thread John Dowdell
Steve LaBadie wrote of installing some version of Dreamweaver atop a reinstalled operating system of some sort, and not being able to use File Transfer Protocol. Here's an efficient path to troubleshooting FTP problems in Dreamweaver:

Exception handling with Alagad Image Component

2006-06-27 Thread Ken
Hi. This question is for people who have successfully used the Alagad Image Component. Can anyone tell me how to handle ReadImage and WriteImage Errors, especially if you installed the JAI libraries, and are now trying to process a non-conventional image format, like a tif file? I tried using

RE: Strip dots out of ip address

2006-06-27 Thread Dave Watts
I'm trying to strip the dots out of ip addresses. I'm trying to use it as part of a unique numeric value for e-mail confirmation. 69.124.49.27 IP address dotted-quad values can be converted directly into integers: http://www.cflib.org/udf.cfm?ID=946 I wouldn't recommend just removing the

RE: is URL a structure, or not?

2006-06-27 Thread Russ
As I've said, is it possible that his query is returning a column named URL. And since he's inside a cfoutput block, cf looks to the query first when dereferencing variables (I believe). What's the order again? So a reference to url becomes a reference to queryname.url, which is a string.

Re: Getting the user's IP address

2006-06-27 Thread Bryan Stevenson
Good save Dave...forgot about that one ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com

RE: Strip dots out of ip address

2006-06-27 Thread Dawson, Michael
In order to be more-careful with this, you should make sure that you have three digits for each part. For example: 069.124.049.027 Would give you: 069124049027 Without padding the numbers, you could have: 691244927 Many IP addresses, with low values, could cause duplication. M!ke

form.fieldnames does not bring all values.

2006-06-27 Thread Brian Dumbledore
Here is a weird one unless I am missing something. I have a form with lots and lots of checkboxes, three of them are sh_buy_c_date,sh_sel_c_date,sh_mkt_time all three are checkboxes. I check ALL checkboxes on the form, submit it, loop over form.fieldnames list, the above three are not in the

Re: Strip dots out of ip address

2006-06-27 Thread Sam Farmer
On 6/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm trying to use it as part of a unique numeric value for e-mail confirmation. Be careful though. IP addresses can change all the time. I rebooted today and got a different one. Cheers, Sam

RE: form.fieldnames does not bring all values.

2006-06-27 Thread Everett, Al \(NIH/NIGMS\) [C]
Form fields ending in _date are reserved words for CF form validation. Been part of CF since at least CF5.0. http://livedocs.macromedia.com/coldfusion/6/Developing_ColdFusion_MX_App lications_with_CFML/Elements15.htm http://livedocs.macromedia.com/coldfusion/7/htmldocs/0188.htm

Re: form.fieldnames does not bring all values.

2006-06-27 Thread Sam Farmer
Any form variable ending in _date or _time is reserved. http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentationfile=0188.htm Cheers, Sam On 6/27/06, Brian Dumbledore [EMAIL PROTECTED] wrote: Here is a weird one unless I

Re: is URL a structure, or not?

2006-06-27 Thread Bill Woodland
As I've said, is it possible that his query is returning a column named URL. And since he's inside a cfoutput block, cf looks to the query first when dereferencing variables (I believe). What's the order again? So a reference to url becomes a reference to queryname.url, which is a string.

cfif inside cfx calls?

2006-06-27 Thread Russ
I'm trying to do a cfx call with a cfif statement inside of it like this (parameters removed for brevity) CFX_PAYFLOWPRO QUERY = result CERTPATH = #this.certPath# TRXTYPE = #arguments.TRXTYPE# cfif arguments.trxType eq R TERM

Re: Error message

2006-06-27 Thread Mike Little
thanks heaps ben, this is exactly what was occurring. i had changed the db structure and it was showing old results when cfdumping. cheers mike Don't use SELECT * in your queries. This usually happens if you use SELECT * then change the structure of a data table. SQL caches the query

RE: form.fieldnames does not bring all values.

2006-06-27 Thread Ben Nadel
It has to do with ColdFusion trying to validate those fields automatically. I am not sure what the list of types is, but CF tries to validate any form field ending in certain types, ex. date. ... Ben Nadel Web Developer Nylon Technology 350 7th Avenue Floor 10 New York, NY

RE: cfif inside cfx calls?

2006-06-27 Thread Ian Skinner
Is something like this even possible? If it was a cfinvoke, I would've used cfinvokeargument, but what do I use for cfx tags? The if syntax of the language your are writing the cfx tag in, usually java or c/c++ isn't it. -- Ian Skinner Web Programmer BloodSource

Re: Error message

2006-06-27 Thread Mike Little
thank you for that most useful advice - yes i would have kicked myself alright!! ;o) On Tuesday 27 June 2006 08:02, Mike | NZSolutions Ltd wrote: Has anyone encountered this before... You'll kick yourself... Error Occurred While Processing Request 10 = 10 gte :-) -- Tom

RE: is URL a structure, or not?

2006-06-27 Thread Russ
You can say select url as myurl in the query, but yea, that's going to require code changes... -Original Message- From: Bill Woodland [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 27, 2006 5:30 PM To: CF-Talk Subject: Re: is URL a structure, or not? As I've said, is it possible

Accessing structure dynamically

2006-06-27 Thread Tom McNeer
Hi, I know that you can access a key in a CF structure dynamically, using bracket notation, as in: cfset structName[keyname] = 0 / so that the keyname could be a variable, allowing you to access the value with the keyname stored in the variable. But I need to go one level deeper. I have

RE: Accessing structure dynamically

2006-06-27 Thread Ben Nadel
I am not clear exactly what you mean and I have never used StructFind(), but this might be a good case??? ... Ben Nadel Web Developer Nylon Technology 350 7th Avenue Floor 10 New York, NY 10001 212.691.1134 x 14 212.691.3477 fax www.nylontechnology.com Some people call me

RE: Accessing structure dynamically

2006-06-27 Thread Andy Matthews
Wouldn't it be: myStruct[myVariable].myVariable? !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Tom McNeer [mailto:[EMAIL PROTECTED] Sent:

RE: Accessing structure dynamically

2006-06-27 Thread Dave Watts
I know that you can access a key in a CF structure dynamically, using bracket notation, as in: cfset structName[keyname] = 0 / so that the keyname could be a variable, allowing you to access the value with the keyname stored in the variable. But I need to go one level deeper. I

RE: cfif inside cfx calls?

2006-06-27 Thread Russ
I'm just calling a CFX tag, not writing one. I would like to dynamically set up the parameters that I pass, based on certain variables. The original code is in CF. Russ -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 27, 2006 5:39 PM To: CF-Talk

Re: cfif inside cfx calls?

2006-06-27 Thread Claude Schneegans
I'm trying to do a cfx call with a cfif statement inside of it like this You can't do it this way. CFIF can be used inside HTML tags but not CFML tags. However you can do what you want using the attributecollection structure, to pass optional attributes to the tag, ie: CFSET

RE: Accessing structure dynamically

2006-06-27 Thread Ian Skinner
You just keep adding brackets to the struct. aStruct[key][key2][key3][key4][key5][keyDidYouReallyWantAStructThisDeep] -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run.

Re: is URL a structure, or not?

2006-06-27 Thread Bill Woodland
You can say select url as myurl in the query, but yea, that's going to require code changes... Yep, that would work for select, but any updates/inserts would probably be a real pain. I don't know what idiot named the field URL, but I'm guilty of being the exact same kind of idiot myself in

RE: Form Spam

2006-06-27 Thread Dennis Powers
We also had several forms being spammed and took two approaches to stop it. 1) We recorded the IP address of every message sent and identified the IP addresses of the spam robots. We then placed them in a database and if the visiting IP address matched one from the database we didn't show the

I know it's not defined ... that's the problem

2006-06-27 Thread Howard Owens
I'm still working on my Amazon AWS application. Got one query working, now I want to reuse some code. But the new query doesn't return quite the same results set XML. So for SalesRank, I run into an undefined error, so I thought I'd try the following, but it returns the same error ... how do I

RE: I know it's not defined ... that's the problem

2006-06-27 Thread Russ
You need to put quotes in isDefined... and you probably want to use StructKeyExists (although isDefined will probably let you skip some levels of checking, since you need to know that the parent struct exists if you use StructKeyExists -Original Message- From: Howard Owens

RE: I know it's not defined ... that's the problem

2006-06-27 Thread Ian Skinner
structKeyExists(AmazonXML.ItemSearchResponse.Items.Item[i],SalesRank) maybe. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia

Re: I know it's not defined ... that's the problem

2006-06-27 Thread Howard Owens
You need to put quotes in isDefined... and you probably want to use StructKeyExists (although isDefined will probably let you skip some levels of checking, since you need to know that the parent struct exists if you use StructKeyExists I'd tried the single quotes ... got this error: Parameter 1

  1   2   >