RE: RegExp Help

2003-03-26 Thread Jerry Johnson
You can't give up now just because its working! Ben and I are chomping at the bit. Can there be more than one of these sets of tags in the string? (Neil's solution assumes 1 and only 1 set in the string) Jerry Johnson [EMAIL PROTECTED] 03/26/03 10:24AM Hi Neil, Thanks for getting back

Re: IIS hiding .cfm

2003-03-26 Thread Jerry Johnson
Which version of CF? Jerry Johnson [EMAIL PROTECTED] 03/26/03 11:45AM Has anyone had any luck with processing .html files to cold fusion? I've set up IIS to pass .HTML extensions to my jrun.dll, but when I try to view the page I get a Page cannot be displayed error. As an experiment I tried

RE: RegExp Help

2003-03-26 Thread Jerry Johnson
It is nothing. This is not good code. I haven't really looked through it lately. Don't learn programming practice from it. With that said, I think this shows how to use find to remove tags and (optionally) content cfparam name=keepTagContent default=0 cfparam

RE: RegExp Help

2003-03-26 Thread Jerry Johnson
And this is a simple replace and regex combo. (This replace the end tag with a (hopefully) unused character, which should be much easier to find than the endtag string) cfparam name=tag default=FONT cfparam name=tstr default=An example FONT face='fgfg'This should be gone/FONT This should still

Re: Does this Widget exist?

2003-03-25 Thread Jerry Johnson
this in in the last few days before launch) Also, you'll want to know what items need other items, both as neccessary additions and as upsell options. (extension cords, carpets to cover extension cords, portable generators, truck to deliver transport it...) Good luck, Jerry Johnson [EMAIL PROTECTED] 03/25/03

Re: Automatic File List in Database

2003-03-24 Thread Jerry Johnson
. MA20030317_News Story_Boy Bitten By Dog.htm Just some ideas, Jerry Johnson [EMAIL PROTECTED] 03/24/03 08:23PM That may work...I think.have you got an example of that code? - Original Message - From: Philip Arnold [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 24, 2003 2

Re: Automatic File List in Database

2003-03-24 Thread Jerry Johnson
associated with each of these entity types. FWIW Jerry Johnson [EMAIL PROTECTED] 03/24/03 08:39PM NO VERITY. CF_UNFORTUNATELY BlueDragon - Original Message - From: Jerry Johnson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 24, 2003 2:41 PM Subject: Re

Re: URL Parameter list?

2003-03-21 Thread Jerry Johnson
cgi.query_string This is a set of name and value pairs. To break these into tokens, split them by the or ?, then look on either side of the = If you need more specifics, yell again. Jerry Johnson [EMAIL PROTECTED] 03/21/03 01:25PM I know I can loop through form variables by using

RE: Free SQL Server

2003-03-19 Thread Jerry Johnson
I don't like to see it either, but who encouraged it? I also don't like to see knee-jerk criminalization of innocent discussions. Jerry Johnson [EMAIL PROTECTED] 03/19/03 11:40AM Yep, just dont like to see people openly encouranging piracyno offence of course :-) -Original Message

Re: Bulk Datasource update

2003-03-18 Thread Jerry Johnson
Bill, You should be able to export the registry settings from the base machine. If you need just the datasource info, start here. HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI Export this and save it to a file. Then import it on another machine (assuming similar setups) Hope it helps Jerry

Re: Easy Len ?

2003-03-12 Thread Jerry Johnson
You can't enter characters in a checkbox, can you? Not sure what you are trying to do. Jerry Johnson [EMAIL PROTECTED] 03/12/03 04:31PM What is the best way to actually count the number of characters entered in a checkbox, but not spaces? Would I use a regex of some sort, then count

RE: Easy Len ?

2003-03-12 Thread Jerry Johnson
text string? Jerry Johnson [EMAIL PROTECTED] 03/12/03 05:00PM Sorry, it's a textarea...need to find out how many actual characters were entered... Regards, Eric J. Hoffman DataStream Connexion www.datastreamconnexion.com -Original Message- From: Matthew Walker [mailto:[EMAIL

Re: CFHTTP issues

2003-03-11 Thread Jerry Johnson
Does the ip you are trying to fetch it from exist for the Test Server? Are you referenceing by domain or by IP? Try taking the URL you are fetching and pasting it into a browser window on the box in question. (This bites me in the butt about once a month) Jerry Johnson [EMAIL PROTECTED] 03

Re: .cfm extension

2003-03-07 Thread Jerry Johnson
, you should be able to easily read the text. If this is not the case, email me the file (not to the list, but directly) and I'll see if I can make sense out of it. Good luck, Jerry Johnson [EMAIL PROTECTED] 03/07/03 10:14AM Hello, May I have a minute of your time? Would someone here be able

OT - Jrun4 and Cocoon 2

2003-03-06 Thread Jerry Johnson
versions (XERCES.jar and XML-API.jar). Now, however, the JRun4 files have been combined, so there is no one for one swap I can see. Anyone? Anyone? Bueller? (Looking on more appropriate lists as well, but haven't got any responses there) Jerry Johnson

RE: Taking a picture or a web site by specifying a URL?

2003-03-05 Thread Jerry Johnson
http://www.html2jpg.com/ This does a pretty good job. Jerry Johnson [EMAIL PROTECTED] 03/05/03 12:46PM -Original Message- From: Pablo Varando [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 4:29 AM To: CF-Talk Subject: Taking a picture or a web site by specifying

Re: CF5/CFMX/NT/UNIX ??

2003-03-03 Thread Jerry Johnson
questions, Jerry Johnson [EMAIL PROTECTED] 02/28/03 05:11PM Hello Folks, Who out there has experience running CF in an NT environment and also a Unix environment on a LARGE scale? We were previously CF (4.5), and moved to Java (Websphere). Now there is question of going back to CF which is great

RE: finding line feeds and carriage returns (chr(10)/chr(13)

2003-02-28 Thread Jerry Johnson
cfset mynewstring=rereplacenocase(mystring,[[:cntrl:]],,ALL) this will get rid of all control characters, which should get you there. Unless you have some html in that there string, like a br tag. Jerry Johnson [EMAIL PROTECTED] 02/28/03 03:37PM Yeah, I have had to do something similar

Re: Allowing specific HTML tags to be displayed

2003-02-24 Thread Jerry Johnson
http://www.cflib.org/udf.cfm?ID=774 This should get you there. Jerry Johnson [EMAIL PROTECTED] 02/24/03 02:16PM All-- I've still not had any luck trying to get Replace or ReReplace to allow a set of specific codes when displaying information from a database. I'm hoping to allow for only

RE: Allowing specific HTML tags to be displayed

2003-02-24 Thread Jerry Johnson
field. You want to output that HTML to the screen, and have it work like HTML. As far as I know (meaning I do it all the time in cf5), you just need to cfoutput the HTML code to the screen, and it will render. cfoutput#HTMLCode#/cfoutput What part are you getting stuck on? Jerry Johnson

RE: Allowing specific HTML tags to be displayed

2003-02-24 Thread Jerry Johnson
not in the following list: b/bi/ia href=etc/aimg src=etc here, use the function from Isaac: cfset thedata = striptags(allow,a,b,i,img,thedata) 3. display the resulting data as HTML cfoutput#theData#/cfoutput That should be all there is to it. Jerry Johnson [EMAIL PROTECTED] 02/24/03 04

RE: Checking variables

2003-02-20 Thread Jerry Johnson
If you don't care where in the string it is contained, but just a yes/no, what about cfif secondVar contains FirstVar do something cfelse do something else /cfif Jerry Johnson [EMAIL PROTECTED] 02/20/03 11:45AM Checkout the following CF functions ListContains ListContainsNoCase From

Re: Preventing Save As of website

2003-02-20 Thread Jerry Johnson
Even this might not work anymore. There might be a cached copy at Google.com. Jerry Johnson [EMAIL PROTECTED] 02/20/03 03:46PM There is, however, one cross-browser, cross-platform, short-cut key independent way to stop the ability to harness parts of a web site: unplug the server. Works

OK, lets start over........Re: any ideas on this error?

2003-02-13 Thread Jerry Johnson
Now() should be replaced with Now() - no quotes. Then you should be set. Jerry Johnson [EMAIL PROTECTED] 02/13/03 04:59PM heres what i need i have to make this small auction page for my competitors client. what i need right now is to be able to show on the details page how much time is left

Re: OK, lets start over........Re: any ideas on this error?

2003-02-13 Thread Jerry Johnson
to pass them without quotes, or by outputing the value using coldFusion # So dateDiff(s,now(),deadline) or dateDiff(s,#now()#,#deadline#) This assumes the variable deadline is defined and evaluates to a date. Jerry Johnson [EMAIL PROTECTED] 02/13/03 05:08PM sorry charlie but i get the same

Re: Query Not Cooperating

2003-02-12 Thread Jerry Johnson
It's doing exactly what it was told. =) What you want to do is use the query parameter of the cfoutput tag. cfoutput query=attendeeupdate #id# br / /cfoutput Jerry Johnson [EMAIL PROTECTED] 02/12/03 05:17PM I've broken down my queries into the simplest of forms... and it's not working

Re: Microsoft to aquire Macromedia - Or - Not Again!

2003-02-12 Thread Jerry Johnson
Has it been a week already? (We've heard it about once a week since 1998) Jerry Johnson [EMAIL PROTECTED] 02/12/03 10:12AM Ok, that's a little inflammatory, but has anyone heard this rumor that MS might buy MM? Fregas

Re: end.cfm?

2003-02-11 Thread Jerry Johnson
OnRequestEnd.cfm Jerry Johnson [EMAIL PROTECTED] 02/11/03 03:10PM What is the file that automatically loads when a page loads? (the one I'm looking for is the opposite of application.cfm) Scott Wilhelm Computer Technician/Web Developer St. Lawrence-Lewis BOCES PO Box 231, Outer State

Re: SQL Question

2003-02-05 Thread Jerry Johnson
Which database? (Sql Server, Access, MySQL, Oracle, PostgresSQL...) Jerry Johson [EMAIL PROTECTED] 02/05/03 11:35AM I know that you can get the column names of a query using the query.columnlist value, but is there anyway to find out if the field is a text or numeric field? Or can set in

Re: Phone Number Format

2003-02-04 Thread Jerry Johnson
There is a UDF on cflib.org http://www.cflib.org/udf.cfm?ID=403 Jerry Johnson [EMAIL PROTECTED] 02/04/03 01:20PM Are there any CF functions that I can use to format a phone number that is currently 1234567890 to (123) 456-7890? Scott

RE: GET TABLES IN DATASOURCE / GET FIELDS IN TABLE

2003-02-04 Thread Jerry Johnson
Googled this, so have no specific knowledge: SELECT TABLE_NAME FROM ALL_TABLES; MySQL - SHOW command SQL Server - SP_TABLES, SP_COLUMNS Jerry Johnson [EMAIL PROTECTED] 02/04/03 03:20PM Excellent! Does anybody have an Oracle equivalent? -Original Message- From: Eric Creese

I must be stupid - Re: GET TABLES IN DATASOURCE / GET FIELDS IN TABLE

2003-02-04 Thread Jerry Johnson
DATASOURCE=dataSource show columns from tableName /cfquery (I think) Jerry Johnson [EMAIL PROTECTED] 02/04/03 04:56PM I took all examples and could not get any of them to work. :-( Joy ;-* ~| Archives: http

Re: CF 5 CFIF NOT LIKE

2003-02-03 Thread Jerry Johnson
CFIF #GetProduct# DOES NOT CONTAIN FOR The syntax was wrong Jerry Johnson [EMAIL PROTECTED] 02/03/03 03:11PM I need to verify if a field does NOT contain FOR ... I have tried CFIF #ProductDesc# IS NOT LIKE FOR FREE GIFT/CFIF and CFIF #GetProduct# NOT CONTAINS FOR FREE GIFT/CFIF but both

RE: Breadcrumb navigation CF Tutorial

2003-01-30 Thread Jerry Johnson
Are your sections defined by directory based file location fuseaction dependancy trees sitemap tree file naming convention extra sgml/xml/comments in the cfm file itself other ? Jery [EMAIL PROTECTED] 01/30/03 02:05PM explain...what you mean by breadcrumb navigation with CF ...tony Does

RE: Breadcrumb navigation CF Tutorial

2003-01-30 Thread Jerry Johnson
want to get rid of g:\inetpub\wwwroot\. You could place this in the Application.cfm file as a global variable. cfset defaultPath=g:\inetpub\wwwroot\ then remove this from the path, and treat the path as a \ delimited list. Does any of this make sense? Jerry Johnson [EMAIL PROTECTED] 01/30/03 02

Re: SQL Selecting records from list

2003-01-29 Thread Jerry Johnson
If the list is not TOO long, you could simply: cfquery... select * from table where id in (#idList#) /cfquery (this assumes numeric ids, and a cf variable called idList) Jerry Johnson [EMAIL PROTECTED] 01/29/03 09:46AM I have a list of IDs and I want to create a Query that will find records

Re: Columns and grouping issue

2003-01-22 Thread Jerry Johnson
to a variable before outputting to the screen. Remove the top header lines from a copy of the right column. cfset newLeftColumn=replace(leftColumn,rightColumnMinusHeader,) td#newLeftColumn#/td td/td td#leftcolumn#/td Just a thought. Jerry Johnson [EMAIL PROTECTED] 01/21/03 06:10PM OK, I've

RE: Passing URL in query string

2003-01-21 Thread Jerry Johnson
the URLDecode() to get the characters back into usable form. HTH Jerry Johnson [EMAIL PROTECTED] 01/21/03 04:30PM what exactly do you mean? anything in the url string, is in the url string to stay. ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System

Re: Passing URL in query string

2003-01-21 Thread Jerry Johnson
, or regex, you will be able to parse through this info, and get what you need. (for example (horrible code, but hey...) cfset url=rereplacenocase(QUERY_STRING,.*url=(.*)$,\1) FWIW Jerry Johnson [EMAIL PROTECTED] 01/21/03 04:59PM I've tried the URLEncodedFormat and URLDecode but it still separates

Re: String matches

2003-01-21 Thread Jerry Johnson
What is stored in the db? Is it a single entry, or have you put a list of items in the db field? Jerry Johnson [EMAIL PROTECTED] 01/21/03 05:26PM If I have a string that can contain one or more entries, and I want to match it against a table field, what's the best CF5 way of doing

Re: Passing URL in query string

2003-01-21 Thread Jerry Johnson
a variable called just url If you need more help on the exact syntax to use for the encode/decode, I'll be here for another 20 minutes or so, so I'm all yours. Jerry Johnson [EMAIL PROTECTED] 01/21/03 05:27PM So you could run into problems like: index.cfm?go=yesurl=http://www.asdf.com/index.cfm?x

RE: String matches

2003-01-21 Thread Jerry Johnson
That would work even if there was only one item in the list. But it would require that myField have one and only one value per record. Does this handle your needs? (Or do you have more than one potential value in each myField field?) Jerry Johnson [EMAIL PROTECTED] 01/21/03 05:46PM How

Re: Columns and grouping issue

2003-01-21 Thread Jerry Johnson
You've got the code right, but you are doing the WHOLE set in the first list, and only the second half in the second list. (I say the code is right cause the right side is perfectly half of the left side) Jerry Johnson [EMAIL PROTECTED] 01/21/03 05:52PM I'm trying to get two even columns

RE: Way OT: javascript to submit a form

2003-01-16 Thread Jerry Johnson
I think eval('document.'+formNameVar).submit(); would work as well. Jerry Johnson [EMAIL PROTECTED] 01/16/03 02:40PM For stuff like this I generally assign IDs to each element and use getElementById() to call them. So: document.getElementById(formIDVar).submit(); -- Ben Doom

Re: Query Help Again...

2003-01-14 Thread Jerry Johnson
Single quotes around the text values. Jerry Johnson [EMAIL PROTECTED] 01/14/03 10:09AM Can someone tell me what's wrong with this query? I've verified that everything between this query the database matches up, I've printed out the SQL statement, and that was verified through my database

Re: OT: Outlook import file

2003-01-14 Thread Jerry Johnson
not sure about mime-type info and all. HTH Jerry Johnson [EMAIL PROTECTED] 01/14/03 01:27PM Anybody have the format of a proper text file for importing calendar items for outlook? I want to create a text file of the next year's publication schedule, for example, and distribute it for people

RE: Search engine spider

2003-01-13 Thread Jerry Johnson
of links? Jerry Johnson [EMAIL PROTECTED] 01/13/03 03:00PM Well ASP, .NET of CF would work... I need to write a search engine spider... I am just looking for a basic one to work with but in the end I need to be bale to start it off somewhere and let it go Indexing pages along the way in our

Re: Database Results

2003-01-13 Thread Jerry Johnson
Query.recordCount is the variable that indicates the number of rows returned with the query. Obviously 0 would be an empty set. Jerry Johnson [EMAIL PROTECTED] 01/13/03 03:56PM When I used to work with ASP, I would run my SQL statement, check to see if the recordset is empty

RE: Database Results

2003-01-13 Thread Jerry Johnson
. Hopefully some of this will be useful, Jerry Johnson [EMAIL PROTECTED] 01/13/03 04:22PM snip You don't really need to put them into an array to loop over the recordset. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm

Re: OT: style sheet weirdness

2003-01-09 Thread Jerry Johnson
What browser? It is working fine for me on ie6 Jerry Johnson [EMAIL PROTECTED] 01/09/03 01:50PM Hi All, I've got a stylesheet with a bunch of text related elements in it. No matter which text element I place first in the list of elements, it will be ignored

RE: Test CSV

2003-01-08 Thread Jerry Johnson
broke). /cfcatch /cftry cfif errorCount gt 0 No can do, the file has some issues. Please fix it and try again. /cfif Jerry Johnson [EMAIL PROTECTED] 01/07/03 11:21PM Thanks Jerry - I wonder if you or someone on the list can confirm what I am thinking. cfoutput#ListLen(AddressFile

Re: more on grrrrr ... cfschedule

2003-01-07 Thread Jerry Johnson
of lines of your real program in at a time, and see if it still works. Just some thoughts. Jerry Johnson [EMAIL PROTECTED] 01/06/03 05:55PM To recap ... I haven't been able to get cfschedule to actually execute any code. It runs, according the logs, but nothing happens

Re: looping through a list using cfscript

2003-01-07 Thread Jerry Johnson
for {i=1;i=listLen(list);i=i+1} val=listGetAt(list,i); syntax most likely wrong, but idea is correct. Jerry Johnson [EMAIL PROTECTED] 01/07/03 11:03AM I need to loop through a comma delimited list (the output of a multiple select box) using cfscript, yet list isn't a loop type in cfscript

Re: SQL: Comparing elements in a list to comma delimited data in a table field

2003-01-07 Thread Jerry Johnson
, it would simplify things. if db field was ,7,8,14,18, then you could use the like statement to look for each value in the form field and field like '%,#val#,%' you can't use like in your current scheme, since 3 would be found in 1,13,33 a few times. Jerry Johnson [EMAIL PROTECTED] 01/07/03

Re: Using Excel to Calculate a Result...

2003-01-07 Thread Jerry Johnson
the resulting excel file into cf. FWIW Jerry Johnson [EMAIL PROTECTED] 01/07/03 05:07PM A client, in request for a formula to make some required calculations, has passed off an Excel spreadsheet to me instead.. Here, this does it, just get the formula from that... I've looked at it, and well, damn

Re: Test CSV

2003-01-07 Thread Jerry Johnson
could get you there. (if there are five columns, the listlen should ALWAYS be 5, right?) Jerry Johnson [EMAIL PROTECTED] 01/07/03 05:27PM I have a CSV file that I want to read into variable (see below). Before doing so I think I should test the construction of the file to ensure that its

Re: New ColdFusion API

2003-01-06 Thread Jerry Johnson
Thank you. Very nice. Not to be too much of a downer, but are you aware that TAPI is already accepted as the acronymn for Telephony Application Program Interface? Again, thanks. Jerry Johnson [EMAIL PROTECTED] 01/05/03 07:22PM Hi all, In the midst of working on the ever-expanding

Re: Loop Errors

2003-01-06 Thread Jerry Johnson
, and returning both as category. How are you going to distinguish between these tow columns? Don't you want to name one differently? (Also true for catno and parent_level) SELECT a.category, a.catno, a.parent_level, b.category, b.catno, b.parent_level FROM category_menu a, category_menu b Jerry

Re: Loop Errors

2003-01-06 Thread Jerry Johnson
Ian, [EMAIL PROTECTED] 01/06/03 11:24AM Jerry Johnson said cfoutput cfset i = i + 1 ChapterArray#category#[#i#] = #category#; ChapterArrayVal#category#[#i#] = #catno# #category#; /cfoutput /cfoutput why do you think I dont need this?? Because the inner-most cfoutput is just being used simply

RE: Some idea about the Efficiency of UDFs

2003-01-02 Thread Jerry Johnson
Does anyone else want to chip in for some panty untwisters. They definitely seem needed. Jerry Johnson [EMAIL PROTECTED] 01/02/03 02:13PM Um, no it's not. You just read on the mailing list what feature he is interested in and he didn't submit a request for it. Matt Liotta President CEO

RE: Some idea about the Efficiency of UDFs

2003-01-02 Thread Jerry Johnson
Typing too fast again. cfset message=listInsertAt(message,=) ,3,#chr(10)#) =) Jerry Johnson [EMAIL PROTECTED] 01/02/03 02:37PM Does anyone else want to chip in for some panty untwisters. They definitely seem needed. Jerry Johnson [EMAIL PROTECTED] 01/02/03 02:13PM Um, no it's not. You

RE: Couple of somewhat OT learning questions

2002-12-30 Thread Jerry Johnson
(Hope this Helps) Jerry Johnson [EMAIL PROTECTED] 12/30/02 09:53AM I have been sitting here for 4 days trying to figure out what OT means ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription

RE: Is this bad news?

2002-12-27 Thread Jerry Johnson
://www.mssqlserver.com/faq/general-autodial.asp As a wild-@ss guess, maybe something isn't completely setup, and it is running/trying to run the setup screen for that item (like maybe backup or replication that runs in the midlle of the night?) Let us know what you find out. Jerry Johnson [EMAIL PROTECTED] 12/27

Re: padding zeros

2002-12-27 Thread Jerry Johnson
(565,10)#/cfoutput Jerry Johnson [EMAIL PROTECTED] 12/27/02 10:54AM I'm displaying an id, which in the long run may change length from say 6 digits to 7. So to keep it standard, I want to pad a zero in front of the 6's. Would this be done with numberformat or should i grab the length of the id

Re: padding zeros

2002-12-27 Thread Jerry Johnson
the languages I have been elbow deep in this week. Jerry Johnson [EMAIL PROTECTED] 12/27/02 11:31AM add the number to a really big number (like 1000) and take the rightmost number of digits you need. What's the advantage to that over using the NumberFormat function? Oh, I was mistaken before

Re: New User

2002-12-26 Thread Jerry Johnson
password=YeaRight debug=yes SELECT * FROM bluegrasscalendar WHERE Title LIKE '%#form.TITLE#%' /cfquery And I would move the cfparam out of the cfquery and place it one line above it. HTH Jerry Johnson [EMAIL PROTECTED] 12/26/02 12:03PM I have been trying to do a search of a database

RE: New User

2002-12-26 Thread Jerry Johnson
The first thing you need to do is find out how the date field is defined in the db. It could be a TIMESTAMP, a DATE or a DATETIME. Each functions very differently. You can use show to get the structure of the table: SHOW FULL COLUMNS FROM tbl_name this will let you see how the db is currently

Re: Regular expression question

2002-12-23 Thread Jerry Johnson
if you are too lazy to try Ray's suggestion (as I often am), something like this might get you there. cfset emailAddress=REReplaceNoCase(BlockOfText,(|.*[^'\._a-z0-9-]+)(['\._a-z0-9-]+@[a-z0-9-]+(\.[a-z0-9-]+)*\.(([a-z]{2,3})|(aero|coop|info|museum|name))).*,\2) (Of course, this assumes there

RE: Regular expression question

2002-12-23 Thread Jerry Johnson
I think the version I sent handles these issues. Jerry Johnson [EMAIL PROTECTED] 12/23/02 02:17PM Yes, it's the greedy match that's getting you -- I didn't think about that. If you can classify the char that preceeds the email address (i.e. it's a space or punctuation or either) then you can

RE: Regular expression question

2002-12-23 Thread Jerry Johnson
I've never used it before either. Must be the tacos at lunch. =) Jerry Johnson [EMAIL PROTECTED] 12/23/02 02:38PM Nice. I like that. I hadn't thought of using a null character in a piped chooser (or whatever you want to call that. I'm sure it has a name :-) --Ben Doom Programmer

Re: CFGurus ... your advice sought

2002-12-20 Thread Jerry Johnson
How important is it that you get _instant_ response moving the file after creation. What if you told CF to move a file only after its modify date lay unchanged for 5 minutes or 10 minutes? That would give the OS and ImageMagick plenty of time to release the file. Just a thought, Jerry Johnson

Re: ?RequestTimeout - MM's offical stance?

2002-12-19 Thread Jerry Johnson
I don't know the answer to the question you asked, but I have a question in response. What makes a PPT presented by Sandra Clark at CFFUN-02 an official MM stance on anything? (Truly curious) Jerry Johnson [EMAIL PROTECTED] 12/19/02 05:00PM Hi, I have found 2 conflicting pieces of offical

Re: Generating PDFs in CF

2002-12-17 Thread Jerry Johnson
it through Ghostscript to generate a PDF Using cocoon and XML to generate the PDF on the fly for viewing Jerry Johnson [EMAIL PROTECTED] 12/17/02 09:43AM Hi, I was wondering if anyone has any information on how to create a PDF on the fly in CF. I have been told to look at Active PDF

Re: Compare Two Lists - Keep What Is Similar

2002-12-16 Thread Jerry Johnson
1. Venn tag (http://devex.macromedia.com/developer/gallery/SearchResults.cfm?keywords=venn) 2. query of query Just some ways I've done this in the past Jerry Johnson [EMAIL PROTECTED] 12/16/02 01:17PM Hi everyone. I am looking for a way to compare 2 different lists of information

Re: Problem with single quotes

2002-12-13 Thread Jerry Johnson
wrap the variable in PreserveSingleQuotes(string) This will prevent it from escaping the quotes (by adding another ' next to each existing ') Jerry Johnson [EMAIL PROTECTED] 12/13/02 12:29PM Hi everyone. I'm having a problem with single quotes. I'm building the where part of a sql statement

Re: Alternating Row Colours Number Listing in CFOutput

2002-11-27 Thread Jerry Johnson
this help? And I will note for the record that the first line will be grey, the second white and so on. Jerry Johnson [EMAIL PROTECTED] 11/27/02 12:03PM Could you please explain what the following statement does? ###iif(currentrow mod 2, DE('DFDFDF'), DE('FF'))# Cutter S. Isaac Dealey wrote

Re: img!

2002-11-21 Thread Jerry Johnson
You'd go to the archives, and search yesterday and today for GIF Pipes. The code you need is in that thread. Jerry Johnson [EMAIL PROTECTED] 11/21/02 12:20PM If I wanted to do something along the lines of: joe.cfm?img=/images/go.jpg and have joe.cfm turn into the actual image how would i

RE: ColdFusion practical limits

2002-11-19 Thread Jerry Johnson
I had a client that wanted to support 1 million+ existing subscribers using a single CF server, attached to an Access db and a Btrieve Db, served through a 56K line. Now that was a scary project which died an early death. Jerry Johnson [EMAIL PROTECTED] 11/19/02 01:53PM I talked to one

RE: site using cf

2002-11-08 Thread Jerry Johnson
Why are you viewing the main site using https? (Did you just edit the URL sent in the previous post?) Jerry Johnson [EMAIL PROTECTED] 11/08/02 01:29PM https://ww2.williams-sonoma.com/ has the following for their swf call??? PARAM NAME=movie VALUE=https://a248.e.akamai.net/7/248/243/0070

Re: Easy HTML Question

2002-11-08 Thread Jerry Johnson
2 ways. 1. Wrap the field in a set of PRE tags. The font will default to Courier, but what the hey. 2. replace all carriage returns with BR tags cfset field=replace(field,#chr(10)#,BR,ALL) HTH Jerry Johnson [EMAIL PROTECTED] 11/08/02 04:51PM How do you keep carriage returns in a textarea

Re: Can CF search a string from the right to the left.

2002-10-24 Thread Jerry Johnson
But an easier way might be to treat the string as a list delimited with /, and delete the last element from the list cfset newString=listDeleteAt(string,listLen(string,/),/) Jerry Johnson [EMAIL PROTECTED] 10/24/02 10:34AM Hi, I was wondering if anyone knows of a cf function or a tag

Re: Loopy Logic

2002-10-24 Thread Jerry Johnson
Gel, what is SearchDate set to? Jerry Johnson [EMAIL PROTECTED] 10/24/02 02:42PM Hey all, I am writing a bit of code that is suppose to do this: Check for a value in the database within a certain time period. If there is no value in this time period, then check previous months until

Re: Hello

2002-10-24 Thread Jerry Johnson
as a new message, rather than replying and changing the subject. (Which is my habit as well). On the Archives it makes it more difficult to follow a thread when they are all jumbled together. Sorry I couldn't help, Jerry Johnson SP [EMAIL PROTECTED] 10/24/02 11:50AM I subscribed yesterday

Re: whitespace woes

2002-10-24 Thread Jerry Johnson
What is in the Application.cfm file doing to you? Could the whitespace get added in there? Jerry Johnson [EMAIL PROTECTED] 10/24/02 03:13PM I'm having with trouble with ColdFusion and extraneous whitespace. And yes, I've done my Google searching. The problem is that I'm trying to output

Re: SoEditor and RegEx help

2002-10-21 Thread Jerry Johnson
are editing an entire HTML document, or set this to false if you are only editing a section or HTML. Defaults to false. Then you can actually test for an empty string. Jerry Johnson [EMAIL PROTECTED] 10/21/02 02:48PM Hello, I'm using

Re: Cffile to write out to network drive...

2002-10-18 Thread Jerry Johnson
Assuming you are on NT, I think you want to be using the other slash. \\507-admin\lepplus\leppplus\CONSOL\STXsuppl.BIL And you need to make sure that the user Cold Fusion is running as has read and write access to that machine/directory HTH Jerry Johnson [EMAIL PROTECTED] 10/18/02 10:02AM I

Re: Get text between tags

2002-10-15 Thread Jerry Johnson
,.*#tag#([^ø]*)ø.*,\1) FWIW Jerry Johnson [EMAIL PROTECTED] 10/15/02 11:21AM Okay, I'm going insane. I need to find all of the text between starting and ending tags, e.g., CFQUERY... and /CFQUERY. Efforts to write the regular expression myself have been frustrating. I'm certain it was discussed

Re: basic calendar question

2002-10-15 Thread Jerry Johnson
Definitely store it as a date. What about time? Do you ever foresee the need to know the time of an event? If so, use a datetime to store it. And if an event doesn't have a time, while others do, use a standardized placehlolder like midnight to designate don't care on the time object. Jerry

RE: not another mx boo boo

2002-10-09 Thread Jerry Johnson
Yes, we can see that. Jerry Johnson [EMAIL PROTECTED] 10/09/02 02:07PM Yes,I know where his emails come from. However he makes many comments to his employer and references to it, does not try all that hard to seperate the two. Heck when he made insultive remarks about the EfNet CF

RE: not another mx boo boo

2002-10-09 Thread Jerry Johnson
Well, sorry snipe, I meant there to be a =) smiley before my sig, but I missed typing it. =( Jerry Johnson [EMAIL PROTECTED] 10/09/02 03:44PM Yes, we can see that. Jerry Johnson [EMAIL PROTECTED] 10/09/02 02:07PM Yes,I know where his emails come from. However he makes many comments

RE: LONG time CF Supporter - About ready to dump CF!

2002-10-08 Thread Jerry Johnson
Wow. Is someone just a little bit bitter? I thought I had detected a hard slant against MM and CF, but you are making it _way_ too easy. And since all we see are complaints... Cold Fusion working perfectly here. Windows based. Version 5. Nice little cluster. Love it. FWIW Jerry Johnson

Re: Dot monster redux

2002-10-01 Thread Jerry Johnson
Death to the Dot Monster! (Long live the dot monster) Jerry Johnson [EMAIL PROTECTED] 09/30/02 06:35PM Turns out that the little dot monster was due to our cfx_imsmail tag not acting like a proper client. Email clients, by definition, are supposed to add a dot to the beginning of a line

Re: error with a piece of cfscript code and I can't see what's wrong?

2002-09-30 Thread Jerry Johnson
And which line is line 67? [EMAIL PROTECTED] 09/30/02 10:55AM ** WESTMINSTER CITY COUNCIL Please refer to the disclaimer beneath this message ** Can anyone

RE: Error with a simple expression.

2002-09-27 Thread Jerry Johnson
In this particular case, I think you don't want to preserveSingleQuotes. You want Coldfusion to escape the single quote/apostraphe In the db set query, you want the string to look like What''s New (two single quotes) What does it do when you remove the preserveSingleQuote call? Jerry Johnson

RE: Ben Doom (was please do my work for me)

2002-09-26 Thread Jerry Johnson
= pcode= ([^]+) 00343223234322 * yetanothervar=who Replace all of the above with the first backreference (which in this case will be 00343223234322) Did this help, or make it more confusing? Jerry Johnson [EMAIL PROTECTED] 09/26/02 10:06AM Ben, I've seen answers

Re: let me try again: Urgent need for help with CFHTTP again

2002-09-26 Thread Jerry Johnson
cfhttp.fileContent CONTAINS connection failure cfset linkStatus=0 cfelse cfset linkStatus=1 /cfif cfcatch cfset linkStatus=0 /cfcatch /cftry (And if anyone disagrees with this, I'd love to be educated as well) Jerry

Line Nibbler Alert!!!

2002-09-26 Thread Jerry Johnson
Line Nibbler Alert My message was stripped of leading periods. Any dot/period character in the following email was stripped if it was the first character on a line. Is this intentional? - here's one. . .. - here are two pairs in a row. Jerry Johnson [EMAIL PROTECTED] 09/26/02 10

Re: Line Nibbler Alert!!!

2002-09-26 Thread Jerry Johnson
As long as the data is good, I am happy. Sorry for the surge of adrenaline. Could someone send me a message with some leading dots to see if it is something in our mail server? Thanks for the help, Jerry Johnson [EMAIL PROTECTED] [EMAIL PROTECTED] 09/26/02 12:05PM The archives have

Re: dot test

2002-09-26 Thread Jerry Johnson
The software works so well I usually assume any error is on my side (and it pretty much always is.) Except this seemed like a really itty bitty baby line monster, which I've met before. Thanks for caring enough to fix such a small thing. Jerry Johnson [EMAIL PROTECTED] 09/26/02 04:42PM

Re: DATE TAG

2002-09-25 Thread Jerry Johnson
I did consider it (for about a second) and realized I would never ever have a need for this function, and the tagging and submission would double the development time. =) Thankfully Larry Juncker spruced it and posted it to cflib.org Jerry Johnson [EMAIL PROTECTED] 09/24/02 06:01PM Thanks

<    2   3   4   5   6   7   8   9   >