Re: Adobe ColdFusion IDE survey

2008-01-08 Thread Claude Schneegans
View (HTML) code should be separate to Control and Model code (CFML). Absolutely. I never understood the need for a view module in editors. First, it is so easy to have IE, Mozilla or both open on the page, save the page form the editor and just refresh it form the browser. Secondly, what's

Re: Adobe ColdFusion IDE survey

2008-01-08 Thread Claude Schneegans
A base program, such as CFEclipse But CFEclipse is not a base program, it is a plugin for Eclipse. This is one of the reasons I don't like it: Eclipse is much more general, much too general, it aims at development of any application, possibly in any language. The other thing I don't like is its

Re: Adobe ColdFusion IDE survey

2008-01-08 Thread Claude Schneegans
Eclipse's 'view module' uses the same rendering engine as FireFox Then why not using Firefox directly? And what's about Explorer? Who develops CF applications without checking what it looks like under Explorer? I have several sites using my CMS, and NO administrator uses anything else than

[Fwd: RE: Adobe ColdFusion IDE survey]

2008-01-08 Thread Claude Schneegans
/ The SeatonCorp companies staff management * peoplescout * studentscout /*-Original Message- /*From: Claude Schneegans [mailto:[EMAIL PROTECTED] /*Sent: Tuesday, January 08, 2008 11:40 AM /*To: CF-Talk /*Subject: Re: Adobe ColdFusion IDE survey /* /* Eclipse's 'view module' uses the same

Re: Adobe ColdFusion IDE survey

2008-01-08 Thread Claude Schneegans
I am not sure why they would build an IDE on eclipse when we already have one. Good point. If everybody is happy with CFeclipse, let everybody use CFeclipse. If it is not the case, let Adobe develop something else, but not the same thing. by the way, if Adobe is to develop something

Re: Adobe ColdFusion IDE survey

2008-01-08 Thread Claude Schneegans
I don't quite get what you mean by it looks an alien (sic) in the Windows environment. Sorry, it has been a while since I tested it, and I think I was thinking of some other system. I re-opened Eclipse, and it does not look too alien after all ;-) -- ___

Re: Adobe ColdFusion IDE survey

2008-01-07 Thread Claude Schneegans
Why don't they simply continue to support and develop CF Studio ? -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.

Re: Adobe ColdFusion IDE survey

2008-01-07 Thread Claude Schneegans
They would need to port it to non-Windows systems to appease the majority of the developers. Then let'm do it! -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL

Re: Adobe ColdFusion IDE survey

2008-01-07 Thread Claude Schneegans
and keeping a team of Delphi It was developped in Delphi? Yurk! Now I understand. But still, its conversion to C, or even Java, would be worth Plus, the reality is that we've done nothing with that product in about 8 years ... and stil many people use it and prefer it. that a CF IDE

Re: Adobe ColdFusion IDE survey

2008-01-07 Thread Claude Schneegans
It would be smart for them to make it cross-platform, but it wouldn't affect that many people if it was Windows only. Exact, there may be quite a few production servers under Unix, but their developers are under Windows. -- ___ REUSE CODE! Use custom tags;

Re: Adobe ColdFusion IDE survey

2008-01-07 Thread Claude Schneegans
and many people don't :) Ok, some don't hate them, and even fewer love them ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.

Re: Adobe ColdFusion IDE survey

2008-01-07 Thread Claude Schneegans
Please, please, please, Adobe, don't take away the best darned tool I've ever owned for programming new CF apps! How about starting a union? ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any

Re: Adobe ColdFusion IDE survey

2008-01-07 Thread Claude Schneegans
Sorry... Can you post the link to the survey again... How about a survey about a good message reader that can save and retrieve previous messages? ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please

Re: Adobe ColdFusion IDE survey

2008-01-07 Thread Claude Schneegans
Obviously a job for CF_REextract! Ha ha! Touché ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.

Re: Whitespace from seemingly nowhere, what am I missing?!

2008-01-05 Thread Claude Schneegans
Do you have the component set to suppress whitespace? The problem is not about white space not suppressed. Some white space is actually *added*. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any

Re: Whitespace from seemingly nowhere, what am I missing?!

2008-01-05 Thread Claude Schneegans
Silly indeed! And it is as silly under CF6 Note that if you cfoutput=#len(Silly())#=/cfoutput you get = 5=, thus the extra space is not actually returned by the function call, but is inherent to any function call inside cfoutput However cfoutput=#len(Silly)#=/cfoutput outputs =5= correctly. And

Re: Whitespace from seemingly nowhere, what am I missing?!

2008-01-05 Thread Claude Schneegans
Can't believe that's been around for so long and not fixed in CF8! Must be in the same agenda as correcting the empty list element bug ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam

Re: Manipulate the DPI with cfimage?

2008-01-03 Thread Claude Schneegans
I've argued many times myself (as author of ImageCFC) that DPI is not a function of the image itself, but the meta-data of the image, as the DPI is *ONLY* used for print. or scanning, I couldn't agree more. The resolution is a quality of instruments, images have no resolution. and DPI

Re: Manipulate the DPI with cfimage?

2008-01-03 Thread Claude Schneegans
Visually DPI represents dots per inch - it's a measure of density in printing. The higher the DPI the better the quality of printing - right? Exact. It's a density. The definition of a resolution is the size of the smallest element the instrument can measure, -- if the instrument sees or

Re: Manipulate the DPI with cfimage?

2008-01-03 Thread Claude Schneegans
I think Claude's usage of the term density is an excellent choice. Humbly, it's not really my choice, this is the way I learned it when I was student in physics. I just hope the translation is correct, in French, we call it densité ;-) -- ___ REUSE CODE!

Re: Manipulate the DPI with cfimage?

2008-01-03 Thread Claude Schneegans
Ok So compression is the best measure of quality? except that it is a reverse measure: the higher the compression is, the lower the quality. Some softwares use % compression, some others % in quality. A 10% compressed image is equivalent to a 90% quality, etc. --

Re: Should jsstringformat do more?

2008-01-02 Thread Claude Schneegans
If enough people do so, I can almost guarantee that the Adobe dev staff will take notice, and look at including that or a similar function in the next version of cf. Based on experience with dealing with empty list elements in list functions, it may take a long time ;-) --

Re: Should jsstringformat do more?

2008-01-01 Thread Claude Schneegans
I think it is obvious that /script is not a safe string under certain JavaScript conditions. The problem is not with Javascript here, it is with the HTML parser. The HTML parser considers that the JS code is only alert(' and passes it to the JS engine. The engine does what it can with what it

Re: Should jsstringformat do more?

2008-01-01 Thread Claude Schneegans
If I enter the End of /script and it gets butchered when it goes somewhere else, that's a bug. If it's a bug, it is only in the CMS that did not make sure the HTML code it produces was right. Not in the HTML parser. The HTML parser does not parse the Javascript code, so obviously, the parser

Re: Should jsstringformat do more?

2008-01-01 Thread Claude Schneegans
This has nothing to do with the safety of JavaScript string literals at all, and everything to do with HTML. Absolutely. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address:

Re: Should jsstringformat do more?

2008-01-01 Thread Claude Schneegans
Therefore, jsstringformat should format strings the way SerializeJSON does. I don't agree: The purpose of jsstringformat is to make a string safe as a Javascript string in a Javascript context, no more. JSON is a text format that is completely language independent, not only Javascript, but

Re: Should jsstringformat do more?

2008-01-01 Thread Claude Schneegans
I don't think it's a good idea for one of these functions to guess that I want to remove something that isn't a metacharacter when in fact I may not. Exact. Another good example is the MSHTML editor which absolutizes relative link addresses accordingly to the directory in which the editor is

Re: Should jsstringformat do more?

2008-01-01 Thread Claude Schneegans
Then the context of jsstringformat should be widened. Ok, then call it JSstringInHTMLformat. ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED])

Re: regular expressions

2007-12-28 Thread Claude Schneegans
i have some html files which i need to be able to read and find all referenced files in it. Like all jpg, gif, css, js files etc that are being used inside the html tags. This is a job for CF_REExtract! See: http://www.contentbox.com/claude/customtags/REextract/testREextract.cfm --

Re: regular expressions

2007-12-28 Thread Claude Schneegans
yeah, didn't see that coming LOL... always ready to help people -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.

Re: regular expressions

2007-12-28 Thread Claude Schneegans
any other ideas Don't ask me ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.

Re: How to dynamically rewrite this code...

2007-12-27 Thread Claude Schneegans
I need to insert the new li menu reference before the closing /ul. Ok, with this approach, you would edit directly the source code. Personally I'm using an opposite approach: - use a table in the database to store all menu items; - build the whole menu from the table; - for editing, I use a

Re: How to dynamically rewrite this code...

2007-12-27 Thread Claude Schneegans
If your query is cached I wouldn't be surprised if the difference between both won't show until you are getting dozens of requests per second. The problem is that it does not require ONE query, it is rather a recursive process, on every sub-panel in the menu. So rather than caching several

Re: How to dynamically rewrite this code...

2007-12-27 Thread Claude Schneegans
However, I would be confident in saying that the server will have to work a lot harder to query a database, Apparently yes, and I was also planning to use the query to build a static html template for the menu, instead of rebuilding it for every request. Because yes, the menu is not updated

Re: How to dynamically rewrite this code...

2007-12-27 Thread Claude Schneegans
Let me first measure the time it takes, and see if it is worth. I've measured my process, and it takes an average of 300 ms for a menu with about 50 items in it. Not really a problem on my sites, although I'm considering building an HTML version every time the menu is updated. --

Re: How to dynamically rewrite this code...

2007-12-27 Thread Claude Schneegans
But still, it's hard to believe that dynamically generating a menu 2,500 times is even close to as good as simply cfincluding a page with the menu code 2,500 times. In my case, this would represent about 12 min processing time per day, I suppose the 2500 pages will not be requested the same

Re: How to dynamically rewrite this code...

2007-12-27 Thread Claude Schneegans
Got any computations on processing a cfinclude an equivalent amount of times? Exactly, I measure the time BEFORE and AFTER the build menu template is called, and display the result in a comment line. The average is about 350 ms. I guess this would be too much for a million pages per day site,

Re: How to dynamically rewrite this code...

2007-12-27 Thread Claude Schneegans
We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. In other words, one should always optimize the optimization ;-) -- ___ REUSE CODE! Use custom tags; See

Re: FCKEditor Integration with CF8 for cftextarea use

2007-12-27 Thread Claude Schneegans
Actually, DBML was used in Cold Fusion 1.x only. and I remember the docs. T'was just an MSWord document! ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL

Re: Expanding Menu

2007-12-27 Thread Claude Schneegans
you click on it, the menu expands. If you're dealing with visitors with not too much skills and accustomed to Windows applications, you should take in account that the way http://www.tutorials-db.com/articles/Coding_a_Smooth_CSS_Expanding_Navigation/ works is against nature. What I mean is

Re: FCKEditor Integration with CF8 for cftextarea use

2007-12-27 Thread Claude Schneegans
wow, sure you have a memory recorder He deserves no credit, I'm pretty sure he got this from a book ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED])

Re: Send Blowfish-encoded string to PHP

2007-12-24 Thread Claude Schneegans
where redirectTo simply redirects the page over to some place and sends the encoded value over with it. How can this be accomplished in PHP (using mcrypt library for instance)? Something is not clear: why does it has to be done in PHP since apparently it is not done yet, and you seem to do

Re: Dynamic ID's

2007-12-20 Thread Claude Schneegans
If someone has a better idea for a unique ID, I'm open to suggestions. Well, if the id is for records in a table, how about using an auto counter field? -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please

Re: Dynamic ID's

2007-12-20 Thread Claude Schneegans
The database does support autonumber, What database is it? there are many times where autonumber isn't useful because when you delete a record, the database re-numbers everything Really? I've never seen such a database that re-numbers auto numbers. -- ___

Re: Another RegEx question...

2007-12-20 Thread Claude Schneegans
I am cfhttp-ing a page and searching for the first image tag. This is a job for CF_REextract : http://www.contentbox.com/claude/customtags/REextract/testREextract.cfm You can even test it on line : 1) set INPUTMODE = to http 2) go to

Re: Another RegEx question...

2007-12-20 Thread Claude Schneegans
Claude, that brings back the javascript script tag Ah ok, then you have to include the img tag in the RE1 expression. I just want the RegEx though. I wrote this tag because it is sometimes much easier to find what's between two very simple expressions than to describe what you want in only

Re: RegEx Tools

2007-12-19 Thread Claude Schneegans
Question, are there any online RegEx tools out there Sure: you can design and test your regExp online here: http://www.contentbox.com/claude/REwizard/index.cfm (IExplorer only) and you can test a parse on your page address here:

Re: CF forums

2007-12-18 Thread Claude Schneegans
FuseTalk is *not* written with Fusebox This is con*fuse*ing ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.

Re: Exclusive locks still producing duplicate values

2007-12-18 Thread Claude Schneegans
cflock name=#session.st#ProcessLock Here is your problem: if your using any session value in the lock name, you're having one lock per user. You're actually protecting your code from multiple use by the same user, not by all users. -- ___ REUSE CODE! Use

Re: Exclusive locks still producing duplicate values

2007-12-18 Thread Claude Schneegans
that particular value is the same across all users for a particular client and each client draws from its own seed value. Well, then I would look for some breach in the process of setting this session value. -- ___ REUSE CODE! Use custom tags; See

Re: OT: Need a Javascript Wizard...

2007-12-18 Thread Claude Schneegans
When a checkbox is checked, its value needs to be passed to a hidden form field (it will become a comma seperated list). When it is unchecked, it needs to be removed from the list. Well, you don't actually need any Javascript to do that. Just give the same name to all your checkboxes, and the

Re: Bad Word Regex Help

2007-12-17 Thread Claude Schneegans
Normally I would just use boundaries (\b) for this, but since the current platform is running CF5 How about (non tested) reReplaceNoCase(attributes.replacedString, ([^a-zA-Z])#wordKey#([^a-zA-Z]), \1**CENSORED**\2, all) but be aware that any one really will to use badwords will just have

Re: Bad Word Regex Help

2007-12-17 Thread Claude Schneegans
the above regex seems to be checking for any alpha characters either before or after the bad word It's the opposite: it is checking for one character which is NOT alpha, before AND after. The only thing I'm not sure is if it will match in the case of the beginning and the end of the string.

Re: HTTPServerError

2007-12-15 Thread Claude Schneegans
Any suggestions on how to debug this ? This what? all I get is a Internal Server 500.. Doing what? Has been working for years until today What has been working for years? ;-) -- ___ REUSE CODE! Use custom tags; See

Re: AJAX based mutiple file upload

2007-12-14 Thread Claude Schneegans
I was wondering if anyone has a demo of a Ajax based multiple file upload that works with ColdFusion. ColdFusion or not, it is impossible to have a full multiple file upload with only Ajax client side. Ajax is actually Javascript, and there is no possibility of multiple file handling with

Re: Compare two tables

2007-12-14 Thread Claude Schneegans
This is one of a couple of things which was much easier to do in primitive databases like dBase or Clipper. But I would use an equivalent technique here, just looping in both queries in the same time. (not tested) CFQUERY NAME=q1 DATASOURCE=DS1 SELECT field ORDER BY field /CFQUERY CFQUERY

Re: ValueList and Peformance

2007-12-13 Thread Claude Schneegans
Are there any performance issues with using ValueList() on say 500+ records? For valuList, I would say not that much, but for the WHERE myID IN (#searchCriteria.tmpIDList#) query, I would say maybe. -- ___ REUSE CODE! Use custom tags; See

CFHTTP works with CF 5 but not under CFMX

2007-12-11 Thread Claude Schneegans
Hi, I have this piece of code that works fine under CF5, but fails with connection failure and status code = 200 bothe under CF 6 and CF 7, on the same server. CFHTTP METHOD=GET RESOLVEURL=Yes

Re: CFHTTP works with CF 5 but not under CFMX

2007-12-11 Thread Claude Schneegans
I have a hint: I'm having the problem with only 2 pages. Each page is declared ?xml version=1.0... One is in XML indeed, the other one is just plain HTML. I suppose CF is trying to decode the XML, although I don't want to get any structure, I'm parsing the page myself. Is there a way to ask CFMX

Re: CFHTTP works with CF 5 but not under CFMX

2007-12-11 Thread Claude Schneegans
you might try setting RESOLVEURL=NO. Makes no difference :-( -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.

Re: CFHTTP works with CF 5 but not under CFMX

2007-12-11 Thread Claude Schneegans
Something I don't understand is that in the dump of the cfhttp structure I can see this header below, thus the page is retrieved indeed, so how comes CF reports a connection failure? The only explanation is that CF is trying to do something with the content, (something I didn't asked) with the

Can someone test this piece of code under CF 7 for please?

2007-12-11 Thread Claude Schneegans
CFHTTP METHOD=GET URL=http://www.cyberpresse.ca/apps/pbcs.dll/section?Category=CPRSSprofile=5046mime=xml; TIMEOUT=60 / CFDUMP var=#cfhttp# And tell me if you get something else than connexion failure in the filecontent variable. Thanks. -- ___ REUSE

Re: Can someone test this piece of code under CF 7 for please?

2007-12-11 Thread Claude Schneegans
unfortunately the thread originator is one of those people who do not like others to know how they managed to solve the problem... Yes, this is too often what happens. I found hundreds of threads on that issue, none had a conclusion. -- ___ REUSE CODE! Use

Re: form problem

2007-12-09 Thread Claude Schneegans
i have never seen anything like this before Same with us, especially if you don't show any code ;-) Are you sure the form is submitted with METHOD=post -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please

Re: form problem

2007-12-09 Thread Claude Schneegans
its always the little things that take the longest! also known as Pareto's law ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.

Re: Convert Letters to Numbers in Phone Numbers

2007-12-05 Thread Claude Schneegans
I've noticed that since a certain amount of time, it takes quite a long time to process messages in the list. According to the headers, I sent this message at 12:31, but I got it back from mail.houseoffusion.com at 16:22:06, thus 4 hours later. This is not that I'm so anxious about receiving

Re: Timing of emails on list (WAS: Convert Letters to Numbers in Phone Numbers)

2007-12-05 Thread Claude Schneegans
-- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| ColdFusion is

Re: Timing of emails on list (WAS: Convert Letters to Numbers in Phone Numbers)

2007-12-05 Thread Claude Schneegans
I refuse attachments and transform from rich text to plain text. The AV was an extra precaution but it didn't help much. Well, I doubt indeed that any virus can be found in a text only message. -- ___ REUSE CODE! Use custom tags; See

Re: Timing of emails on list (WAS: Convert Letters to Numbers in Phone Numbers)

2007-12-05 Thread Claude Schneegans
The CA anti-virus on the mail server Is it really necessary to scan messages for viruses on the list. Can't you just refuse any attachment anyway? -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send

Re: Convert Letters to Numbers in Phone Numbers

2007-12-04 Thread Claude Schneegans
Can anyone tell me or point me to a Macro or coldfusion code to convert letters to numbers on phone keypad. You will ashamed how simple it is ;-) CFSET letters = A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z CFSET numbers = 2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,7,8,8,8,9,9,9,9 CFSET

Re: Convert Letters to Numbers in Phone Numbers

2007-12-04 Thread Claude Schneegans
Would one need to create some logic to handle older phone layouts that did not have two letters, the 'Q' and the 'Z' I believe? Yeah, and what about crank telephones ;-) -- ___ REUSE CODE! Use custom tags; See

Re: Slow Speed of Ajax Driven CF Tags

2007-12-02 Thread Claude Schneegans
Yes, I saw the un-rendered menu before the real menu-bar loads. Me too. I don't know about using CFMENU, but I have my own menu designed far before CFMENU existed and I have the whole DIV embeding the menu with style invisible. The style is set to visible only when the whole menu is set up. --

Re: Unterminated string literal

2007-11-30 Thread Claude Schneegans
when i try to use that text in javascript it produces an error saying unterminated string literal. Use the CF function JSStringFormat(string) to create your JS string. It will escape characters that need to be escaped, likes CR and quotes. -- ___ REUSE

Re: sql editor

2007-11-30 Thread Claude Schneegans
Ok... How do you get Access to use the join syntax? Where joining two columns between two tables, click on the line. I must admit the line is not thick, and sometimes hard to click, but everything is here. -- ___ REUSE CODE! Use custom tags; See

Re: sql editor

2007-11-30 Thread Claude Schneegans
For example, if you use Access to create JOIN query you will not get JOIN syntax. Instead you will get what I usually refer to as the Access join syntax. Although I agree that the Access query builder has its limit, it does support INNER, LEFT anf RIGHT joins. I have written my own advanced

Re: cfmail, html, and submit button input type=image

2007-11-29 Thread Claude Schneegans
Your button is of type image. Even if you call it submit, it won't submit the form. You could use an onClick event to submit the form, but most eMail readers won't execute Javascript, so better use a standard submit button. -- ___ REUSE CODE! Use custom

Re: OT: SQL Data Type

2007-11-28 Thread Claude Schneegans
What are the benefits on using a CHAR field versus VARCHAR? The basic idea, back to the first database systems, is that all records have the same length and use the same amount of space in the database. Thus finding a record is just a matter of multiplying this record length by the record

Re: sql and order by ?

2007-11-28 Thread Claude Schneegans
How about this? SORT BY val(left(serial, 4)), val(substring(serial, 3)) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.

Re: image effects

2007-11-26 Thread Claude Schneegans
I can't imagine being a developer, especially a developer of products for sale, and not being on this list. Good point ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address:

Re: error caused by cfqueryparam inside cfif

2007-11-26 Thread Claude Schneegans
What's going on?!? either in your code or some system code IMHO it is more like in the system code ;-/ -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED])

Re: image effects

2007-11-25 Thread Claude Schneegans
Now that *is* strange... great way to show off a product you want people to spend money on. Not like those great tags shown at http://www.contentbox.com/claude/customtags/tagstore.cfm ;-) -- ___ REUSE CODE! Use custom tags; See

Re: image effects

2007-11-25 Thread Claude Schneegans
Are these tags CF8 compatible? Actually, I didn' test, but I see no reason they shouldn't be. Especially for the CFX. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address:

Re: image effects

2007-11-23 Thread Claude Schneegans
I cant get CF2/RICK out of my mind. Yeah, it's about time HE gives examples, instead of asking ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED])

Re: CFHEADER

2007-11-19 Thread Claude Schneegans
cfheader name=Content-Disposition value=attachment;filename=FILENAME Shouldn't be filename=#FILENAME# ? Surprising it works with Firefox and IE 7. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send

Re: outputting table and column names from a database

2007-11-17 Thread Claude Schneegans
Coldfusion 8... And if NOT CF*, see CFX_ODBCinfo: http://www.contentbox.com/claude/customtags/ODBCInfo/E/TestODBCInfo.cfm Works with any ODBC database. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please

Re: blocking spambots

2007-11-16 Thread Claude Schneegans
Do spambots use javascript? Not as I know so far. I'm implementing a system to spot bad robots, not only spam bots. So far, I've seen a couple which read Javascript files, but no one executed it. -- ___ REUSE CODE! Use custom tags; See

Re: blocking spambots

2007-11-15 Thread Claude Schneegans
What sound does a cow make? with answers meow, quack and moo What if it is a cow with mad cow desease? -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED])

Re: blocking spambots

2007-11-15 Thread Claude Schneegans
Aren't spambots faking that these days ? They are able to fake about anything, except may be the IP address and script execution. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this

Re: CF date values in Access

2007-11-15 Thread Claude Schneegans
#dateformat(FORM.start_date, MM/DD/)# Several things here: 1) dateFormat needs a date in its first argument, so CF will first convert FORM.start_date, which is a string, to a date value. 2) thus CF will suppose that FORM.start_date is in american format. But then dateformat is useless since

Re: What I need to Develop a standalone application on my LAPTOP usiong COLDFUSION?

2007-11-14 Thread Claude Schneegans
1.) Install CF Developer Edition 2.) Install Eclipse 3.) Install CFEclipse 4.) DB of some kind. 5.) ??? 6.) Profit! You forgot 1.1: RTFM! -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam

Re: blocking spambots

2007-11-14 Thread Claude Schneegans
it appears my addcomments.cfm page has become indexed in google. usually this page is only accessed when a user goes clicks a link from the articles.cfm page. Then, if the address of this page is in a A tag, any robot will follow it. If it is accessed through a form, normally Google should not

Re: Replace Syntax

2007-11-13 Thread Claude Schneegans
What am I doing wrong? You are actually replacing quotes in the string 'form.description' instead of variable form.description. Just try #Replace(form.description,'',',ALL)# -- ___ REUSE CODE! Use custom tags; See

Loosing session when setting server variables

2007-11-13 Thread Claude Schneegans
Hi, I have an application which sets some server variables, enclosed in a lock on server scope: CFLOCK TIMEOUT=2 THROWONTIMEOUT=No TYPE=EXCLUSIVE SCOPE=SERVER Since I added this code, apparently, many times, sessions variables are lost in any application and admin users have to relogin. What I

Re: ASCII String Value

2007-11-13 Thread Claude Schneegans
myString.charCodeAt(i) // this gives me the asci value for the character so i can test if it is an unwanted character is there any similar function in coldfusion? try asc(mid(myString, i, 1)) But in CF like in JS, there might be a more efficient way to accomplish what you are trying to do.

Re: Image Management

2007-11-08 Thread Claude Schneegans
Depends on what the image represents. Ah ah, it's funny how much time you can spend just finding details to contradict me ;-) Of course, IF you're working with Binary information in Well Known Binary (WKB) format, AND you have a database capable of reading details in that format, then you

Re: Image Management

2007-11-07 Thread Claude Schneegans
My gut reaction is that this would add overhead, a dependency on the database, network traffic, etc. What are your thoughts? This sbject has been brought many times. You're right The purpose of a database is to store information in such a way that it can be sorted and searched more easily. An

Re: Image Management

2007-11-07 Thread Claude Schneegans
all your data is stored in one location. This means if you move your app to your server, all the files go with it. 1. you can also store all your images in one location, in some images directory. if this directory is inside your site -- which is better if you want your images to be

Re: Image Management

2007-11-07 Thread Claude Schneegans
So, I'm assuming, again, that there really should be little difference in performance regardless of how the file data is accessed. Basically correct; however, images can make a huge amount of data, and the bigger the database is, the less it's performance is. You're right that you're reading the

Re: How do I get the characters after the last period in a string?

2007-11-07 Thread Claude Schneegans
want to return the characters in the name of a photo preceding the period. ListFirst() man, listFirst! ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL

Re: How do I get the characters after the last period in a string?

2007-11-07 Thread Claude Schneegans
Listlast(filename, '.') to get the extenstion or to get the file name if no extension... -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.

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