RE: Web page thumbnails

2006-09-15 Thread Tim Blair
Can anyone tell me of a way to generate thumbnails of web pages from ColdFusion? A co-worker is asking for a personal project he is working on (so I'm guessing that he is looking for a no/low cost solution). If you're on Windows this is a nitfy command line util that could be run from

RE: WOT: Gmail's interesting approach to usernames

2006-01-18 Thread Tim Blair
but why, i wonder do they do that? i mean, you'd think that google has a guru of the regex kind there in-house that could handle it so that those are really TWO different addresses. You can also stick arbitrary stuff on the end of your email address too:

RE: Coldfusion Looking Glass CFC

2005-12-22 Thread Tim Blair
in the case of nominet, you have to do it via their website Not true: $ whois -h whois.nic.uk google.co.uk [whois.nic.uk] Domain name: google.co.uk Registrant: Google Inc -- --- Badpen Tech - CF and web-tech:

RE: CF7 and 64-bit CPUs

2005-11-07 Thread Tim Blair
Jorge, will it work on a linux 64-bit OS?, exactly RHEL4 No, CF will not work on a 64-bit linux OS. I found out this helpful bit of information only after building the server and installing CF... http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=baec9c0c If you install RHEL4 in

RE: Limit or Top and mySQL Question

2005-11-03 Thread Tim Blair
Les, 1. What's the equal of TOP in mySQL? LIMIT is the correct syntax, but you just had it in the place: SELECT * FROM myTable ORDER BY myField LIMIT 10 2. At what point in the query is that actually evaluated? Right at the end, after any WHERE/ORDER statements etc. HTH, Tim. --

RE: CF7 and 64-bit CPUs

2005-11-03 Thread Tim Blair
Will CF7 work on a 64-bit processor running with a 32-bit OS? The answer is yes: you just have to run a copy of the installer where the download hadn't aborted in the middle... Doh! Tim. -- --- Badpen Tech - CF and web-tech:

CF7 and 64-bit CPUs

2005-11-02 Thread Tim Blair
Quick question: Will CF7 work on a 64-bit processor running with a 32-bit OS? I have an AMD Opteron (64-bit) processor and am running Red Hat Enterprise Linux ES 3 *in 32 bit mode*. Yesterday, after fighting against it, I discovered that CF will not work on a 64-bit OS: I was having the problem

RE: Question: How Much of an Interest is there in AJAX?

2005-10-24 Thread Tim Blair
But I'm still not sure of the size of the AJAX community, and how large an audience we'd be talking for something like an AJAX book... The AJAX community is growing daily, although I feel that term is rather a misnomer. Maybe something like AJAX factions within the CF community would be more

RE: Question: How Much of an Interest is there in AJAX?

2005-10-24 Thread Tim Blair
Joe, use a clumsy workaround for testing which browser people are on To make sure that all browsers can see Flash you have to use non-standard HTML. Either that or if you really really want your HTML to validate, you can use messy JavaScript to inject the HTML. hoping ActiveX is enabled on

RE: Question: How Much of an Interest is there in AJAX?

2005-10-24 Thread Tim Blair
Why the heck should I care of ActiveX is enabled? IE needs ActiveX for JavaScript to work? No, but because the current version of IE doesn't support XMLHttpRequest you have to use something like the following: xmlhttp = new ActiveXObject(Microsoft.XMLHTTP); So, without ActiveX you don't

RE: Question: How Much of an Interest is there in AJAX?

2005-10-24 Thread Tim Blair
Sean, But 98% of all computers already have Flash and it behaves the same on every machine. The HTML code needed to embed Flash is simple, well-understood and supported everywhere. Sure, I was just trying to balance out Joe's argument that you need a clumsy workaround for getting AJAX

RE: Question: How Much of an Interest is there in AJAX?

2005-10-24 Thread Tim Blair
If IE requires ActiveX for XMLHttp, then you are kind of screwed security wise (should you choose to use IE for Ajax sites instead of an alternative). But like I pointed out earlier: without ActiveX enabled you can't use Flash on IE either... Tim. --

RE: Recursive Functions in CFC

2005-09-27 Thread Tim Blair
Right now using these functions I am getting unwanted duplicate nested structs and arrays. Make sure you var all variables you use in functions, *especially* when you're using recursive calls, otherwise each time you change or reinitialise one of the variables it will be a *global* change, not

RE: Purpose of HTML tags at beginning of cfoutput in classic.cfm debug page

2005-07-19 Thread Tim Blair
Subject: Purpose of HTML tags at beginning of cfoutput in classic.cfm debug page What is the purpose of all the HTML tags? I believe it's to catch the possibility that an error may have left unclosed tags laying around that might interfere with the display of the debug information, and

Creating password-protected ZIP files with CFEXECUTE

2005-07-12 Thread Tim Blair
Afternoon all, Has anyone had any success creating password-proteced ZIP files through ColdFusion? I have a nice little java routine to create non-protected ZIP files, but java doesn't support encrypting them. I've tried using a number of external programs and had issues with them all: WinZIP

RE: Rails like Framework

2005-06-16 Thread Tim Blair
Wait two weeks :) (that's all I'll say for now) Argh! You evil evil man! That's like holding out a sweet to a kid then pulling it back just as they reach for it... :( Two weeks huh? I'll hold you to that... ;) -- --- Badpen Tech - CF

RE: Short URL / URL redirection

2005-05-20 Thread Tim Blair
http://tinyurl.com/ www.antiwrap.com http://houseoffusion.com/tinyurl.cfm Or there's a version I wrote a little while ago: http://short.badpen.com/ There's a download for source there and it includes both a PHP and a CF version. Tim. --

RE: MySQL question

2005-03-24 Thread Tim Blair
The following query is not allowed using my hosts version of MySQL: You could do that with some nasty left join statements (untested): SELECT cus.Customer_ID FROM order_no AS ord INNER JOIN customers AS cus ON (ord.Customer_ID = cus.Customer_ID) LEFT JOIN users AS us ON (us.Customer_ID

RE: How to Browse and Choose Directory...

2005-03-10 Thread Tim Blair
Rick, I understand that *currently* CFDirectory only has access to my local system...what I'm talking about is developing a tag that allows a user to specify a directory for upload the same way we use CFFile now... There will never be a time when cfdirectory or cffile will have access to

RE: Web Analytics

2005-02-07 Thread Tim Blair
my company is looking at Urchin (http://www.urchin.com/) We use Urchin for all our stats needs. Highly recommended. Tim. -- --- Badpen Tech - CF and web-tech: http://tech.badpen.com/ ---

RE: CFMX 7 Price

2005-02-07 Thread Tim Blair
WHO IS THE EXTRA 1000 QUID FOR? VAT? (value added tax (sales tax) for those outside the UK) My guess is that those prices are exclusive of VAT, which makes things even more expensive for non-VAT registered individuals/companies. Tim. --

RE: CFMX + UTF8 vs Javascript

2005-01-21 Thread Tim Blair
Why do I need BOTH ? This tells the browser what format to expect the content it receives in: cfcontent type=text/html; charset=ISO-8859-1 And this tells CF how to process the current file (and hence is required in *every file* where you need to specifiy a page encoding): cfprocessingdirective

RE: Importing a csv file

2005-01-19 Thread Tim Blair
Victor, I have a question regarding importing a csv file This topic was covered only a week ago, so check out this thread for some good info: http://www.houseoffusion.com/cf_lists/messages.cfm/threadid=37522/forumi d=4 Tim. -- --- Badpen

RE: Importing a csv file

2005-01-19 Thread Tim Blair
I have a question regarding importing a csv file This topic was covered only a week ago, so check out this thread for some good info: http://www.houseoffusion.com/cf_lists/messages.cfm/threadid=37 522/forumi d=4 For anyone suffering from word-wrap-itis:

RE: two websites, one Cfusion, sharing sessions

2005-01-18 Thread Tim Blair
Is it possible to run 2 websites on a single CF server, and for a user to have the same Jsession on both sites? The easiest way would be to have the same application name in your cfapplication tag on each site. Of course, both sites would also share the same application scope etc too. Tim.

RE: consuming webservices

2005-01-14 Thread Tim Blair
Matthew, I've built a webservice in .Net that I intend to consume from CF. As I'm building it, I've noticed that the .NET Web service's arguments are cached by CF - that is, if I make a change to the .NET WS, then CF doesn't realize it. CF does indeed cache the webservice stub

RE: Revised Thread - Uploading CSV and Validation

2005-01-11 Thread Tim Blair
Treat it as two lists. The first using Chr(13) or Chr(10) as a delimiter, the second using ,: The only problem you'll get with that is if the CSV contains a record like the following (which is perfectly valid): 1,Banana,Long and yellow, with a slight bend As CF list functions would see it,

RE: Revised Thread - Uploading CSV and Validation

2005-01-11 Thread Tim Blair
2) Use the awesome Ostermiller utilities at http://ostermiller.org/utils/CSV.html to actually parse the CSV file Hmm, excellent resource. One to bookmark I think! Cheers Dave. Tim. -- --- Badpen Tech - CF and web-tech:

RE: HTM vs CFM Pages

2004-12-02 Thread Tim Blair
Is there any advantage or disadvantage to naming these pages with a HTM extension rather than a CFM extension? Is there a speed penalty? A .cfm file will *always* be passed to the CF engine, so even if there's nothing for the engine to do, it's still got to break the page down etc, so there

RE: Delimeter problem

2004-11-09 Thread Tim Blair
Asim, I need to move all the valus in a into individual Structure/Array Keys. so I can display them individually. If you're using MX, check this thread: http://www.mail-archive.com/dev@lists.cfdeveloper.co.uk/msg16596.html Tim. -- ---

RE: Delimeter problem

2004-11-09 Thread Tim Blair
David, cfset variableArray = #listToArray(|153564587|0|SAT|FREEDMAN|||1|||10/17/2004|1 0/18/2004, |)# then use #variableArray[1]# #variableArray[2]# #variableArray[3]# #variableArray[4]# and so on... This is exactly what Asim tried to do without success -- the CF list functions

RE: Delimeter problem

2004-11-09 Thread Tim Blair
Qasim, listtoarray(replace(list, '||', '| |', 'All'), '|') This wouldn't work because there is actually an empty element *before* the 153564587 item -- your code only replaces empty elements in the middle of the series and would ignore those at the beginning or end. Of course you could simply

RE: ERROR

2004-10-05 Thread Tim Blair
I am testing a site I switch from ACCESS to MySql and I ma getting the following error. ByteArray objects cannot be converted to strings. For some reason the result of some MySQL queries (especially those using MySQL date functions like DATE_ADD() and DATE_FORMAT()) is treated as a binary

RE: datetime problems - 01/01/1900

2004-09-24 Thread Tim Blair
Just a point to note: cfqueryparam ... null=#YesNoFormat(NOT Len(myvar))# You don't actually need the yesnoformat() function call in there -- the null= field takes a boolean value; a numeric value can be treated as a boolean (any non-zero value is TRUE), and len() returns a numeric value, so you

RE: datetime problems - 01/01/1900

2004-09-24 Thread Tim Blair
I'm still working a lot on CF5 and #NOT len(myvar)# doesn't work then!You need to wrap it in a function. OK, you win on that one...;) I'll qualify: *In CFMX* you don't actually need the yesnoformat() function call in there... Tim. -- ---

RE: Secure FTP with GUI

2004-09-17 Thread Tim Blair
So does anybody know of an FTP app with a GUI that will use a key based auth scheme? Yup, try WinSCP (SSH based): http://winscp.sourceforge.net/eng/ Tim. -- --- Badpen Tech - CF and web-tech: http://tech.badpen.com/

RE: Content Management System (CMS) Wishlist

2004-09-17 Thread Tim Blair
Ideally I'd want to work with a language aware system such that I can change languages in the cms to see the alternative version of the content in a different language. ShadoMX has multilanguage support at object level, so you only have one site tree etc and can define multiple translations

RE: Development Team Advice

2004-09-16 Thread Tim Blair
1) Can anyone recommend an application that will manage a CF Web Dev team and keep internal/external customer/clients informed as to deadline extensions and reshuffling of project priorities? We've been using Basecamp for the last couple of months - it's a hosted service but is very easy

RE: Currently running page requests

2004-09-14 Thread Tim Blair
Is there any way to get a list of currently running page requests on the server so I can keep track or them? You can perform a dump of the current stack trace, which will list (amongst a big pile of other stuff) what's requests are currently being processed by CF.See the MM technote about it:

RE: gobbledegook returned from MySQL TEXT fields

2004-09-13 Thread Tim Blair
This was where it started going wrong and needed casting to a char type instead of a date.So long as you don't group on the date field you should be ok. This seems to be an issue with MySQL - it also appears sometimes when you use the MySQL date functions.For some reason the query returns

RE: gobbledegook returned from MySQL TEXT fields

2004-09-13 Thread Tim Blair
Do you suppose this is a MyODBC issue or something deeper? No, we develop/host on Linux and have the same issue. -- --- Badpen Tech - CF and web-tech: http://tech.badpen.com/ --- RAWNET LTD -

RE: Count Online Users Conundrum

2004-08-19 Thread Tim Blair
Thanks.I ran your script and sure enough, right now, it says there are 99 users when it probably should be something like 20.I'm not sure if I'm understanding you completely -- I'm thinking that I need to add to the following snippet that already exists: What are you actually trying to

RE: Count Online Users Conundrum

2004-08-18 Thread Tim Blair
Sung, What happens is that at the end of the day (I run an intranet where there are about 200 peak users), around midnight, it still shows 80 or so users online!What do you think could be causing this? Does the code you run to report on the user sessions run the code you posted first?By this

RE: Count Online Users Conundrum

2004-08-18 Thread Tim Blair
One thing: What you'll need to do is add *two* timestamps to each user -- one for when they first accessed the system, and one when they last requested a page.Your 15 minute check should then use the difference between these values to determine whether the user has been inactive for 15

RE: List/Clean Application variables/objects

2004-08-11 Thread Tim Blair
Easy, I was wondering if there is a way to list everything that is stored into the Application scope cfdump var=#application# Also, is there another way to clear the application scope ? cfset structclear(application) Tim. -- --- Badpen

RE: How to make CF session variables available to PHP

2004-07-26 Thread Tim Blair
Has anyone had much luck in accessing CF's session scope directly from php? You'll be struggling to share session data because it's all stored in memory internally inside CF.A better option would be to use client variables stored in a database, which can then be queried from PHP like any other

RE: A script to Prevent SQL Injection: feedback/suggestions?

2004-07-23 Thread Tim Blair
AFAIK, it actually does more than validation and escaping Yup, that's right -- I was just simplifying things a bit...:) Tim. -- --- Badpen Tech - CF and web-tech: http://tech.badpen.com/ ---

RE: CFMX 6.1 and MySQL insert question

2004-07-22 Thread Tim Blair
If a user is using the form and enter the value bla bla \n bla bla \bla.. because he wants the \n or the \ it won't work.. I don't want to used the \n as a break like with #Chr(13)##Chr(10)# Use cfqueryparam - it'll correctly escape everything for you so you don't have to worry about the \n

RE: A script to Prevent SQL Injection: feedback/suggestions?

2004-07-22 Thread Tim Blair
CFQUERYPARAM will validate the data. this script rips out ALL harmful SQL statements that someone might try to include into a URL or FORM field entry. It doesn't just validate -- it will also escape any potentially harmful characters, therefore nullifying any possible attack. Tim. --

RE: Retrieve a random record from a database

2004-07-21 Thread Tim Blair
Is there a MySQL equivalent to this newID() functionality? With MySQL you can pull out one random row by using a combination of ORDER BY RAND() and LIMIT, e.g.: SELECT * FROM myTable ORDER BY RAND() LIMIT 1 Tim. -- --- Badpen Tech - CF and

RE: Nested Set Category

2004-07-19 Thread Tim Blair
Before I go any further I thought I would make sure I am not reinventing the wheel; has anyone done something like this where it is generic enough to use as a template? What database?I have just such a thing for MySQL that I can clean up (i.e. remove project specific functionality) and post

RE: The infamous LIST again!

2004-06-30 Thread Tim Blair
What's your way to circumvent this problem? If you're using MX, you can be a bit sneaky: because the list is an instance of java.lang.String, you can use the methods of that class on it, one of which is the split() method.This method will split a string into an array on a given delimiter (which

RE: The infamous LIST again!

2004-06-30 Thread Tim Blair
How did you determine that you could use Java methods within CF syntax? There are numerous examples of doing that in MX.Another favourite of mine is when looping through a query, you can use myQuery.last() to check if the item you're on is the last record rather than setting an external

RE: CFFUN 04 - He3

2004-06-28 Thread Tim Blair
Didnt attend CFFUN... what is He3? A ColdFusion IDE based around Eclipse[1], developed by RichPalette[2], a joint venture between R337 Consulting and Gestaltech Inc.[3].There have been numerous articles and threads on CF-Talk about it [4][5]. Tim. [1] http://www.eclipse.org/ [2]

RE: Finding the current directory of a script

2004-06-11 Thread Tim Blair
My actual question was is there a quick (like the previous function) way to get the actual directory How about: getDirectoryFromPath(getCurrentTemplatePath()) Tim. -- --- RAWNET LTD - Internet, New Media and ebusiness Gurus. WE'VE MOVED -

RE: Coldfusion and Class file

2004-06-09 Thread Tim Blair
is it possible to run the application with the class file alone ,i mean i will delete all the .cfm file ,there should be only class files No, currently you must have the CFM files available.The release of CFMX (Blackstone) will (?) provide the ability to do sourceless installations of CF

RE: How does Amazon do that?

2004-05-19 Thread Tim Blair
When you look around Amazon.com, and show an interest in something, there's always a part of the page that says people who bought this also bought that .. The solution I came up with uses two tables - the product table (guess what that is?) and a product_link table.The product_link allows

Preorder tree traversal algorithm

2004-05-19 Thread Tim Blair
Afternoon, Has anyone written an example of modified preorder tree traversal [http://www.sitepoint.com/print/hierarchical-data-database] for MySQL in CF?I've done inserts and deletes (plus various selects) but I haven't sat down to work out updates (moving a node from one parent to another) yet,

CFHTMLHEAD data

2004-05-13 Thread Tim Blair
Morning... Is there any way that I can get hold of the data currently in the CFHTMLHEAD buffer that will be output as the page is rendered/delivered? Tim. -- --- CF_CodingContest mode=judging newentries=false Maze Solver -

RE: Writing UTF-8 files with CF

2004-05-13 Thread Tim Blair
i imagine because for utf-8 the BOM isn't strictly required That's correct, it's not (there's no big- or little-endian alternatives), but apparently for java to correctly read the file in as double-byte the BOM must be there...Seems a little strange to me, but there you go. good catch. Ta.:)

RE: CFMX connector issues

2004-04-24 Thread Tim Blair
I've seen two cases resolved where this problem occurred, security was ok, the user could telnet to the port and connect.Those two were resolved by finding misconfigurations in one of the two host config files (/etc/hosts/, /etc/sysconfig/network). OK, you win.;)There was a

CFMX connector issues

2004-04-23 Thread Tim Blair
Afternoon all... This morning I had need to restart CF on one of our boxes.Since the restart I've been having a most un-fun morning.CF started refusing to server up and CFM pages.In fact it seems that JRun was the culprit. Basically, requests were being passed OK from the webserver to the CF

RE: CFMX connector issues

2004-04-23 Thread Tim Blair
Nope, all network settings are OK. Nothing else is listening on the JNDI port - I've even tried changing it in the runtime/servers/default/SERVER-INF/jndi.properties and I still get the same result. Going through the possible causes listed when I try running the connector: o Server not running

RE: Sending lots of mail

2004-04-21 Thread Tim Blair
Is there some kind of software (preferrably cheap or free) that can actually handle the mailing part in the background without slowing down CF? We've written a mailing-list-manager type app here which allows the user to send combined plain text/HTML emails to an opt-in mailing list.All

RE: Printing Labels from a Web Application?

2004-04-19 Thread Tim Blair
Any thoughts would be appreciated. We've done this before as part of mail merges using CF_AveryRTF which has been fairly successful.You can get the tag from the devex here: http://short.badpen.com/?B295NO42 HTH, Tim. -- --- CF_CodingContest

RE: Checking for a number

2004-04-02 Thread Tim Blair
If you're using isNumeric(), make sute that there isn't any whitespace at the beginning/end of the number: http://tech.badpen.com/index.cfm?mode=entryentry=16 Tim. -- --- CF_CodingContest mode=judging newentries=false Maze Solver -

RE: Flex is out

2004-03-30 Thread Tim Blair
I'm still waiting for Flex to show up in the Education store, but I have little hope of the discount percentage being high enough to make it affordable in the near future. The educational discount in N. America is going to be 34%, so just under $8k.Government institutions will get a 20%

RE: Currency Conversion web service

2004-03-29 Thread Tim Blair
Has anyonemanaged to consume a Currency Conversion web service under CFMX yet? Don't know if it'll help, but... We don't need totally up to date currency information so I have a scheduled task to run twice a day and, using an xMethods web service, update our local copy of the rates we

RE: Really dumb on my part

2004-03-26 Thread Tim Blair
nah there is an xml file in there somewhere neo-cron.xml maybe? The one you'll want is neo-security.xml - in there set the value of the admin.security.enabled bit to false, restart CF and you'll be able to get into the admin without using a password.Change the password, then change the value of

RE: Securing CF Apps.

2004-03-23 Thread Tim Blair
anotha new level of confidence...and power Pantera - Vulgar Display Of Power:) If you want a secure app, don't let users see your fuseaction names. If you want a secure app, don't let anyone use it...;) As for using the security of your DB instead of application-based security - in my

RE: Securing CF Apps.

2004-03-23 Thread Tim Blair
As for using the security of your DB instead of application- based security - in my opinion this is possibly *less* secure - it means that anyone with a login for your webapp automatically has a direct login for your database server! Which is of course set up to only allow connections

RE: Securing CF Apps.

2004-03-23 Thread Tim Blair
No, don't do that. The CF server SHOULD NOT be in the DMZ. No server should be in the DMZ unless it is a bastion host, which an application server by definition is not. Oh OK, I was just trying to be pedantic.:) Tim. -- ---

Problems with CFMX install on RH9

2004-03-22 Thread Tim Blair
Evening all... I'm having real issues installing CFMX on a RedHat 9 box.I've installed MX on linux plenty of times before, but this time things just aren't happening. For some reason, JRun seems to be taking an absolute age to start up - in the cfserver.log the Starting Macromedia Jrun 4...

RE: CFC Web services wont work with PHP sites

2004-03-16 Thread Tim Blair
Anyway,so here's an example in that article: That looks overly complex for what you're doing.The PHP PEAR libraries provide a nice and simple way of using a web service when you've got the WSDL for it, so you don't need to worry about all the SOAP stuff (name spaces etc) directly. I've just

RE: a href= code...

2004-03-15 Thread Tim Blair
1. Does anyone know what that code is? a href="" PROTECTED].../a 2. Does it work for all browsers/email clients? No idea.:) Tim. -- --- CF_CodingContest mode=judging newentries=false Maze Solver - http://tech.badpen.com/cfcontest/

RE: Loops in Loops (let's go loopy)

2004-03-11 Thread Tim Blair
is there an easier way? I usually do that by having a couple of variables: page - the current page you're on (from URL) pagesize - the number of items on a page (hardcode/from URL) recordcount - the total number of results (from your query) You can then work out things like the total number of

RE: Loops in Loops (let's go loopy)

2004-03-11 Thread Tim Blair
r conclusions expressed in this message are those of the originator, not of rawnet limited, unless otherwise explicitly and independently indicated by an authorised representative of rawnet limited. --- -Original Message----- From: Tim Blair [

RE: Loops in Loops (let's go loopy)

2004-03-11 Thread Tim Blair
Engage brain, then type... cfset startresults = (url.page * pagesize) + 1 Of course, if you use page=1, you'll start at result 11 which is wrong... Try: cfset startresults = (url.page * pagesize) - pagesize + 1 Sorry about that. Tim. ---

RE: easy question

2004-03-10 Thread Tim Blair
cfif NOT reFind(6,valueList(getMTIDs.mtid),1) cfset request.SpiderIsPresent = 0 cfelse cfset request.SpiderIsPresent = 1 /cfif Use listfind() and you can shorten that to one line: cfset request.SpiderIsPresent = listfind(valuelist(getMTIDs.mtid), 6) listfind() will return the position of

RE: How to know when you have the last record?

2004-02-27 Thread Tim Blair
CFIF myquery.CurrentRow NEQ myquery.RecordCount Worked perfectly. Just out of interest, you could use one of the methods of the underlying coldfusion.sql.QueryTable java object of the query: isLast() For example, to output a list of names from a query with a comma between each, you don't

RE: Fancy a ColdFusion Challenge?

2004-02-13 Thread Tim Blair
and independently indicated by an authorised representative of rawnet limited. --- -Original Message- From: Tim Blair [mailto:[EMAIL PROTECTED] Sent: 15 January 2004 15:56 To: CF-Talk Subject: Fancy a ColdFusion Challenge? Right you

RE: QoQ bug? Help rqd...

2004-01-30 Thread Tim Blair
I had the same problem. It appears that even though CF variables are untyped, the underlying java expects properly formatted dates (java is a strongly typed language). Yes, all java vars need to be typed, but it seems strange that CF seems to think that the string is a date, tries converting

RE: Java Files

2004-01-29 Thread Tim Blair
does CFMX create java files The original MX did, but 6.1 doesn't - the compiler does a direct CF code - java byte code (.class file) compilation to save (lots and lots of) time during the compilation and initial run phase.Doesn't make a huge difference in production but sure makes development

QoQ bug? Help rqd...

2004-01-29 Thread Tim Blair
Can someone else try running this little bit of code please: cfset variables.newQ = querynew(col1) cfset queryaddrow(variables.newQ) cfset querysetcell(variables.newQ, col1, Thu 29 Jan) cfdump var=#variables.newQ# cfquery name=variables.testQoQ dbtype=query SELECT * FROM newQ /cfquery cfdump

RE: CFIF inside of CFLOOP

2004-01-28 Thread Tim Blair
If so, you cal use an evaluate within the loop: Or you can do it without using evaluate() by using summat like: Replace this: evaluate('dropship'indexvalue'_value') With this: variables['dropship'indexvalue'_value'] That assumes that the vars are in the variables scope - if they're coming

RE: How do you clear cache in CFMX?

2004-01-23 Thread Tim Blair
I must be missing something, then. As far as I can tell, the feature is already present. You can currently disable trusted cache in the CF Administrator. If you want to do that programmatically, I'm sure it's possible with a little work. Something like this? cfscript variables.factory =

RE: cfstat - generate log?

2004-01-22 Thread Tim Blair
Try using getMetricData() from your code.This provides the same data that cfstat does. Except doing it like that will mean the requests running will always be one out because it counts the script that you're running getMetricData() in. Tim.

RE: cfstat - generate log?

2004-01-22 Thread Tim Blair
In fact, you could simply do (ReqsRunning = ReqsRunning -1) before logging the data to accommodate for the known thread. Yup, that's right.I was just pointing it out...:) Tim. --- Try the ColdFusion Coding Contest!Current contest: Maze

RE: Fancy a ColdFusion Challenge?

2004-01-16 Thread Tim Blair
Morning all... After some feedback (and a submission!) I've made a couple of updates and clarifications regarding the maze contest that people should be aware of: http://tech.badpen.com/index.cfm?mode=entryentry=14 Tim. --- Try the ColdFusion

Fancy a ColdFusion Challenge?

2004-01-15 Thread Tim Blair
://www.rawnet.com/ or call us any time on 0800 294 24 24. --- Tim Blair Web Application Engineer, Rawnet Limited Direct Phone : +44 (0) 1753 626 654 Switchboard : 0800 294 2424 --- This message may

RE: Fancy a ColdFusion Challenge?

2004-01-15 Thread Tim Blair
/ or call us any time on 0800 294 24 24. --- Tim Blair Web Application Engineer, Rawnet Limited Direct Phone : +44 (0) 1753 626 654 Switchboard : 0800 294 2424 --- This message may contain information

RE: Fancy a ColdFusion Challenge?

2004-01-15 Thread Tim Blair
Knowing Tim it'll be chaos theory and not necessarily any kind of algorithm... ;o) :oP PS.How's that for a come back?:o\ --- Try the ColdFusion Coding Contest!Current contest: Maze Solver - http://tech.badpen.com/cfcontest/

RE: What template is running?

2004-01-14 Thread Tim Blair
Media and ebusiness Gurus. WE'VE MOVED - for our new address, please visit our website at http://www.rawnet.com/ or call us any time on 0800 294 24 24. --- Tim Blair Web Application Engineer, Rawnet Limited Direct Phone : +44 (0) 1753 626 654

RE: X separated values.

2004-01-12 Thread Tim Blair
://www.rawnet.com/ or call us any time on 0800 294 24 24. --- Tim Blair Web Application Engineer, Rawnet Limited Direct Phone : +44 (0) 1753 626 654 Switchboard : 0800 294 2424 --- This message may

Urchin ELF2 log format tag/CFC

2003-12-22 Thread Tim Blair
and ebusiness Gurus. Visit our new website at http://www.rawnet.com for more information about our company, or call us free anytime on 0800 294 24 24. --- Tim Blair Web Application Engineer, Rawnet Limited Direct Phone : +44 (0) 1344 393 441 Switchboard : +44

RE: OT- Macromedia Website Right Now

2003-12-11 Thread Tim Blair
. --- Tim Blair Web Application Engineer, Rawnet Limited Direct Phone : +44 (0) 1344 393 441 Switchboard : +44 (0) 1344 393 040 --- This message may contain information which is legally privileged

RE: Application variables between two applications

2003-12-10 Thread Tim Blair
. --- RAWNET LTD - Internet, New Media and ebusiness Gurus. Visit our new website at http://www.rawnet.com for more information about our company, or call us free anytime on 0800 294 24 24. --- Tim Blair Web Application Engineer, Rawnet

RE: OT: Payment Merchants Merchant Accounts (UK)

2003-12-10 Thread Tim Blair
. Visit our new website at http://www.rawnet.com for more information about our company, or call us free anytime on 0800 294 24 24. --- Tim Blair Web Application Engineer, Rawnet Limited Direct Phone : +44 (0) 1344 393 441 Switchboard : +44 (0) 1344

RE: Verity on RedHat ES 2.1

2003-12-04 Thread Tim Blair
Gurus. Visit our new website at http://www.rawnet.com for more information about our company, or call us free anytime on 0800 294 24 24. --- Tim Blair Web Application Engineer, Rawnet Limited Direct Phone : +44 (0) 1344 393 441 Switchboard : +44 (0

Another CFML app server...

2003-12-04 Thread Tim Blair
, or call us free anytime on 0800 294 24 24. --- Tim Blair Web Application Engineer, Rawnet Limited Direct Phone : +44 (0) 1344 393 441 Switchboard : +44 (0) 1344 393 040 --- This message may

  1   2   >