Re: Opening a template in CF Studio from an HTML link

2012-11-26 Thread Claude Schnéegans
>>ColdFusion code runs on the server. Nothing you write in CF is ever processed by a client or web browser. Your is attempting to run cfstudio45.exe on the server. I'm on my development server, of course. ~| Order the Adobe

Re: Opening a template in CF Studio from an HTML link

2012-11-26 Thread Claude Schnéegans
>> if you want to open those in cfstudio, you can right click "Open With..." >> and choose cfstudio. No, this is when you are in Windows Explorer. What I need is open the file in CF Studio from Internet Explorer in a page generated with CF. I'm trying to use CFEXECUTE, but nothing happens.

Opening a template in CF Studio from an HTML link

2012-11-26 Thread Claude Schnéegans
Hi, When I dbl-click on a CF template in Windows Explorer, it automatically opens the template in CF Studio. Now, suppose I have a list of local files in an HTML page, is it possible to create the same action in an HTML link like: #fullPath#

Re: Flushing cache

2012-11-07 Thread Claude Schnéegans
>>Is there anyway to ensure that a user starts with a "new" or fresh template >>that is loaded from the website and not from their computer's cache. It is supposed to be handled automatically by CF with appropriate HTTP headers. ~~~

Re: multi sessions in one

2012-10-30 Thread Claude Schnéegans
>>You can prevent session-based race conditions by using CFLOCK around any code that reads or writes session variables, It is not an issue of session race and I don't see how CFLOCK could help. Imagine you have a big system designed to manage big events like annual conferences wirh inscription,

multi sessions in one

2012-10-30 Thread Claude Schnéegans
Hi, I've noticed that one of my users was causing errors in my application because he opens several windows to work in different areas of the system in the same time. This causes conflicts in the session scope, since all of his windows are having the same cookie, therefore the same session. Th

Re: What does "+no+post+sending+forms+are+found" do?

2012-09-25 Thread Claude Schnéegans
It looks like a search engine which is clumsily redirecting search result to some of your pages. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Arch

Re: CF DDos update released

2012-09-11 Thread Claude Schnéegans
>>i already read tha adobe bulletin, it doesn't really say much. I doubt you will ever see details and description about any possible attack. It would be too easy for those looking for ideas... ~| Order the Adobe Coldfusion Ant

Re: credit card fraud

2012-08-23 Thread Claude Schnéegans
>>why does the CFTALK list let anyone post with no name and no email address? Probably because the CF_talk list system does not recognize ISO-8859 encoded addresses. ~| Order the Adobe Coldfusion Anthology now! http://www.amaz

Re: credit card fraud

2012-08-23 Thread Claude Schnéegans
>>Why don't you just download the project and give it a try Because I've been using my own system since years ago. >>foaming at the mouth about how it insults you. You're insulting me ;-) ~| Order the Adobe Coldfusion Anthol

Re: credit card fraud

2012-08-23 Thread Claude Schnéegans
>>cfformproetct uses several techniques to detect human input, not captcha Are they invisible to the human ? Some forms ask me how much is 2+2, this is insulting as well ;-) ~| Order the Adobe Coldfusion Anthology now! http://w

Re: credit card fraud

2012-08-23 Thread Claude Schnéegans
>>Captcha was in place Everytime I see a capcha in a site I'm tempted to run away. It is so user unfriendly, it is insulting. I don't know how CFFormProtect works, but it is so easy to have an onsubmit Javascript procedure that will add some hidden field in the form which the action template

Re: Query with no results is not defined

2012-08-22 Thread Claude Schnéegans
>>IT ERRORS RIGHT HERE! Waht is the error message ? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf

Re: Query with no results is not defined

2012-08-22 Thread Claude Schnéegans
>>second it does make the app run faster, as when you don't provide the explicit scope May be 1 msec faster on the server, but at least 1 sec longer for me to write the code, neither my server neither myself are paid on a hourly rate ;-)

Re: Installing Railo on IIS7.5

2012-08-20 Thread Claude Schnéegans
>>if your not using any CF specific features there is a good chance your site will work with no changes at all. Well, the problem is to know what is "CF specific", furthermore, I would prefer the term "Railo not CF compatible", since CF is the genuine CFML after all. I tried Railo once, and the

Re: Looking for Homesite+

2012-08-16 Thread Claude Schnéegans
>> I just need to update the tag definitions to the latest version of CFM. However, what is the last supported CF version and where are the updates available ? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com

Re: Looking for Homesite+

2012-08-16 Thread Claude Schnéegans
>>It would be nice if Adobe would opensource Homesite+ Even better if they continued supporting it. No other CF editor ever reached it's level of versatility (except fot things we don't need of course, ie: Eclipse) ~| Orde

Re: I guess it was bound to happen

2012-08-10 Thread Claude Schnéegans
>> I set the appropriate meta tags and robots.txt to tell the search engines to not spyder the site. Only well behaving bot will follow the robot.txt recommandations. There are also bad bots which don't care reading the file, and very bad bots which do read the file in the only purpose to reque

Re: CFCONTENT does not reset

2012-08-06 Thread Claude Schnéegans
>>Once you use any functionality that explicitly writes part of the response (CFHTMLHEAD, CFHEADER, etc) you can't use functionality that lets you manipulate the storage buffer (CFCONTENT, CFFLUSH). I think it is actually the opposite: Once you have used CFCONTENT, CFFLUSH, you cannot use any fu

Re: CFCONTENT does not reset

2012-08-06 Thread Claude Schnéegans
>>Once you use any functionality that explicitly writes part of the response (CFHTMLHEAD, CFHEADER, etc) you can't use functionality that lets you manipulate the storage buffer (CFCONTENT, CFFLUSH). Not so sure about this. I've noticed that the effect of CFHTMLHEAD is to find the ... pair in th

CFCONTENT does not reset

2012-08-06 Thread Claude Schnéegans
Hi, I came across a problem with CFCONTENT. Even if the attribute RESET="yes" is used, the content which was previously set by This shouldn't have the head section. Ex 2: This is in the head section This shouldn't have the head section. In Ex 1, the text "This is in the head section" stil

Re: IsValid Integer 40+ and numeric argument???

2012-07-20 Thread Claude Schnéegans
>>I actually need the isvalid function to return false if the sign is on the >>right. is there a way to do this? Try this : function isValidInteger (value) { return (REFind ("^(\+|-)?[0-9]+$", value) NEQ 0); } isValidInteger ("12345") = #isValidInteger ("12345")# isValidInte

Re: More Complicated RegEx Replace

2012-06-28 Thread Claude Schnéegans
I doubt you can achieve this just using regex. Regex are great for doing things, but not for "not doing". ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffus

Re: Thousand Separator ONLY

2012-06-26 Thread Claude Schnéegans
Try this: (Note that for the last one you will get 0s at the end of the integer part, this is probably because of an overflow error. If you really have such large numbers, a function that works exclusively on the string will be needed.) function thSepar(n) { var integerPart = numberForma

Re: CFHeader Problem

2012-06-26 Thread Claude Schnéegans
>>What's wrong with the below? Don't you need RESET="yes" inside the CFCONTENT tag? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http:

Re: Is CF slower than Java?

2012-06-11 Thread Claude Schnéegans
>>Cold Fusion is written in JAVA which means, generally, that a ColdFusion >>program will run slower than a program written directly in JAVA. Yet another statement from a guy who doesn't know what he is talking about. Java programs AND CF templates are compiled into Java byte code. CF template

Re: High school algebra problem

2012-05-14 Thread Claude Schnéegans
>>#794625 MOD 256# will return 1, #794626 MOD 256# will return 2, etc. That will give you your folder number. If the result is 0, then the folder would be 256. Then use ((property - 1) MOD 256) + 1, this should go from 1 to 256 Ex: n = #n#, ((n - 1) MOD 256) + 1 = #((n - 1) MOD 256) + 1# ~~

Re: Eric P wants to chat

2012-05-10 Thread Claude Schnéegans
>>- Powerful spam protection This must be essencially for ingoing spam I suppose? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://w

Re: after a long hiatus back to talk about frameworks

2012-05-09 Thread Claude Schnéegans
>>Frameworks exist because they help solve problems This is why the "best" framework is the one you design yourself to solve your problems. Solutions for other people's problems ar not always good for you and may even cause more problems you will ever encounter. ~~

Re: Controlling Spiders

2012-05-08 Thread Claude Schnéegans
>>What would be nice if the companies that create the likes of IIS and Apache and others, got together and defined a protocol at the server level. IMHO, the only rule that would be really useful would be to force Robots to 1. identify the web page were they discribe their purpose and what they a

Re: Controlling Spiders

2012-05-08 Thread Claude Schnéegans
>>this is the official way to do it. http://www.robotstxt.org/ The problem with Robots.txt is that it is only obeyed by well behaved bots. Well behaved bots won't cause traffic problem, even if they are a dozen sucking your site in the same time. I've seen bad bots reading robots.txt and immedi

Re: CF9/OpenOffice for Word to PDF

2012-05-04 Thread Claude Schnéegans
>>12 years of documents to convert For 12 years old MS Word documents, I can believe Open Office is capable of interpreting the document properly, but for more recent ones, Op.Of seems to be far behind. ~| Order the Adobe Col

Re: CF9/OpenOffice for Word to PDF

2012-05-04 Thread Claude Schnéegans
>>Is anyone using the CF9/OpenOffice to convert Word/Excel documents to PDF? >>How well is it working? Pretty badly. I even didn't try it under CF since I never was able to get a proper conversion from MS Word to Open Office. It might work well with plain text, but forget about formating. ~

Re: (ot) Blocking IPs

2012-05-02 Thread Claude Schnéegans
>>http://en.wikipedia.org/wiki/IP_address_spoofing Thanks. I can't believe it is that simple. It would be so simple if the protocol was something like: - sender: I have a message for you my IP is x.x.x.x - receiver: Ok, here is the key: (UUID) - sender: Ok, your key is (UUID), here is the messa

Re: (ot) Blocking IPs

2012-05-02 Thread Claude Schnéegans
>>The problem with IP blocking is that 99% of the time the IP is a fake IP, I'm not a protocol specialist, just curious, but how can an IP be forged? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Cold

Re: Anyone see anything wrong with this code?

2012-05-01 Thread Claude Schnéegans
>>I'll have to work on translating this into jQuery. ... or simply use my function it as is. It has been working fine for years, long before jQuery was on the market. ~| Order the Adobe Coldfusion Anthology now! http://www.ama

Re: Anyone see anything wrong with this code?

2012-05-01 Thread Claude Schnéegans
»>>I can't give any clues on error messages, because this is part of a cfc on the back end of an ajax call. No errors show up in firebug or elsewhere. This is a problem with Ajax calls. If the template called by Ajax throws an error, the text returned by the CF server is not compatible with Ajax

Re: Array a directory name

2012-04-27 Thread Claude Schnéegans
>>newdir = tests/doc.html According to the example you give, what you're looking for is not an array but a substring. How about newdir = listGetAt(dir, listLen(dir, "/")-1, "/") & "/" & listLast(dir, "/") ~| Order the Adobe Co

Re: Coldfusion MS acess question

2012-04-19 Thread Claude Schnéegans
>>Too few parameters. Expected 1 This is supposed to mean that one of le column names is not found in the table. Why don't you post the whole query here? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-

Re: Coldfusion MS acess question

2012-04-19 Thread Claude Schnéegans
>>datepart("q", datecolumn), column1, column2 It might be that the query has no name for the datepart column. Try datepart("q", datecolumn) AS quarter, column1, column2 ~| Order the Adobe Coldfusion Anthology now! http://www.

Re: Coldfusion MS acess question

2012-04-19 Thread Claude Schnéegans
>>but fails when used inline in Coldfusion. Please define "fails". - No record returned? - wrong data? - error thrown? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/

Re: real number returned with comma as decimal delimiter GOT IT!

2012-04-17 Thread Claude Schnéegans
Ok, I got it! The query is produced by a UNION, ans in one of the sub SELECTs, the column was set to '0' instead of 0. This tiggered a converstion to text for the same column in the next SELECT, probably in the ODBC driver, and this conversion implied the use of a comma instead of a dot. For s

Re: real number returned with comma as decimal delimiter

2012-04-17 Thread Claude Schnéegans
>>Can you reply with the line of code throwing that error and perhaps a few relevant lines above it? It has nothing to do with the code, which by the way works perfectly on my production server under W 3000 in English. The problem occurs in #numberFormat(paiementMontant, "_9.99")# The error

real number returned with comma as decimal delimiter

2012-04-17 Thread Claude Schnéegans
Hi, I have CF9 installed on W7 using an Access database. In a table I have a currency value of -488.7 The windows is French, but I have set the delimiter for both the decimal values AND currency values to dot instead of comma. Though I get this error in CF: The value -488,7 cannot be converted to

Re: CF 9 and .txt files

2012-04-13 Thread Claude Schnéegans
>>The web server actually sends ALL requests to CF by default - Really ? My Web server (IIS) only sends to CF requests for files having an extension defined in the IIS configuration, ie .cfm, .cfc,... By defaut the Web server will just pass the file as is to the browser. ~~

Re: CF 9 and .txt files

2012-04-13 Thread Claude Schnéegans
>>Call me kooky, but that seems like a lot of steps / effort for something >>that should be bone simple - a checkbox or text field in the CF >>Administrator maybe? IMHO not even. CFMX is full of such undocumented and useless features. Since IIS is passing an HTTP request to CF, why should CF

Re: CF 9 and .txt files

2012-04-11 Thread Claude Schnéegans
>>Ok, I made exactly what is said here, it makes no difference. Ok, I restarted IIS and now I get something. Thanks. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?t

Re: CF 9 and .txt files

2012-04-11 Thread Claude Schnéegans
>>You also have to configure CF to do something with them, by editing web.xml. Arhhh ! I knew they would have made it more difficult to do exactly the same thing :-( >>http://www.talkingtree.com/blog/index.cfm/2006/2/17/CF-Custom-File-Extensions Ok, I made exactly what is said here, it makes

Re: createodbcdatetime change in cf9?

2012-04-11 Thread Claude Schnéegans
>>The data is actually being posted back from paypal. Ok, I see. Well the problem is that CF is not able to parse the date in the format supplied by Paypal. Personally, I use createODBCDateTime(Now()) to register the date time. It will be the time related to your sever instead of Paypal's one,

Re: createodbcdatetime change in cf9?

2012-04-11 Thread Claude Schnéegans
Are you using CFFORM? I never use it, but I kind of remember there is something special witf input fields containing "_date". ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/14302

Re: CF 9 and .txt files

2012-04-11 Thread Claude Schnéegans
>>some URL rewriting Is it possible with IIS? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/

CF 9 and .txt files

2012-04-11 Thread Claude Schnéegans
Hi, I have an application (CMS) running fine for about 14 years under CF. In IIS 6, I have set .txt files to be treated by CF as well as .cfm file, so I can use a dynamic Robots.txt file. It has been working nice for years, but now I noticed that all requests for .txt files give an error 405 and

Re: Bracket Notation

2012-03-30 Thread Claude Schnéegans
>> You cannot embed #...# delimitors like this. Try with #detail["off" & idx & "_street"]# ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion A

Re: Display a list of Parent and Child pages by Sort Order, with children arranged under their respective parents

2012-03-25 Thread Claude Schnéegans
>> I am trying to display a list of Parent and Child pages, with children arranged under their respective parents, thus: This is one of the best case a recursive custom tag can be used. Every row in the table should have a column with parentId pointing to its parent. No need for parents pointin

Re: Admin System - Temp Tables? Advice?

2012-03-21 Thread Claude Schnéegans
Most of the case, the user does not want a new item to be published bedore it is completed. For existing items, only little adjustements are made and this may be done on line. If it is your case, just add some Active logical field in the table and display the item only if the active flag is se

Re: Blank page with no HTML tags

2012-03-13 Thread Claude Schnéegans
>>Is there a way a can create a blank page without the browser automatically >>adding: In my case with Explorer, this is what I get: But with Opera, Firefox, Safari or Chrome: nothing. So this must be some Browser feature and I doubt you can control it at the server level.

Re: PSA - Daylight Savings Time

2012-03-13 Thread Claude Schnéegans
>>What would happen if you set up a scheduled task for 02:30 on the day that we return to standard time since there would theoretically be two 02:30's for that morning? Would it run twice? There is a simple way to make sure an application is run at least one and only one time: Say you have it

Re: CFinclude issues

2012-03-02 Thread Claude Schnéegans
>>You cannot use a cfinclude on a .htm page Well, actually you can, ... but it will include nothing ;-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffus

Re: CFinclude issues

2012-03-02 Thread Claude Schnéegans
>>Aren't they all also relative to the original including templates path >>though even though they're nested? I would say yes. Better do this in the same directory. Any way, I do not relly see a good occasion for using recursive includes, because they will all work on the same variable scope.

Re: CFinclude issues

2012-03-02 Thread Claude Schnéegans
>>unless you include a file that includes the file you're including. Even this will work, provided you have a test to stop the recursive loop. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-

Re: column page layout

2012-02-28 Thread Claude Schnéegans
>>I think you can use 2 column layout html template Using Dreamweaver Well, I suppose that it is simply some table in which one can fill in some text by hand. I know haow to designe a two column page in HTML, the problem is to have it automatically generated from a database. What I was thinkin

Images not rendred properly in a pdf CFDOCUMENT

2012-02-27 Thread Claude Schnéegans
Hi, I'm creating a pdf document which contains color and greysacle jpg image. About half of the greyscale images are much whiter than the original. I've read about some problem with image scaling, but not about this one. Any idea ?

column page layout

2012-02-27 Thread Claude Schnéegans
Hi, I kind of remember having read sometimes somewhere that one could generate a page with text laid out in multi-column mode in a pdf CFdocument, but I cannot find any trace of this in the CF docs. Was I dreaming or what ? ~|

Re: SOT: PHP The Anthem

2012-01-27 Thread Claude Schnéegans
>> I tried it twice and both times it crashed chrome. May be because both the video and Chrome are programed in PHP ? ;-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/14302721

Re: Escaping #

2012-01-22 Thread Claude Schnéegans
>>/* note: your cfparam needs "form.namefirst" not just "namefirst" */ Furthermore, if they are text fields, you don't need to set default values. Only for checkboxes or radios ~| Order the Adobe Coldfusion Anthology now! http:

Re: Escaping #

2012-01-21 Thread Claude Schnéegans
I suppose the namefirst variables come from some Query? However, if the variables namefirst come from a form or some other structure, there might be a better way. ~| Order the Adobe Coldfusion Anthology now! http://www.

Is this a bug?

2012-01-17 Thread Claude Schnéegans
Hi, According to CF docs for GetBaseTagData(tagname [, instancenumber ]), "instancenumber = (Optional) Number of ancestor levels to jump before returning data. The default value is 1 (closest ancestor)." Then, suppose I call the function from a custom tag with its own name in parameter (I wa

Re: How to compare images programmatically

2012-01-09 Thread Claude Schnéegans
>>Is there a CF image function or tag that will compare one image with another? If not, is there a java function or something I can use? I have made a CFX tag which calculates a CRC-32 checksum for a file. If two files have the same CRC-32, probability that they are identical is very high, es

Status of Visual SQL builders for ColdFusion

2011-12-25 Thread Claude Schnéegans
Hi, At least 12 years ago I developped my own visual database management system, mainly because no one able to fulfill my needs was available on the market. This manager includes a powerful visual query builder which generated not only SQL code, but SQL integrated within CF code. Now that many

Re: Very disappointing statis

2011-12-14 Thread Claude Schnéegans
>>All credibility is lost with that statement. No, there used to be a server side Javascript language, during the good times of Netscape. This language was a PITA, but it did exist. ~| Order the Adobe Coldfusion Anthology now!

Re: Too much space in a name

2011-12-14 Thread Claude Schnéegans
>>The other option is I completely toss what they use and get the system to name the file. I always rename the file using CreateUUID() and store both the original and new name in the database. This way I can reset the original name when visitors download the file. But beside uploading and downl

Re: DirectoryExists sometimes returning incorrect value

2011-12-07 Thread Claude Schnéegans
I'm having a similar problem, although in a completely different context, since I migrate my development server from XP to Windows 7. I'm still using ColdFusion Studio, and starting with W7, when I search for some string in files and it finds one say in C:\inetsrv\wwwroot\myProjet\myFile.cfm, i

Re: DirectoryExists sometimes returning incorrect value

2011-12-07 Thread Claude Schnéegans
>>The specified directory attribute value \\blah\AppDev\ParisDocs\blah\docs\ What is the double \\ for? Sometimes it is taken as equivalent as one single \, but some other time it may not. This could explain why DirectoryExists says it doesn't but it is found when being created. ~

Re: SOT: curved corners

2011-11-29 Thread Claude Schnéegans
I have designed a custom tag able to create all sub images from one gif image and manages all frame parts. See : CF_EasyFrame ~| Order the Adobe Coldfusion Anthology now! http:/

Re: Weird attack

2011-11-23 Thread Claude Schnéegans
>>The cfqueryparam tag doesn't care where data comes from What I mean is that cfqueryparam will not protect you against attacks, il will just prevent attacks to be succesful. A better approach is to check for a couple of key words like user declare script @@ exec,... (provided you don't use the

Re: Weird attack

2011-11-18 Thread Claude Schnéegans
>>If your site returned what they wanted, in this case SQL server version information Ok, I see. In my case, I doubt the 403 error they get in return will help them a lot ;-) ~| Order the Adobe Coldfusion Anthology now! http:/

Re: Weird attack

2011-11-18 Thread Claude Schnéegans
>>Good old cfqueryparam has been working like a charm! If your template is not using URL parameters in a query, cfqueryparam wont help. And if the parameter is text, the scrap will get into your database as well. Happily, my moron trap is more general. ;-) ~~

Weird attack

2011-11-18 Thread Claude Schnéegans
Hi, Since a few days, I have all my sites receiving requests in which a string like "/**/or/**/1=@@version)--" is added in the URL. Has someone any idea what this guy is actually trying to do ? ~| Order the Adobe Coldfusion An

Re: CF AJAX controls not rendering?

2011-11-15 Thread Claude Schnéegans
This might be caused by the persitent cache in bug in Explorer. I put these lines in the template called by the Ajax function, and the problem is solved. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/A

Re: cfajax error

2011-11-12 Thread Claude Schnéegans
>>line 53* Do not take the line number as a hint. When there is an error in a query, the error is returned by the driver and CF doesn't know which line caused the error. It will indicate any line in the query. ~| Order the Ado

Re: cfajax error

2011-11-11 Thread Claude Schnéegans
>>dateformat(foodate,'mm/dd/') Here is your problem: use CeateODBCDateFormat instead: #CeateODBCDateFormat(foodate)# Also #CeateODBCDateFormat(now())# Furthermore, this will work provided foodate always contains a valid date. If it is empty, it will cause an error. In this case, you have t

Re: cfajax error

2011-11-11 Thread Claude Schnéegans
>>Hmm the only error Firebug shows is the same oForm.auto_approve is indefined.. The problem with Ajax is when there is an error in the template called by the function. This causes an error in the application because it cannot find what is expected in the text returned by the template. Instead

Re: word doc to PDF

2011-11-08 Thread Claude Schnéegans
>>CFDOCUMENT requires OpenOffice to be on the server, Although it does not answer your question, I understand you don't want to use OpenOffice. I recently installed the last version, tried to open some simple Word documents with it and the result was just horrible. If OpenOffice works that bad

Re: cfimage issue with dpi

2011-11-04 Thread Claude Schnéegans
>>If the image being uploaded is 72dpi, it works fine. If the image is 97 dpi >>or up, the image is processed appropriately and saved as 72 dpi. I don't know if it's what's causing your error, but if it's for publishing on the web, what really counts is the width in pixels. The "dots per inch

cf-talk@houseoffusion.com

2011-11-02 Thread Claude Schnéegans
>>Here is the problem: '×tamp' is being changed to 'x' because × is the special character entity for x. Can you identfy the process which changes × for 'x' ? Because it's wrong, "x" is "×" not just "×" ~| Order the Adobe Coldfu

Re: OT, JS : Why am I getting this error?

2011-10-31 Thread Claude Schnéegans
>>you can add something like '?cachebuster=' + new Date().getTime() to your request URL. Right, but I prefer the first method. First because my Ajax function is getting the url in a parameter, sometimes with ?values in it, sometime with none, so sometimes ?cachebuster=should be added, sometime

Re: OT, JS : Why am I getting this error?

2011-10-31 Thread Claude Schnéegans
>>Nope... no IE for dev. Always FF with FB. OK, but still, use these headers, in case you have some users under IE. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?t

Re: OT, JS : Why am I getting this error?

2011-10-31 Thread Claude Schnéegans
>>and sometimes changes document changes don't refresh Are you using Explorer ? There is a well known bug in IE about caching Ajax requests. See http://coldfusion.tcs.de/coldfusion-ie-cache-problem-with-repeating-ajax-requests/ I've added this at the top of the called template, and it solved t

Re: Wysiwyg editor

2011-10-26 Thread Claude Schnéegans
>> the paste from word button turns it in to plain ASCII text Last time I looked at the clean function in FCK, I think it did not cut elementary and non harmful HTML, like Bold, italic, etc. However most of pasted text include styles and classes, which is almost impossible to clean efficiently

Re: Wysiwyg editor

2011-10-25 Thread Claude Schnéegans
>>leaving only the Paste From Word option available. ... then you will have users calling you to ask "How can I paste if not from Word?" ;-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-A

Re: Wysiwyg editor

2011-10-25 Thread Claude Schnéegans
>>The user copys the text from the word document, then instead of pasting it straight into the editor, click the "paste from word" I never implemented fckEditor, mainly because the programer could not force cleaning from Word automatically. The was a button "Paste" and another one "Paste from

Re: Question about SQL Encryption VS CF Encryption

2011-10-20 Thread Claude Schnéegans
>>For something like passwords you could use HASH store them in the data base. Further more, a hash value cannot be decrypted, then the passwords in the database are 100% protected. ~| Order the Adobe Coldfusion Anthology now!

Re: Images stored in a database...

2011-10-19 Thread Claude Schnéegans
>>but then I convinced myself that it wasn't the most efficient way to deliver >>the images, so I switched my solution to static files. And you are right. The purpose of a database is to store data in some structured way to make possible sorting and searching. If you have nothing to sort or s

Re: Hiding email address from spiders

2011-10-13 Thread Claude Schnéegans
>>Can you describe using an onclick event a little more? Here is a example: function validateForm(b) { var NewInput = document.createElement("input" ); NewInput.setAttribute('name','validateForm'); NewInput.setAttribute('type','hidden'); b.form.appendChild(NewInput); b.form.su

Re: Hiding email address from spiders

2011-10-13 Thread Claude Schnéegans
>>The bot doesn't realize the field is hidden and puts something in it. Check the field when the form is submitted for the presence of a value in the field. OK, I see. But there is no guaranty the bot will fill the field. I prefer the reverse : add a field in a onclick event and check for the

Re: Hiding email address from spiders

2011-10-13 Thread Claude Schnéegans
>>How about the "honeypot" method that was presented on CFMeetup a few months ago? Never heard of it. Any reference ? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?

Re: Hiding email address from spiders

2011-10-12 Thread Claude Schnéegans
>>getAddress () I mean getMail () ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/

Re: Hiding email address from spiders

2011-10-12 Thread Claude Schnéegans
>>That is a nice captcha.. most of them are so hard for people to read that it discourages some people. You've got a point. Never forget that a Web site is first intended to be comfortable for the visitor, not for the programmer. With a captcha, the programmer can sleep quietly, but the visitor

Re: Hiding email address from spiders

2011-10-08 Thread Claude Schnéegans
>> if someone submits some text to their own site that they know is going to be displayed and it has email addresses in it, they probably don't care much about the subject. May be they do care, but they just don't know how to hide their address. And there are also all those who do care and do no

Re: Question on scopes

2011-09-19 Thread Claude Schnéegans
>>C'Mon Claude, store a 4 character value to the db If the Tax year is the ONLY information needed, then a cookie may be used. But in my mind, there are often more informations to store about the user, like his name, eMail, address, etc. Then the database approach is better. ~

<    1   2   3   4   5   6   >