OT - Rewriting causing page to be called twice

2008-09-12 Thread Adrian Lynch
m having a look at the R=301 flag but no luck so far. Thanks. Adrian Lynch www.halestorm.co.uk www.adrianlynch.co.uk ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http:

RE: dynamic js field verification

2008-09-10 Thread Adrian Lynch
The ToString would do it's work before it got to the browser so it's probably something else. View the source of the page and see if all the functions and calls to functions are named correctly. Adrian -Original Message- From: Jessica Kennedy [mailto:[EMAIL PROTECTED] Sent: 10 September

RE: How NOT to Evaluate (moved from cfset so not to confuse topic)

2008-09-10 Thread Adrian Lynch
~G~ On Wed, Sep 10, 2008 at 11:38 AM, Adrian Lynch <[EMAIL PROTECTED]>wrote: > Oh and you might also try this: > > > > > I have a feeling this doesn't work as I remember doing something like this > in the past and then went back to using cfinvoke. > &

RE: How NOT to Evaluate (moved from cfset so not to confuse topic)

2008-09-10 Thread Adrian Lynch
Oh and you might also try this: I have a feeling this doesn't work as I remember doing something like this in the past and then went back to using cfinvoke. Adrian -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: 10 September 2008 16:34 To: CF-Talk Subjec

RE: How NOT to Evaluate (moved from cfset so not to confuse topic)

2008-09-10 Thread Adrian Lynch
cases like this: Many TIA ~G~ On Wed, Sep 10, 2008 at 10:55 AM, Adrian Lynch <[EMAIL PROTECTED]>wrote: > Good question. > > [] are CF constructs. These two are equivalent: > > FORM.someVar = 101 > > and > > FORM["someVar"] = 101 > > You

RE: How NOT to Evaluate (moved from cfset so not to confuse topic)

2008-09-10 Thread Adrian Lynch
A little correction: #variables[x]# should be: #variables["x"]# Adrian -Original Message- From: Mark Kruger [mailto:[EMAIL PROTECTED] Sent: 10 September 2008 16:19 To: CF-Talk Subject: RE: How NOT to Evaluate (moved from cfset so not to confuse topic) David, Everything in CF (starti

RE: How NOT to Evaluate (moved from cfset so not to confuse topic)

2008-09-10 Thread Adrian Lynch
Good question. [] are CF constructs. These two are equivalent: FORM.someVar = 101 and FORM["someVar"] = 101 You'd use the latter for dynamic variable names: FORM["someVar" & i] Deffo use cfqps, have a look back in the cf-talk archives to see a bunch of trouble caused by the lack of them in S

RE: How NOT to Evaluate (moved from cfset so not to confuse topic)

2008-09-10 Thread Adrian Lynch
SELECT * FROM Contacts WHERE Contacts.ContactType = 'Physician' AND Contacts.#FORM.Field# = '#FORM[FORM.Field]#' ORDER BY Contacts.LastName And then throw in some cfqueryparams. But what's more interesting is how to protect against SQL injection with Contacts.#FORM.Field#! Is it a problem? If yo

RE: using dynamic variable in cfset statement

2008-09-10 Thread Adrian Lynch
, easier to understand manner. On Wed, Sep 10, 2008 at 4:41 AM, Adrian Lynch <[EMAIL PROTECTED]> wrote: > >I didn't! > > > :OD > > -Original Message- > From: Charlie Griefer [mailto:[EMAIL PROTECTED] > > > there's probably n

RE: using dynamic variable in cfset statement

2008-09-10 Thread Adrian Lynch
I didn't! :OD -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] there's probably not one of us on this list that didn't used to use evaluate() before being taught to look at other alternatives (and i'm sure some who still do use it). it's all good. participa

RE: dynamic js field verification

2008-09-10 Thread Adrian Lynch
What's not working, JS, CF? What does the source look like in the browser? Some tips for you... you don't need the ToString() calls in CF and it's Javascript not Java (big difference). Adrian -Original Message- From: Jessica Kennedy [mailto:[EMAIL PROTECTED] Sent: 09 September 2008 18:09

RE: Character coding problem

2008-09-08 Thread Adrian Lynch
Just a guess, but would this be the cause: http://www.adrianlynch.co.uk/post.cfm?postID=9 Adrian -Original Message- From: Aron Szanitter [mailto:[EMAIL PROTECTED] Sent: 08 September 2008 12:43 To: CF-Talk Subject: Character coding problem I live in Hungary and unfortunatelly we have so

RE: String manipulation

2008-09-08 Thread Adrian Lynch
Adrian www.adrianlynch.co.uk -Original Message- From: Cherrio [mailto:[EMAIL PROTECTED] Sent: 08 September 2008 08:54 To: CF-Talk Subject: String manipulation hi, am struggling with string manipilation! please help. i have a folder full of files all beginning with a certain prefix t

RE: Hi everyone

2008-09-06 Thread Adrian Lynch
AdBrite eh? We'll be hitting you up for some advertising info then l;O) Oh look, a smilie with a new hair cut... A -Original Message- From: Philip Kaplan [mailto:[EMAIL PROTECTED] Sent: 05 September 2008 22:42 To: CF-Talk Subject: Hi everyone Hi everyone, After what seems like 100 yea

RE: ses and application.cfc

2008-09-04 Thread Adrian Lynch
Oh and if that doesn't work, put it in a file and include it instead. Adrian -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: 04 September 2008 15:15 To: CF-Talk Subject: RE: ses and application.cfc Try onRequest instead. Adrian -Original Message-

RE: ses and application.cfc

2008-09-04 Thread Adrian Lynch
Try onRequest instead. Adrian -Original Message- From: Chad Gray [mailto:[EMAIL PROTECTED] Sent: 04 September 2008 15:06 To: CF-Talk Subject: RE: ses and application.cfc If I put that code in onRequestStart I get this error. I think it is because I am creating a function inside of a fu

RE: Maybe OT: Content Disappears when .cfm call, shows when .html

2008-09-02 Thread Adrian Lynch
Put a right before the doctype on the same line and see what happens. Adrian -Original Message- From: Kris Jones [mailto:[EMAIL PROTECTED] Sent: 02 September 2008 19:42 To: CF-Talk Subject: Maybe OT: Content Disappears when .cfm call, shows when .html This doesn't make any sense to me

RE: iCalendar (.ics) file creation?

2008-08-08 Thread Adrian Lynch
If you can't find a CF version, I know there are PHP ones you could look at and translate to CF. Adrian -Original Message- From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] Sent: 08 August 2008 16:29 To: CF-Talk Subject: iCalendar (.ics) file creation? A quick Google is not turning up mu

RE: CFQueryparam and NULLs.

2008-08-07 Thread Adrian Lynch
If FORM.makeID is either zero or a number: Maybe throw in a Trim in the null="" too. Adrian -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: 07 August 2008 15:47 To: CF-Talk Subject: CFQueryparam and NULLs. Quick question: How I would I rewrite this using the bui

RE: weird CF8 behavior

2008-08-06 Thread Adrian Lynch
I've not had it for those files, but I have had errors saying custom tags can't be found. I put it down to not enough memory. Adrian -Original Message- From: jw [mailto:[EMAIL PROTECTED] Sent: 06 August 2008 22:27 To: CF-Talk Subject: weird CF8 behavior Has anyone ever encountered a

RE: Using UDF's from within a CFC

2008-08-06 Thread Adrian Lynch
Dump APPLICATION and see if UDFLib really is in the scope. If it is, check CapFirst is present also. If it's not, restart the application with OnApplicationStart() in OnRequest in Application.cfc. Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 06 August

(ot) Flex mailing list

2008-08-05 Thread Adrian Lynch
Where are people going for a Flex mailing list? I've just signed up to the Flex Coders on Google Groups, are there any others? Adrian Lynch ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to

RE: Query of Queries

2008-08-05 Thread Adrian Lynch
Have any of the tables changed? Could be that if you're using cfqueryparam on the original queries and the tables have changed, there might be a column mis-match. Adrian -Original Message- From: heath stein [mailto:[EMAIL PROTECTED] Sent: 05 August 2008 04:41 To: CF-Talk Subject: Query of

RE: Form question

2008-07-30 Thread Adrian Lynch
Subject: RE: Form question Hi Adrian, Many thanks for the helpful reply, I'm still not very conversant with Javascript. An example of the code I've used is: value="#session.height#" /> How would I need to change the syntax, please? Jenny -Original Message- From: Ad

RE: Form question

2008-07-30 Thread Adrian Lynch
In the function that fires onchange, add the #place to the action of the form. Something like: function refreshMyForm() { this.form.action += "#myPlace"; } That needs tidying up and made better but that's the basic idea. Adrian -Original Message- From: Jenny Gav

RE: Single vs Cluster - Session Variables - session.cfid HELP

2008-07-30 Thread Adrian Lynch
I could be way off here and someone with more knowledge in this area will hopefully pipe up, but should you not be using jsessionid? Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 30 July 2008 16:47 To: CF-Talk Subject: Single vs Cluster - Session Variab

CGI.SERVER_PORT not as expected

2008-07-29 Thread Adrian Lynch
tself? Thanks. Adrian Lynch ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/grou

RE: can't enable debug output in coldfusion 8

2008-07-29 Thread Adrian Lynch
I had a similar problem. I had a list of IPs which included 127.0.0.1, it's IP6 version and a few other IPs. I removed them all (which should then allow debugging to all) and then added back just my IP and it now works. Try re-adding your's again. Adrian -Original Message- From: Brad Woo

RE: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-24 Thread Adrian Lynch
Whatever the length of the column in your DB. Adrian -Original Message- From: Radek Valachovic [mailto:[EMAIL PROTECTED] Sent: 24 July 2008 19:19 To: CF-Talk Subject: Re: (ot) URL Hack Attempt Leaves Me Scractching My Head... What would you suggest for this kind of thing: Select USERID

RE: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-24 Thread Adrian Lynch
Try telling that to Billy, he just got fired! -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: 24 July 2008 15:58 To: CF-Talk Subject: Re: (ot) URL Hack Attempt Leaves Me Scractching My Head... >>Do you fully understand what cfqueryparam does when binding text

RE: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-24 Thread Adrian Lynch
But Billy has been told to turn: SET myValue = #someOtherQuery.someOtherValue# into: SET myValue = #FORM.someOtherValue# because Nigel in accounts wants to do his own thing. If cfqp is in place, Billy will leave it there. He might not add it if it's not! Poor Billy... -Original Message--

RE: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-24 Thread Adrian Lynch
Dear Dave Phillips, you have made a generalisation and I have a dissenting opinion ;O) I use SELECT * for quick and dirty scripts, always have done, always will do. Another way around the error is to change your SQL slightly. Throw in a line break and a different execution plan is used. No it's

RE: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-24 Thread Adrian Lynch
Ok, I understand why you think it's ridiculous, but here's a reason to do it. What if you have: UPDATE myTable SET myValue = #someOtherQuery.someOtherValue# and Billy New-Developer comes along and decides that someOtherQuery.someOtherValue could really do with coming directly from the user? Will

RE: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-24 Thread Adrian Lynch
And what about my page exec(.cfm?! :OD Just checking my logs now and I'm getting hit by this too. cfqp'd all the way though... -Original Message- From: james carberry [mailto:[EMAIL PROTECTED] Sent: 21 July 2008 18:54 To: CF-Talk Subject: Re: (ot) URL Hack Attempt Leaves Me Scractching M

RE: Directory contents to list/array?

2008-07-23 Thread Adrian Lynch
You don't necessarily need them in an array to do this. You can get at the data with your chosen index like so: #yourQuery["name"][yourRandomNumber]# Adrian -Original Message- From: Melissa Cope [mailto:[EMAIL PROTECTED] Sent: 23 July 2008 15:06 To: CF-Talk Subject: Directory c

RE: (ot) Stupid HTML Question

2008-07-23 Thread Adrian Lynch
This might work: Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Adrian -Original Message- From: Experienced CF Developer [mailto:[EMAIL PROTECTED] Sent: 23 July 2008 14:49 To: CF-Talk Subject: RE: (ot) Stupid HTML Questi

RE: cfquery and cfstoredproc

2008-07-22 Thread Adrian Lynch
I've used this function to view the SQL with the param data in place. " & LOCAL.

RE: writing protected CF with CFStoredProc

2008-07-22 Thread Adrian Lynch
Yup, you're making sense. The way around it is to pass NULL in using: Adrian -Original Message- From: Qing Xia [mailto:[EMAIL PROTECTED] Sent: 22 July 2008 15:21 To: CF-Talk Subject: writing protected CF with CFStoredProc Hello folks: The discussion yesterday regarding using CFqueryp

RE: do not increase counter is returns 0

2008-07-22 Thread Adrian Lynch
Hominid: Any member of the biological family Hominidae (the "great apes"), including the extinct and extant humans, chimpanzees, gorillas, and orangutans. Thank you. Adrian :OD -Original Message- From: Brian Kotek [mailto:[EMAIL PROTECTED] Sent: 03 June 2008 21:08 To: CF-Talk Subject: Re

RE: Problems with switching from application.cfm to application.cfc

2008-07-21 Thread Adrian Lynch
What happens if you create those unscoped vars in onRequest? Adrian -Original Message- From: Richard Steele [mailto:[EMAIL PROTECTED] Sent: 21 July 2008 16:44 To: CF-Talk Subject: Problems with switching from application.cfm to application.cfc We are now using CF8 and want to take advan

RE: (ot) Ok, feeling a little stupid, but...

2008-07-18 Thread Adrian Lynch
What web server are you using? -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: 18 July 2008 07:13 To: CF-Talk Subject: (ot) Ok, feeling a little stupid, but... I can't figure out why I'm getting a Username and Password dialog that pops up everytime I go to website

RE: Anybody have exerience with KickAssVPS.com?

2008-07-17 Thread Adrian Lynch
Mary Jo said: "This is one of the major reasons we went with KAVPS...they don't skimp on the RAM. I personally just get a little leery about running CF, MySQL *and* a mail server on 512MB of RAM. My customer's site which is a really low-traffic site is typically using about 450MB (again though, tha

RE: Loop over field names

2008-07-15 Thread Adrian Lynch
A few ways, pass the record count along in a hidden field then loop: #FORM["anID" & i]# Or requery on the next page and work out the record count there. Or do a conditional loop with an IsDefined("FORM.anID#i#") and a counter to increment i. A short limerick for you: "There once was m

RE: File Upload: TimeOut Problems

2008-07-11 Thread Adrian Lynch
Could it be a file size limit instead of a timeout? What does the error message say? Adrian www.adrianlynch.co.uk -Original Message- From: Robert Harrison [mailto:[EMAIL PROTECTED] Sent: 11 July 2008 13:54 To: CF-Talk Subject: File Upload: TimeOut Problems On CF7, using form enctype to

RE: List Comparison

2008-07-08 Thread Adrian Lynch
This might do it: http://cflib.org/index.cfm?event=page.udfbyid&udfid=149 Adrian www.adrianlynch.co.uk -Original Message- From: Kamru Miah [mailto:[EMAIL PROTECTED] Sent: 08 July 2008 15:32 To: CF-Talk Subject: List Comparison Could some one please advise me how to compare two lists of

RE: (ot) javascript problem

2008-07-08 Thread Adrian Lynch
If things aren't working after you made a change, show us a before and after sample of the code. Adrian -Original Message- From: Stephens, Larry V [mailto:[EMAIL PROTECTED] Sent: 08 July 2008 13:43 To: CF-Talk Subject: (ot) javascript problem I'm using a DHTML javascript menu (from Dyna

[OT] SEO Tip

2008-07-04 Thread Adrian Lynch
rated higher so 2 would be better for that. But surely the page and the last element should be related? So is the page these URLs point to more about keyword2 or 99? Cheers. Adrian Lynch ~| Adobe® ColdFusion® 8 software 8 is the

RE: (ot) Image Rollovers

2008-07-01 Thread Adrian Lynch
Got a link for us to see? -Original Message- From: Steve LaBadie [mailto:[EMAIL PROTECTED] Sent: 01 July 2008 14:20 To: CF-Talk Subject: (ot) Image Rollovers I don't recall this being a problem in the past, but my image rollovers do not appear in IE 6 & 7, on or off. They work perfect in

RE: Column type to CF_SQL_TYPE map

2008-06-25 Thread Adrian Lynch
go) :) On Mon, Jun 23, 2008 at 8:33 AM, Adrian Lynch <[EMAIL PROTECTED]> wrote: > Is there a definitive list of what CF SQL type goes with what column data > type? > > I have a few I'm not sure of (CF_SQL_ below). Can anyone fill some of > these in? These

RE: (ot) mod_rewrite with VirtualHost and .htaccess

2008-06-25 Thread Adrian Lynch
he Include directive to include an apache config file from each virtual host, instead of using .htaccess. The former approach will be more performant and less complicated, though it doesn't allow live editing (i.e. changes require an Apache restart). cheers, barneyb On Tue, Jun 24, 2008

(ot) mod_rewrite with VirtualHost and .htaccess

2008-06-24 Thread Adrian Lynch
ns Inherit What I can't find reference to, and I can't get to work, is how to use ..htaccess with v-hosts where the .htaccess file is in the webroot for a given site. Any pointers would be greatly appreciated. Adrian Lynch ~

RE: Suppressing white space in source

2008-06-24 Thread Adrian Lynch
Try: &nme=#nme#&ttl=#ttl#&ico1=#ico1#&ico2=#ico2#&id=#id#< /cfoutput> This'll banish any white space around the output. Adrian -Original Message- From: Robert Harrison [mailto:[EMAIL PROTECTED] Sent: 24 June 2008 14:20 To: CF-Talk Subject: Suppressing white space in source I have a si

Column type to CF_SQL_TYPE map

2008-06-23 Thread Adrian Lynch
money CF_SQL_MONEY I hope the formatting holds. I'd hazard a guess that for smallmoney you'd use CF_SQL_MONEY and the same for smalldatetime, CF_SQL_DATE. I've always used CF_SQL_LONGVARCHAR for text and ntext. Is this right? Thanks for any more insight. Adrian Lynch http://w

RE: Convert Access to XML

2008-05-26 Thread Adrian Lynch
Can you not do it in CF? It'll probably be the easiest way to do it. 162934 rows isn't that many. But I guess the XML file size produced depends on your data. Give the following a crack: SELECT * FROM myTable #myQuery.myFirstCol# #myQuery.mySecondCol# #myQue

RE: Includes not found

2008-05-21 Thread Adrian Lynch
ofessional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Adrian Lynch wrote: > Hey all. > > I have two apps(on two different servers), where I'm seeing errors stating > that CF can't find a given include. > > The

Includes not found

2008-05-21 Thread Adrian Lynch
ing to put up with it, but now on another app on a much better server with even less intensive code, I'm getting the same error. Has anyone else come across this before? Is it a known issue? Are there any solutions? Thanks. Adrian

Troubleshooting cfdocument format="FlashPaper"

2008-05-20 Thread Adrian Lynch
7;t needed, but I had to try). I've also added cfide as a virtual directory to the site in case that was the problem but no joy. I'm running CF8 with IIS5. Thanks. Adrian Lynch http://www.adrianlynch.co.uk/ ~| Adobe®

RE: requestTimeout behaviour

2008-05-20 Thread Adrian Lynch
I'm gonna take a stab and say that only works for the request and not the individual actions/calls etc. in the request. Adrian http://www.adrianlynch.co.uk/ -Original Message- From: Richard Meredith-Hardy [mailto:[EMAIL PROTECTED] Sent: 20 May 2008 10:09 To: CF-Talk Subject: requestTimeo

RE: a query

2008-05-19 Thread Adrian Lynch
If you don't mind the page refreshing, there's no need to use JS. Here's a basic page: DELETE FROM yourTable WHERE id = SELECT * FROM yourTable #yourQuery.aColumn

RE: reusable components

2008-05-19 Thread Adrian Lynch
Well if you're bonkers, I'm bonkers too! Adrian -Original Message- From: Dominic Watson [mailto:[EMAIL PROTECTED] Sent: 19 May 2008 15:50 To: CF-Talk Subject: Re: reusable components I'd say this was absolutley fine. I'd put the includes in OnApplicationStart and then put each udf into

RE: cfqueryparam maxlength

2008-05-17 Thread Adrian Lynch
Short of looking at it myself, I'd double check the value you're using isn't 21 in length maybe because of a space. Above the cfqueryparam, output Len(yourValue). Or try trimming. Adrian http://www.adrianlynch.co.uk/ -Original Message- From: Richard White [mailto:[EMAIL PROTECTED] Sent:

RE: Google Conversion Tracking for Shooping Cart

2008-05-17 Thread Adrian Lynch
Hey mike, you haven't said what the problem is. If it's the JS that's erroring, view the source of the page and see what's being returned to the browser. It might need some double quotes around the value you're outputting or it might be that the value is empty. Adrian http://www.adrianlynch.co.uk

RE: Friday CF Puzzler...

2008-05-16 Thread Adrian Lynch
Not exactly that, but you could use a suggest web service. Google or Yahoo, I forget which we've used in the past. Adrian http://www.adrianlynch.co.uk/ -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: 16 May 2008 13:39 To: CF-Talk Subject: Friday CF Puzzler... Anyon

RE: loopcounts and pound sign madness

2008-05-15 Thread Adrian Lynch
FORM["comments#loopCount#"] Or whatever scope the variable is in. Adrian http://www.adrianlynch.co.uk/ -Original Message- From: megan cytron [mailto:[EMAIL PROTECTED] Sent: 15 May 2008 16:32 To: CF-Talk Subject: loopcounts and pound sign madness Forgive me... I pulled an all-nighter an

RE: looping through a form

2008-05-15 Thread Adrian Lynch
Sure there is, it's called an overscore... :OD -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: 15 May 2008 12:53 To: CF-Talk Subject: Re: looping through a form And to be very anal, I don't think there is a uppercase version of _. ;) You also want to use cfquery

RE: looping through a form

2008-05-15 Thread Adrian Lynch
The parameters to FindNoCase are back-to-front. Adrian -Original Message- From: Jason Congerton [mailto:[EMAIL PROTECTED] Sent: 15 May 2008 11:18 To: CF-Talk Subject: looping through a form Hi I posted a question a few weeks ago regarding looping through form results, and someone poste

RE: Distinct on just ONE column in a CFQUERY

2008-05-14 Thread Adrian Lynch
DISTINCT works across all the columns, so if first names are different you'll get two rows back for a given atty_id. Adrian -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: 14 May 2008 18:57 To: CF-Talk Subject: Distinct on just ONE column in a CFQUERY The below is q

RE: image size setup

2008-05-14 Thread Adrian Lynch
If set_size needs a reference to the image object, return the image object from init_image and then pass it to the set_size function. Adrian http://www.adrianlynch.co.uk/ -Original Message- From: Daniel Kessler [mailto:[EMAIL PROTECTED] Sent: 14 May 2008 15:18 To: CF-Talk Subject: image s

RE: CF8 / CFXML

2008-05-13 Thread Adrian Lynch
The easiest way... #myQuery.myColumn# There's no real trick to creating the XML. If you're looking for something that turns a query into XML, check cflib.org. Adrian -Original Message- From: CFDEV [mailto:[EMAIL PROTECTED] Sent: 13 May 2008 15:24 To: CF-Talk Subject: CF8

RE: CF8: Reversing arrays?

2008-05-08 Thread Adrian Lynch
Not exactly what you'd want :OD function ReverseArray(arr){ return ListToArray(Reverse(ArrayToList(arguments.arr))); } -Original Message- From: Dominic Watson [mailto:[EMAIL PROTECTED] Sent: 08 May 2008 17:43 To: CF-Talk Subject: Re: CF8: Reversing arrays? > It use

OT - Google Hosted Email

2008-05-08 Thread Adrian Lynch
Anyone out there using Google's hosted email? I've set up one account and was going to recommend it to a client but I haven't had enough experience with it to be 100% sure. Cheers. Adrian Lynch http://www.ad

RE: Javascript function not defined

2008-04-28 Thread Adrian Lynch
It's not the function that's not found, it's GetXmlHttpObject. Adrian -Original Message- From: Phillip Vector [mailto:[EMAIL PROTECTED] Sent: 28 April 2008 18:19 To: CF-Talk Subject: Javascript function not defined When I load the page, no javascript errors.. When I type something in t

RE: My query is returning nothing and/or erroring out

2008-04-24 Thread Adrian Lynch
About your first point, for what you say to happen, you'd also need quotes around the variable on the left: #myVar# Without the quotes it'll error. Adrian -Original Message- From: Greg Morphis Sent: 23 April 2008 20:07 To: CF-Talk Subject: Re: My query is returning nothing and/or e

RE: cf8 query weirdness

2008-04-23 Thread Adrian Lynch
I found this thread on HoF. I'm running into the same issue, I'm doing an INSERT INTO SELECT and no resultset is available from the query. Was there any word on whether this was a bug or not? Thanks. Adrian http://www.adrianlynch.co.uk/ -Original Message- From: Russ [mailto:[EMAIL PROT

RE: problem with form field undefined

2008-04-23 Thread Adrian Lynch
The error is saying "PID is undefined in TESTFORM". Do you have TESTFORM.pid anywhere? Adrian -Original Message- From: alex poyaoan [mailto:[EMAIL PROTECTED] Sent: 23 April 2008 15:23 To: CF-Talk Subject: Re: problem with form field undefined Hi Adrian with that cfdump it gives me this

RE: problem with form field undefined

2008-04-23 Thread Adrian Lynch
To see what's in the FORM scope, add this above the point it errors. See what that shows you. Adrian http://www.adrianlynch.co.uk/ -Original Message- From: alex poyaoan [mailto:[EMAIL PROTECTED] Sent: 23 April 2008 13:56 To: CF-Talk Subject: problem with form field undefined HI ever

RE: problem with passing variables to action template

2008-04-23 Thread Adrian Lynch
How are you getting from page one to page two? You're using URL vars in the second page so I'm guessing a link of some sort? Page 1: QUERY HERE Do something If that's not enough, supply more info about your problem. Adrian -Original Message- From: alex poyaoan [mailto:[EMAI

RE: URL re-write SEO friendly

2008-04-18 Thread Adrian Lynch
You haven't really asked a question but... if it's a choice between /83/ or /gardentools/ and your page isn't about the number 83, go with the later. Adrian -Original Message- From: Bryan Stevenson Sent: 18 April 2008 23:44 To: CF-Talk Subject: URL re-write SEO friendly Hey All...

RE: domain registrar

2008-04-11 Thread Adrian Lynch
RE: domain registrar thanks Adrian, but I am pretty sure their control panel doesn't allow the domain name servers to be changed? I will be hosting the actual domain records. -Original Message----- From: Adrian Lynch Sent: 11 April 2008 09:54 To: CF-Talk Subject: RE: domain registrar 1

RE: OT - PHP gets picked on too.

2008-04-11 Thread Adrian Lynch
"step headed red child" - freaky! Ade -Original Message- From: Gerald Guido Sent: 11 April 2008 14:09 To: CF-Talk Subject: OT - PHP gets picked on too. I get newsletters from phpclasses.org. I found todays op/ed to be rather interesting. It seems that CF is not alone when it comes to be

RE: var variables in an application.cfc

2008-04-11 Thread Adrian Lynch
It's also handy to create your own scope. It saves having to scope the lot up top. Adrian -Original Message- From: James Buckingham Sent: 11 April 2008 13:34 To: CF-Talk Subject: Re: var variables in an application.cfc Thanks guys, I do remember readi

RE: var variables in an application.cfc

2008-04-11 Thread Adrian Lynch
Do you really want a local variable named application.com? If you want it in the APPLICATION scope, forget the var. Adrian http://www.adrianlynch.co.uk/ -Original Message- From: James Buckingham Sent: 11 April 2008 12:41 To: CF-Talk Subject: var variables in an application.cfc Why can

RE: domain registrar

2008-04-11 Thread Adrian Lynch
Wow, never heard a bad word against them till now. Cheers. Adrian -Original Message- From: James Smith Sent: 11 April 2008 10:25 To: CF-Talk Subject: Re: domain registrar > 123-reg.co.uk I wouldn't go near 123-reg. I have loads of domains with them because the USED to be a good compa

RE: domain registrar

2008-04-11 Thread Adrian Lynch
123-reg.co.uk I have a little over 100 domains with them and never had any trouble. Maybe just buy one domain to test it out though. Adrian http://www.adrianlynch.co.uk/ -Original Message- From: Jenny Gavin-Wear Sent: 10 April 2008 23:36 To: CF-Talk Subject: RE: domain registrar thank

RE: cf_image - where I can get?

2008-04-10 Thread Adrian Lynch
I won't be the only one thinking this, but what does cf_image do that cfimage doesn't? Genuine question by the way. Adrian http://www.adrianlynch.co.uk/ -Original Message- From: Silver Spoon [mailto:[EMAIL PROTECTED] Sent: 10 April 2008 12:12 To: CF-Talk Subject: cf_image - where I can g

RE: BIG problems with 8.0.1 update

2008-04-09 Thread Adrian Lynch
Is there somewhere to find out what the bug is and what exactly causes it? I was about to install 8.1 but I think I'll wait a while longer. Adrian -Original Message- From: Hemant Khandelwal Sent: 09 April 2008 17:12 To: CF-Talk Subject: Re: BIG problems with 8.0.1 update We have identif

RE: QoQ question - left outer join

2008-04-09 Thread Adrian Lynch
OUTER JOIN isn't supported. Take a look here: http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=using_reco rdsets_7.html Adrian -Original Message- From: Paul Ihrig [mailto:[EMAIL PROTECTED] Sent: 09 April 2008 12:33 To: CF-Talk Subject: QoQ question - left outer join wh

RE: Updating a session error

2008-04-08 Thread Adrian Lynch
It'll fail because you're trying to evaluate something like 'FORM.aFieldWith a Space in'. First thing, don't have fields with spaces in. If that's not an option, and I don't know if this'll work, try this syntax: FORM[theField] in place of your: evaluate("form.#theField#") Adrian http://www.a

RE: cfcontent gives my domainname instead of jpeg

2008-04-08 Thread Adrian Lynch
Try: http://images.realworks.nl/servlets/images/media.objectmedia/3803552?wi dth=161&height=121" getasbinary="auto" result="result"/> #ToString(result.Filecontent)# Adrian http://www.adrianlynch.co.uk/ -Original Message- From: marc -- [mailto:[EMAIL PROTECTED] Sent: 08 April 2008 14:12

OT: Optional query string Rewrite rule

2008-04-07 Thread Adrian Lynch
earch.cfm?extraParam=3 [L,I] So all I think I need is the same functionality that this will give me: RewriteRule ^search/?^ /search.cfm [L,I] Plus the adding of the extra param. Any ideas? Thanks. Adrian Lynch http://www.adrianly

RE: OT - Database schema compare/sync tools for MSSQL

2008-04-03 Thread Adrian Lynch
Just started using some tools from http://www.red-gate.com/ So far so awesome! Adrian http://www.adrianlynch.co.uk/ -Original Message- From: Gerald Guido Sent: 03 April 2008 16:16 To: CF-Talk Subject: OT - Database schema compare/sync tools for MSSQL Does anyone know of a good tool tha

RE: ColdFusion array problem

2008-04-03 Thread Adrian Lynch
Where does arryCourses come from? Have you set it as a 2 dimensional array? What error do you get if any? -Original Message- From: erik tom [mailto:[EMAIL PROTECTED] Sent: 03 April 2008 16:46 To: CF-Talk Subject: Re: ColdFusion array problem The problem is i want to see the employeeId an

RE: ColdFusion array problem

2008-04-03 Thread Adrian Lynch
You haven't said what the problem is (I don't think you have anyway). Also, sort that formatting out, no one needs to see that :O| :OD Adrian -Original Message- From: erik tom Sent: 03 April 2008 16:32 To: CF-Talk Subject: ColdFusion array problem I have a query that output the data.

Server Monitor not working?

2008-04-02 Thread Adrian Lynch
Hey all, I running some http request in a CF page and a few have been running for over half an hour. These are displayed in the Slowest Active Requests panel but when I click the ! icon and then confirm I want to stop the request, nothing happens. Anyone know what's up? Adrian Lynch

RE: Variable problems

2008-04-02 Thread Adrian Lynch
08 3.0 10421_REGULAR_03_12_2008 3.0 10421_REGULAR_03_13_2008 3.0 10421_REGULAR_03_14_2008 3.0 I was thinking using something similar to: #ListGetAt(form,1,'_')# But that gives me an error due to complex object type: Complex object types cannot be converted to simple values Jason [EMAIL PROTECT

RE: Variable problems

2008-04-02 Thread Adrian Lynch
My gut says there's a better way to do what you're trying, but to get your version to work, look at the list functions, ListGetAt(), ListLast() etc. with "_" as the delimiter. Adrian http://www.adrianlynch.co.uk/ -Original Message- From: Sehlmeyer, Jason [mailto:[EMAIL PROTECTED] Sent: 02

RE: Trim leading zeros

2008-04-01 Thread Adrian Lynch
Add Val(000123) to that list too. Adrian -Original Message- From: James Smith [mailto:[EMAIL PROTECTED] Sent: 01 April 2008 15:47 To: CF-Talk Subject: Re: Trim leading zeros numberFormat(yourNumber,0) or if you want to be silly... rereplace(yourNumber,'^0+','','ALL') On Tue, Apr

OT: .htaccess differences between versions of ISAPI Rewrite

2008-04-01 Thread Adrian Lynch
Using the following URL: http://www.domain.com/properties/to-let/greenwich/se10/1-bedroom-flat-in-se1 0-to-let/13/ I have the following rule in my .htaccess file: RewriteRule ^properties/(.*?)$ /properties/property-detail.cfm?q=$1&rule=6 [L,I] This is to capture everything after properties and

RE: Windows CF8 VPS?

2008-04-01 Thread Adrian Lynch
Just so everybody knows, I'll do the changing of wallpaper for half the quoted price of CT! :OD Adrian -Original Message- From: Jim Davis [mailto:[EMAIL PROTECTED] Sent: 31 March 2008 21:51 To: CF-Talk Subject: RE: Windows CF8 VPS? How much should they charge if I call them and ask for

RE: Windows CF8 VPS?

2008-04-01 Thread Adrian Lynch
Hey Dave, I have the entry level VPS at HMS and it seems a little unstable too. Did you ever find out what was causing it or did you just move server? Adrian -Original Message- From: Dave l [mailto:[EMAIL PROTECTED] Sent: 31 March 2008 21:15 To: CF-Talk Subject: Re: Windows CF8 VPS? And

<    1   2   3   4   5   6   7   8   9   10   >