Apache, mod_deflate and coldfusion

2004-04-01 Thread Hugo Ahlenius
Hi, I am experimenting a bit with mod_deflate for enabling http1.1 compression of html and text (and possibly css and _javascript_). The server is running Apache 2 and ColdFusion Enterprise. It seems like the compression works fine for static pages, but not for anything that is rendered through

Caching problem?

2004-04-01 Thread A.Little
Hi all, We're in the process of developing a new site which is very similar to a previous site we've built, so we copied the webroot and customtags to new folders and renamed the customtags (and references to them within the code). Now we've mapped the dev domain name to the webroot, so we have

Re: Embedding an image in cfmail

2004-04-01 Thread Thomas Chiverton
On Wednesday 31 Mar 2004 23:41 pm, [EMAIL PROTECTED] wrote: with this approach you just build a web page as teh body.note that the image tags have to have FQ URIs...http://foo.net/images/goo.gif. They shouldn't have to be - you should be able to reference inline attached pictures. Remember

Re: Embedding an image in cfmail

2004-04-01 Thread Thomas Chiverton
On Thursday 01 Apr 2004 11:22 am, Thomas Chiverton wrote: IIRC, it's a bug that you can't do this with the 'new' cfmail tags in CFMX, because even when I set: cfmailparam name=content-type value='multipart/alternative; boundary=7C252360672B03A0BAD013A5' The email still comes out

Re: help with string manipulation (Find,Replace)

2004-04-01 Thread cf coder
Sweet! You are a genius! I can never get my head round regular expressions. I don't have a clue what this is actually doing regexp = ^\s*([*]{3}.+?[*]{3}.+?)\s*(?:[*]{3}.*)?$; str2 = REReplace(str,regexp,\1); Can you kindly explain it to me because I have to explain it to my colleague and not

RE: Caching problem?

2004-04-01 Thread Craig Dudley
Did you copy the application file as well ? It might be worth while double checking it, making sure the application name, and any application specific settings have been changed correctly. -Original Message- From: A.Little [mailto:[EMAIL PROTECTED] Sent: 01 April 2004 09:34 To: CF-Talk

RE: help with string manipulation (Find,Replace)

2004-04-01 Thread Pascal Peters
^ start of string \s* any number of whitespace (spaces, tabs, newlines,...) ( start group (for back reference) [*]{3} three stars .+? one or more characters (non greedy match: untill first match of what comes next) [*]{3} three stars .+? one or more characters (non greedy match: untill first

RE: Caching problem?

2004-04-01 Thread Pascal Peters
Are you using CF mappings? If you didn't change those it will include the files from the previous site when you use them. Are you using the application and session scope to store info? Be sure to change the name attribute of cfapplication Pascal -Original Message- From: A.Little

Re: Blue Dragon on Mandrake 9.2 with MySQL

2004-04-01 Thread Yves Arsenault
Hello, I'm a bit late on this thread, but in my previous job, I was running BD 3.x on Mandrake 9. I was also using MySQL for a small community based app that I had built. Worked very well. But I haven't tried BD 6 on any linux system as of yet. Yves - Original Message - From: Alex

Re: help with string manipulation (Find,Replace)

2004-04-01 Thread cf coder
thanks Pascal that explaination makes perfect sense and I understand it. Thanks again for all your help. Best Regards, cfcoder [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: string formatting and manipulation

2004-04-01 Thread cf coder
thank you all for relying to my message. I'm sorry I was not here yesterday to reply to your posts. I found the solution to my problem. Kindly see this thread. Best regards, cfcoder [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: string formatting and manipulation

2004-04-01 Thread cf coder
http://www.houseoffusion.com/cf_lists/index.cfm/method=messagesthreadid=31529forumid=4 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: Embedding an image in cfmail

2004-04-01 Thread Burns, John D
You have to reference the full http path for the image in the email, not just image.jpg. You'd have to do img src="" for it to work. John From: Casey C Cook [mailto:[EMAIL PROTECTED] Sent: Wed 3/31/2004 5:25 PM To: CF-Talk Subject: RE: Embedding an image in

RE: XML encoding

2004-04-01 Thread Hiroshi Okugawa
UTF-8 encoding can handle accents characters too. Anyway, You can change encoding value by just using replace function. like this. repleace(tostring(generatedxmldoc), 'encoding=UTF-8', 'encoding=ISO-8859-1') And, how will you use generated xml document? If you want to write it to file, you

Dynamic DNS and IP

2004-04-01 Thread Guy McDowell
Hello all, I'd like to be able to host my personal site of my home box. I've got a util for updating the IP on the DNS automatically, but I'd like to know if there is a util for updating the IP on my webserver automatically, or at least just by running a batch file or something similar. Anyone

SOT: RIA performance was Flex is out

2004-04-01 Thread Dick Applebaum
A few of us have been critical of the implications of poorly-performing RIAs in general and the available Flex examples in particular. I am particularly disappointed in theperformance of The Flex Code Explorer showcase app: http://macromedia.com/software/flex/?promoid=home_prod_flex_111703#

Re: Dynamic DNS and IP

2004-04-01 Thread Jochem van Dieten
Guy McDowell said: I'd like to be able to host my personal site of my home box. I've got a util for updating the IP on the DNS automatically, but I'd like to know if there is a util for updating the IP on my webserver automatically, or at least just by running a batch file or something

Re: Embedding an image in cfmail

2004-04-01 Thread Thomas Chiverton
On Thursday 01 Apr 2004 11:51 am, Thomas Chiverton wrote: I go and learn the Java mail API myself ? I am having some success with cf_advancedemail form Jochem, except it appears to be corrupting the gif attachments. I'm cc'ing him to see if he knows why this might be the case, as well as

why? cfloop error

2004-04-01 Thread Tony Weeg
hi. getting a cfloop context errorany ideas why? thanks cfsetting enablecfoutputonly=Yes cfquery datasource=#reportsDSN# name=ReportWriter select * from test /cfquery cffile action="" file=test.csv output=OneColumn nameconflict=OVERWRITE cfsavecontent variable=dataToCSV

RE: CFOUTPUT Question

2004-04-01 Thread Ian Skinner
Your close, you don't want to close the new row inside your If statement.And you will need a closing tag at the end. tr cfoutput query=qSubCat1 group=Style td img src="" border=0 /td cfifCurrentRow Mod 2 IS 1 /tr tr /cfif /cfoutput /tr You can also simplify your if statement if

RE: why? cfloop error

2004-04-01 Thread Tony Weeg
here is the errorbtw. error.Message:Context validation error for tag cfloop. error.Diagnostics:Context validation error for tag cfloop. The start tag must have a matching end tag. An explicit end tag can be provided by adding /cfloop. If the body of the tag is empty you can use the shortcut

Re: [cftalk] RE: XML encoding

2004-04-01 Thread Allan Cliff - CFUG Spain
Yes, that is the workaround i was using. Thanks anyway Allan - Original Message - From: Hiroshi Okugawa To: CF-Talk Sent: Thursday, April 01, 2004 3:41 PM Subject: [cftalk] RE: XML encoding UTF-8 encoding can handle accents characters too. Anyway, You can change encoding value by

Re: why? cfloop error

2004-04-01 Thread Dick Applebaum
Tony Prolly awrong number of #sthing -- comment out the lines within the loop to see which one is the offender HTH Dick On Apr 1, 2004, at 6:29 AM, Tony Weeg wrote: here is the errorbtw. error.Message:Context validation error for tag cfloop. error.Diagnostics:Context validation error

RE: why? cfloop error

2004-04-01 Thread Tony Weeg
I know its april fools day and all, but dick, can I kiss ya? WTF im an idiot...we had four eyes look at it...and didn't even think about that!! thanks. good day. tw -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 9:38 AM To: CF-Talk

Re: FLEX: are you HERE or are you NOW?

2004-04-01 Thread Christian Cantrell
On Mar 31, 2004, at 3:43 PM, Scott Weikert wrote: Now is it just me, or does that paragraph simply NOT answer the question it's associated with? How does offering it only on CD have anything to do with support? I think this question has been pretty well covered by responses form Dave and

Re: why? cfloop error

2004-04-01 Thread Dick Applebaum
On Apr 1, 2004, at 6:41 AM, Tony Weeg wrote: I know its april fools day and all, but dick, can I kiss ya? Well I'm thinking ah, not this time:) WTF im an idiot...we had four eyes look at it...and didn't even think about that!! thanks. good day. tw -Original Message-

Re: FLEX: are you HERE or are you NOW?

2004-04-01 Thread Dick Applebaum
Christian I ordered the CD -- no prob! But i would have liked the option to immediately dload in addition to the CD. Tried to join the beta -- but it was closed. I have some time available it would be nice to discuss from a position of experience, rather than just observing the examples

cfc causing cf admin to blank out

2004-04-01 Thread Turetsky, Seth
I'm invoking a cfc I made which creates pdf's based on a query.For some reason, it's failing when I send in a sql server query(not really the question), but it's creating a zero byte pdf.When I go to check if any errors are logged, all pages in CF Admin load but are completely blank(no html in

Re: Embedding an image in cfmail

2004-04-01 Thread Jeremy Brodie
You have to reference the full http path for the image in the email, not just image.jpg. You'd have to do img src=""> com/images/image.jpg for it to work. John From: Casey C Cook [mailto:[EMAIL PROTECTED] Sent: Wed 3/31/2004 5:25 PM To: CF-Talk

RE: Caching problem?

2004-04-01 Thread A.Little
Thanks, we're not using CF mappings, and we're not using application or session scope - we're using the request scope and client vars. I;ve checked that the Application.cfm has a different app name - although the client variable store datasource is the same, but I can't see why this would make any

Re: Embedding an image in cfmail

2004-04-01 Thread Thomas Chiverton
On Thursday 01 Apr 2004 11:51 am, Thomas Chiverton wrote: digging my self. You need to change line 454 to be: cffile action="" file=#request.AdvancedEmail.AttachmentArray[CurrentAttachment][1]# variable=temp There may or may not need to be some logic for using a normal action="" for CSS

Re: Dynamic DNS and IP

2004-04-01 Thread Guy McDowell
Hi Jochem, I've set the IP Address value to All Unassigned and it doesn't work. Is that what you meant by setting IIS to listen on all IP addresses? ~Guy http://guuymcdowell.hopto.org Guy McDowell said: Why? If you set IIS to listen on all IP addresses it works automagically. But if you

CFExecute and Winzip

2004-04-01 Thread Ben Densmore
I just downloaded the new command line utility for winzip 9 hoping I could use cfexecute to unzip a whole bunch of zip files. When I try to run it via cfexecute I constantly get the error: An exception occurred when invoking an external process. The cause of this exception was that:

creating 404 page for CFM and JSP files.

2004-04-01 Thread Dan Phillips
I think I'm having a brain fart today because I cannot get this to work. Here is what I'm trying to do. I have a Win2K3 server running CFMX. This site I'm working with used to use JSP pages. All the JSP pages have been rewritten to use CFM. Trouble is, some of the JSP pages are still cached in

Re: Embedding an image in cfmail

2004-04-01 Thread Jeremy Brodie
John: You're right for the short answer. Casey: The simple technical answer turns out to be a hotly debated topic near and dear to the viewing public's heart. At one place I worked for, we attempted to build an Interactive Online Email campaign featuring HTML emails and landing pages

Inserting a row at the top of a query

2004-04-01 Thread Rich Ziade
Is there a way to programmatically insert a row into a CF recordset so that it comes back as the first record? Thanks much, Rich [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

CFFile Problem

2004-04-01 Thread Mary Jo Sminkey
I've run into a rather bizarre problem with CFFILE and wondered if anyone else has seen something similar or might have an idea what would cause it. Here's the situation: I have two different pages that upload images to the server. I'm trying to upload the same image, to the same directory from

RE: creating 404 page for CFM and JSP files.

2004-04-01 Thread Mike Townend
you could install ISAPI_ReWrite and setup a rule like... # Convery .jsp to .cfm RewriteRule (.*)\.jsp $1.cfm Thats what we're using on one of our servers... HTH -Original Message- From: Dan Phillips [mailto:[EMAIL PROTECTED] Sent: Thursday, April 1, 2004 16:18 To: CF-Talk Subject:

Re: Dynamic DNS and IP

2004-04-01 Thread Guy McDowell
Whoops, it works now, after a few restarts. Should have known a few restarts was all I needed with MS stuff. Thanks Jochem. ~Guy http://guymcdowell.hopto.org [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Query of Queries - Repost

2004-04-01 Thread Paul Giesenhagen
I am not sure if this ever made it to the list because I didn't recieve it back myself so here is the repost: I am having trouble with a query of query.Is there a known issue with 0 values in query of queries? I have a result set called getShipping that produces the following result set:

Re: creating 404 page for CFM and JSP files.

2004-04-01 Thread Ubqtous
Dan, On 4/1/2004 at 10:17, you wrote: DP Will this not work unless JSP is installed on the server? I'm currently DP have JSP mapped to be processed by the CFMX engine. You should be able to tell your web server (IIS?) to check for the existence of JSP files before sending them to the

RE: CFOUTPUT Question

2004-04-01 Thread Bruce Sorge
Thanks Ian. It is still not right. This is the result: table align=center border=0 cellpadding=0 cellspacing=2 width=500 tr td colspan=4 class=headertd align=Left Caps /td /tr tr td colspan=4 align=center hr /td /tr tr td colspan=4 align=left class=tdstyles Product Styles /td /tr

RE: CFFile Problem

2004-04-01 Thread Adkins, Randy
Are the uploading the same image at the same time? Could be that one process is not completed when the other one starts -Original Message- From: Mary Jo Sminkey [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 9:28 AM To: CF-Talk Subject: CFFile Problem I've run into a rather

RE: CFFile Problem

2004-04-01 Thread Bert Dawson
Firstly, are you using nameConflict=Overwrite? You'll need this to overwrite any existing file of the same name. If you already are then you might want to check whether the error is being caused by virus checker locking the existing uploaded file while it checks for viruses, and thus preventing

RE: CFOUTPUT Question

2004-04-01 Thread Ian Skinner
Can you provide the complete CFML code.I think you may need to reverse your if statement to cfif NOT currentRow MOD 4.It looks like you are trying to output 4 columns? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: CFOUTPUT Question

2004-04-01 Thread Alex Gorelik
I've got something very similar to that, with three columns, but otherwise similar logic: cfset total_items = GetPerFeatures.Recordcount cfset columns = 3 cfset col_tick = 0 cfset count = 0 table border=0 cellpadding=0 cellspacing=0 width=90% align=center tr cfoutput cfloop

Re: Blue Dragon on Mandrake 9.2 with MySQL

2004-04-01 Thread Alex Gorelik
FYI: The kind folks at New Atlanta provided the following info: BlueDragon 6.1 does not contain the MySQL jar because of licensing restrictions.Therefore you need to download the jar and install it into the BDroot/lib directory as the file mysql.jar.Restart BlueDragon Server and all will be

Re: CFFile Problem

2004-04-01 Thread Mary Jo Sminkey
Are the uploading the same image at the same time? Could be that one process is not completed when the other one starts No, this is with just me testing the two sections. Doesn't matter if it's the same image or not, I just mentioned that to eliminate the file itself as the cause of the problem.

Re: Javascript Remoting (js web service accessing stuff)

2004-04-01 Thread Dick Applebaum
I have been playing with Rob Rohan's Neuromancer system since he first posted several weeks ago. Rob's system is much more than a chat app -- though a chat really shows it off. I wanted to do some PIA (Robs acronym for Poor Internet/Interface Application) apps where data exchange speed between

RE: CFOUTPUT Question

2004-04-01 Thread Greg Luce
Bruce, I just ran this against a local table and it renders 2 nice columns. The y helps you see what currentrow MOD 2 is doing. cfquery name=x datasource=cftest SELECT TOP 10 * FROM company /cfquery table width=90% border=1 tr cfoutput query=x cfset y = CurrentRow Mod 2 td#email# - #y#/td cfif

Re: CFFile Problem

2004-04-01 Thread Mary Jo Sminkey
Firstly, are you using nameConflict=Overwrite? You'll need this to overwrite any existing file of the same name. Yes If you already are then you might want to check whether the error is being caused by virus checker locking the existing uploaded file while it checks for viruses, and thus

RE: CFFile Problem

2004-04-01 Thread Adkins, Randy
Are you using IIS?Apache? If Apache, check to see if you are using the MODE=777 in the CFFILE tag. Might be a permissions issue -Original Message- From: Mary Jo Sminkey [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 10:39 AM To: CF-Talk Subject: Re: CFFile Problem

Re: CFINVOKE vs CreateObject - Flogging OOP!

2004-04-01 Thread Nikhil Madani
Agreed...maybe it will take some getting used to, but I'm aware of what you correctly point out as an example of flexibility. Even if one allows CFMX leeway on this issue (I can Most OO languages allow the use of static classes, don't they? In those cases, you're not interested in creating

Homesite 5.5+ vs. Standard Homesite 5.5

2004-04-01 Thread Jeff Waris
I have 5.5 standard. What is the major differences? Can I get CFMX6.1 tag libraries for 5.5 Standard? There was no way to upgrade our 4.5 to plus, so we upgraded to 5.5 standard.. I searched around on the CF-Talk archives and couldn't find any direct comparison. Thanks, Jeff [Todays Threads]

Re: CFFile Problem

2004-04-01 Thread Mary Jo Sminkey
Are you using IIS?Apache? If Apache, check to see if you are using the MODE=777 in the CFFILE tag. Sorry, should have mentioned I was on IIS. I'd think there was some permissions issue with the folder I'm uploading to, but that wouldn't explain why it works from one of the pages and not the

RE: Dynamic DNS and IP

2004-04-01 Thread Burns, John D
Not sure what you mean...but it if it what I think, I use www.noip.com You can set up a pre-defined domain name from their list or you can buy your own domain name, then you install a client on your server that updates their DNS servers automatically and points your domain name to your

Re: nearby zip codes

2004-04-01 Thread Ray Champagne
I would definitely be interested in this too.We have a directory style site that people can search geographically, but would love the ability for someone to enter a zip code and find the listings in the zip codes in a certain area around that zip code. Ray At 04:06 PM 3/31/2004, Steve Logan

Re: nearby zip codes

2004-04-01 Thread Dick Applebaum
If the zip db contains latitude longitude then it is simple to find others that are+ or - whatever HTH dick On Apr 1, 2004, at 9:20 AM, Ray Champagne wrote: I would definitely be interested in this too.  We have a directory style site that people can search geographically, but would love

Re: Any Possible Bugs in CFMX - CFContent ? (Was - CFHEADER CFCONTENT question)

2004-04-01 Thread Joe Eugene
Anybody? - Original Message - From: Joe Eugene To: CF-Talk Sent: Wednesday, March 31, 2004 4:43 PM Subject: RE: Any Possible Bugs in CFMX - CFContent ? (Was - CFHEADER CFCONTENT question) Is there a BUG using cfContent in CFMX? It throws all kinda Errors on Log Files when downloading

RE: Any Possible Bugs in CFMX - CFContent ? (Was - CFHEADER CFCONTENT question)

2004-04-01 Thread Barney Boisvert
I've never had issues and I've served files up to a few meg, both reading from the filesystem and dynamically generated in realtime. Cheers, barneyb -Original Message- From: Joe Eugene [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 9:48 AM To: CF-Talk Subject: Re: Any

Re: JRun has closed connection

2004-04-01 Thread John Croney
We have downloaded the update and when installing we request that it do a full install and entered the key. As result we are still getting the same problem. What I do not understand is that I am not on the server and I can access the pages but no other user can! What am I doing wrong? Yes that

cfmx and tomcat with IIS

2004-04-01 Thread John mccosker
Hi, before I post my problem, has anyone on this list successfully integrated apache tomcat 4.x with cfmx and IIS 4.x or higher. J. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: Homesite 5.5+ vs. Standard Homesite 5.5

2004-04-01 Thread Calvin Ward
Jeff, I believe the largest items are the buttons for CF functions,CF vtml libraries, CF help files and support for ColdFusion 5 and lower debugging (CF Studio debugging doesn't work on MX) - Calvin - Original Message - From: Jeff Waris To: CF-Talk Sent: Thursday, April 01, 2004 11:41

RE: CFExecute and Winzip

2004-04-01 Thread Dave Carabetta
I just downloaded the new command line utility for winzip 9 hoping I could use cfexecute to unzip a whole bunch of zip files. When I try to run it via cfexecute I constantly get the error: An exception occurred when invoking an external process. The cause of this exception was that:

RE: Javascript Remoting (js web service accessing stuff)

2004-04-01 Thread Whittingham, P
Dick or Rob, Does the PIA take inconsideration if the web service is down/network problems?? Is there a timeout time/message if that occurs? TIA, Patrick Whittingham United Space Alliance AES - Data Warehouse -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED] Sent:

RE: creating 404 page for CFM and JSP files.

2004-04-01 Thread Mark A. Kruger - CFG
make sure and delete all the jsp files. What is probably happening is that CF (i.e. Jrun) is being tasked by IIS to serve the JSP pages, but you have the wrong version to do it (like CF professional).Also, go into the site properties and make sure that CF is NOT tasked with serving JSP pages

RE: Javascript Remoting (js web service accessing stuff)

2004-04-01 Thread Rob
On Thu, 2004-04-01 at 10:42, Whittingham, P wrote: Dick or Rob, Does the PIA take inconsideration if the web service is down/network problems?? Is there a timeout time/message if that occurs? At present it does not, but the headers are returned when the ws call is made so you could check for

RE: Javascript Remoting (js web service accessing stuff)

2004-04-01 Thread Rob
On Thu, 2004-04-01 at 11:00, Rob wrote: On Thu, 2004-04-01 at 10:42, Whittingham, P wrote: Dick or Rob, Does the PIA take inconsideration if the web service is down/network problems?? Is there a timeout time/message if that occurs? At present it does not, but the headers are returned

RE: Javascript Remoting (js web service accessing stuff)

2004-04-01 Thread Whittingham, P
what about if the web service does a query to a database on a different server then the web service server. The problem could be the web service box(down) or the db box(down). Isn't multi-tier environment just wonderful:) Pat -Original Message- From: Rob [mailto:[EMAIL PROTECTED]

Checking for a number

2004-04-01 Thread Tangorre, Michael
What is the best way to check that a value is an integer? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: Javascript Remoting (js web service accessing stuff)

2004-04-01 Thread Rob
On Thu, 2004-04-01 at 11:27, Whittingham, P wrote: what about if the web service does a query to a database on a different server then the web service server. The problem could be the web service box(down) or the db box(down). Isn't multi-tier environment just wonderful:) Yeah that's

RE: Checking for a number

2004-04-01 Thread Tony Weeg
isNumeric() -Original Message- From: Tangorre, Michael [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 2:35 PM To: CF-Talk Subject: Checking for a number What is the best way to check that a value is an integer? [Todays Threads] [This Message] [Subscription] [Fast

RE: Checking for a number

2004-04-01 Thread Tony Weeg
http://www.cflib.org/udf.cfm?ID=582 -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 2:35 PM To: CF-Talk Subject: RE: Checking for a number isNumeric() -Original Message- From: Tangorre, Michael [mailto:[EMAIL PROTECTED] Sent:

RE: Checking for a number

2004-04-01 Thread Barney Boisvert
cfset val = df / cfif isNumeric(val) AND val EQ int(val) it's a number cfelse o, bad stuff /cfif -Original Message- From: Tangorre, Michael [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 11:35 AM To: CF-Talk Subject: Checking for a number What is the best way to

Re: Checking for a number

2004-04-01 Thread Charlie Griefer
dunno if it's the -best- way...but would this work? cfif reFind('[^0-9]', myNumber) number is not an integer cfelse number is an integer /cfif - Original Message - From: Tangorre, Michael [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, April 01, 2004 12:35 PM Subject:

Re: Javascript Remoting (js web service accessing stuff)

2004-04-01 Thread Dick Applebaum
I would think you could write t the service cfc to put a try block around the db request with a timeout then return an indication to the client/consumer Dich On Apr 1, 2004, at 11:32 AM, Rob wrote: On Thu, 2004-04-01 at 11:27, Whittingham, P wrote: what about if the web service does a

Re: JRun has closed connection

2004-04-01 Thread John Croney
I could realy do with some help here! My problem is that I am still getting JRun closed connecton on users systems. So far I have: Check the logs- No errors Install update and requested that it do a full install insted. Entered Key when runing update. Should I remove coldfusion and reinstall it

Function for data type determination

2004-04-01 Thread Don
OK, here's a part of a sample data after ToBase64 conversion from an image file, JVBERi0xLjIgDQol4uPP0w0KIA0KMTIgMCBvYmoNCjw8DQovTGV Now, to determine this set of data, none of CF6.1 decision or the like functions would do the job, IsObject comes close but won't do the job. The fun part is,

Documentation Oddity

2004-04-01 Thread Cameron Childress
Every piece of PDF or printed documentation I can find since the MX product line came out contains a disclaimer for Apple Computer on page 2 along with the other Macromedia disclaimers. I am dying to know why this is there. -Cameron - Cameron Childress Sumo Consulting Inc ---

CF5 Services running as user - Now service won't start

2004-04-01 Thread Burns, John D
We're trying to lock down some security on our servers by making CF services run as a specified user instead of System.We did this successfully on a CFMX server yesterday without any problems, now today, we're doing it on a CF5 server and having lots of troubles. I set up the the CF Application

Re: Blue Dragon on Mandrake 9.2 with MySQL

2004-04-01 Thread Yves Arsenault
That would do it. :-) Yves - Original Message - From: Alex Gorelik To: CF-Talk Sent: Thursday, April 01, 2004 11:28 AM Subject: Re: Blue Dragon on Mandrake 9.2 with MySQL FYI: The kind folks at New Atlanta provided the following info: BlueDragon 6.1 does not contain the MySQL jar

Re: Inserting a row at the top of a query

2004-04-01 Thread Don
The closest I can think of is to use the functions, QueryAddRow, QuerySetCell, you may want to look them up and play with it. Is there a way to programmatically insert a row into a CF recordset so that it comes back as the first record? Thanks much, Rich [Todays Threads] [This Message]

RE: JRun has closed connection

2004-04-01 Thread Christine Lawson
Hi John, The jrun closed connection error is not cut and dry, it can be caused by a number of things. I just finished writing a technote about this topic, here is the preliminary text that will probably change through the edit cycle: The JRun Closed Connection error is caused by an issue

Re: JRun has closed connection

2004-04-01 Thread Joe Eugene
Try increasing the NO OF ACTIVE THREADS... The Default Installation is set to 8 and you might some SLOWProcesses taking up the Threads. HTH Joe Eugene - Original Message - From: John Croney To: CF-Talk Sent: Thursday, April 01, 2004 2:00 PM Subject: Re: JRun has closed connection I

Re: Function for data type determination

2004-04-01 Thread Ben Doom
Unless I'm confused, an image converted to base64 *is* simple data. What are you trying to do here? --Ben Doom Chunshen (Don) Li wrote: OK, here's a part of a sample data after ToBase64 conversion from an image file, JVBERi0xLjIgDQol4uPP0w0KIA0KMTIgMCBvYmoNCjw8DQovTGV Now, to

Re: Any Possible Bugs in CFMX - CFContent ? (Was - CFHEADER CFCONTENT question)

2004-04-01 Thread Joe Eugene
Barney, Are your programs using the below kinda routine/syntax. cfheader name=content-disposition value=attachment;filename=#variables.docInfo.docFileName# cfcontent type=application/pdf file=#variables.docInfo.docFileNamePath# If the Main page is set to use text/html content type and the

RE: Inserting a row at the top of a query

2004-04-01 Thread Barney Boisvert
You could also create that first row as a separate query object, and then use a QofQ to do a UNION on that query and the one containing the rest of your data. Cheers, barneyb -Original Message- From: Chunshen (Don) Li [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 11:28 AM

RE: Checking for a number

2004-04-01 Thread Michael Kear
You can force it to be an integer, regardless of what it currently is by #int(variable)# Therefore if this new integer, which you KNOW is an integer because you just forced it to be one,is equal to the variable you started with, then it must have been an integer to start with. cfif

jsessionID... ?

2004-04-01 Thread Bailey, Neal
Hello everyone... Does anyone know just how long the JSessionID gets? I see that it jumps in length a digit or two. Also it's my understanding that the Jsession is always a unique number, is this right? I know the CF session ID is not unique, but can it be made to be unique or would it

RE: Any Possible Bugs in CFMX - CFContent ? (Was - CFHEADER CFCONTENT question)

2004-04-01 Thread Barney Boisvert
Here's a snip from one of my apps: cfheader name=Content-Disposition value=attachment; filename=#REreplace(documentinfo.filename, '[^a-zA-Z0-9._-]', '_', 'all')# / cfcontent file=#application.document_directory#/#documentinfo.filename# deletefile=false type=application/octet-stream reset=true

RE: CF5 Services running as user - Now service won't start

2004-04-01 Thread Christine Lawson
Hi John, Is the user you have created part of the local administrator's group? We suggest they are. Also, if you start the services from the command line you will see a more descriptive error. You can use: net start Cold Fusion Application Server net start ColdFusion Executive net start

Re: Dynamic DNS and IP

2004-04-01 Thread Guy McDowell
Hi John, Yep, noip.com is what I'm using too for the DNS update. However, due to my daftness, I kept going into IIS and changing the IP manually instead of just setting it to All Unnassigned. Works wonderfully now. I'm looking into easyDNS as they have some sort of association with my ISP. Hard

New CFMX Colour Scheme tool on line.

2004-04-01 Thread Michael Kear
For my own benefit, I have been developing a colour schemer tool, and I've put it on my web site for others to use, comment about, help me improve. If you have coldfusion servers yourself, I am going to put it in the dev gallery at Macromedia soon. There are lots of colour development tools

Re: Function for data type determination

2004-04-01 Thread Don
OK, let's forget about the semantics here, if data look like a dog is looking at a cat or data look like 28233, fine; but else if the data look like JVBERi0xLjIgDQol4uPP0w0KIA (non-English set of data) do something here. The goal is, if the data is non-English like the above sample, then, not

More local variables scoping weirdness

2004-04-01 Thread Barney Boisvert
So I happened to loop over a recordset in a function today and one of the column names had the same name as an argument to the function.I thought nothing of it, and assumed that inside my CFLOOP tag, the column's value in the current record would have the highest priority in the scope search

Re: Function for data type determination

2004-04-01 Thread Ben Doom
Ah.Sorry.I thought you were using simple data in a technical sense. As far as I know, there's not really a good way to do this.After all, IBM +3.75 6% 14-3/8 would make sense to some people (well, it would if it were really a stock quote), but doesn't fit the English or Number model. On the

RE: New CFMX Colour Scheme tool on line.

2004-04-01 Thread Michael T. Tangorre
Great idea Mike. I like the link you provided as well as your own tool. I have been using BEHR paint website for some time now.. They have a cool flash app that lets you see color schemes!!! Once I find the color scheme I like, I take a screenshot and load that image into photoshop where I make a

RE: CF5 Services running as user - Now service won't start

2004-04-01 Thread Burns, John D
Well, the problem is, the local Admin group gives the user access to a bunch of other folders on the server by default and we don't want that. I tried the command prompt version and the error message I got was The service could not be started.The service did not report an error Any other ideas?

RE: CF5 Services running as user - Now service won't start

2004-04-01 Thread Christine Lawson
As a test can you try adding the user to the local admin group and then try starting the service? This will tell us if it is a permissions issue or if something else is going on. Christine -Original Message- From: Burns, John D [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004

Sorting by date in QofQ

2004-04-01 Thread Rich Ziade
I know I've seen this posted previously - what's the workaround for sorting by date in Query of Queries? Also, I've hard negative things about QofQ. Performance. Etc. Is that still the case? Thanks, Rich [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User

  1   2   >