RE: Searching records with specific date values

2000-08-29 Thread BORKMAN Lee

Claude,

You need to compare the database field with an ODBC DateTime object.
Remember in Auatrslia that you have to take local date format into account.

So:

1. grab the target date from a form as a string

2. convert it to Locale format using LSDateFormat - don't forget to
setLocale=("English (Australian)")

3. convert to an ODBC datetime object using CreateODBCDateTime

4. use the ODBC datetime object in your SQL: WHERE ArticleDate =
#targetDateAsODBCDateTimeObject#

Good luck,
Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: AustralianAccommodation.com Pty. Ltd.
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 30, 2000 3:01 PM
To: [EMAIL PROTECTED]
Subject: Searching records with specific date values


I has an articles database and i am wanting to be able to search the
database for articles that were published on a specified date. The dates are
selected from a drop down list populated from the dates of each record in
the articles table.

The following code is taken from my action page however when ever i pass a
date from the search form to the action page i receive an error message
saying

"  Error Diagnostic Information
ODBC Error Code = 22012 (Division by zero)


[Microsoft][ODBC Microsoft Access Driver]Division by zero (null)


Data Source = "citicentre"

SQL = "SELECT * FROM articles WHERE articleid not like 0 AND ArticleDate
like 05/07/00"
"
The action page code is as follws the dates in the search form page appear
using the format of #DateFormat(ArticleDate, 'DD/MM/YY')# may be this is
something to do with the problem

your assistance would be appreciated


 
 SELECT *
 FROM articles
 WHERE articleid not like 0
 
 AND articletitle like '#form.articletitle#%'
 
 
AND ArticleDate like #DateFormat(ArticleDate, 'DD/MM/YY')#
 


Kind Regards

Claude Raiola (Director)
AustralianAccommodation.com Pty. Ltd.
Website: www.AustralianAccommodation.com
Email: [EMAIL PROTECTED]


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Rounding to the nearest nickel?

2000-08-30 Thread BORKMAN Lee

Multiply by 20
Round
Divide by 20


Best of luck,
Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Chris Straight [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 31, 2000 1:33 AM
To: [EMAIL PROTECTED]
Subject: Rounding to the nearest nickel?


I seem to have a dilema and I would hope that someone on this list could
help me. I need to round a number to the nearest nickel for instance 10.225
should go to 10.20 and so on. With the round function I can only round to
the nearest whole number. I have no idea what to do and would really
appreciate any help in pointing me in the right direction.


Chris Straight
Web Applications Developer
University of Oregon Bookstore, inc.
895 E. 13th Ave
Eugene, OR 97401
(541) 346-4331
http://www.uobookstore.com


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Rounding to the nearest nickel?

2000-08-30 Thread BORKMAN Lee

Actually $10.225 to the nearest nickel is $10.25 ;-)

See ya,
Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Chris Straight [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 31, 2000 1:33 AM
To: [EMAIL PROTECTED]
Subject: Rounding to the nearest nickel?


I seem to have a dilema and I would hope that someone on this list could
help me. I need to round a number to the nearest nickel for instance 10.225
should go to 10.20 and so on. With the round function I can only round to
the nearest whole number. I have no idea what to do and would really
appreciate any help in pointing me in the right direction.


Chris Straight
Web Applications Developer
University of Oregon Bookstore, inc.
895 E. 13th Ave
Eugene, OR 97401
(541) 346-4331
http://www.uobookstore.com


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Rounding to the nearest nickel?

2000-08-30 Thread BORKMAN Lee

Sorry, that would round to the nearest cent.  Close but no banana.

-Original Message-
From: !jeff! [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 31, 2000 10:22 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Rounding to the nearest nickel?







At 06:53 PM 8/30/2000 -0500, [EMAIL PROTECTED] wrote:
> > I seem to have a dilema and I would hope that someone on this
> > list could
> > help me. I need to round a number to the nearest nickel for
> > instance 10.225
> > should go to 10.20 and so on. With the round function I can
> > only round to
> > the nearest whole number. I have no idea what to do and would really
> > appreciate any help in pointing me in the right direction.
>
>Try this:
>
>
>
>Ron Allen Hornbaker
>President/CTO
>Humankind Systems, Inc.
>http://humankindsystems.com
>mailto:[EMAIL PROTECTED]
>
>
>---
---
>Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
>To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or 
>send a message to [EMAIL PROTECTED] with 'unsubscribe' in 
>the body.

!j!

The mark of mediocrity is searching for the precedent.

!jeff! sherwood Director of BIGWORDS.com Web Site Design / JEDI
   BIGWORDS.com worker#2
[EMAIL PROTECTED]   [EMAIL PROTECTED]
.r.e.c.o.v.e.r.e.d.n.e.t.s.c.a.p.e.u.s.e.r. . . . 415.543.1400.x300


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Hotel Booking

2000-09-11 Thread BORKMAN Lee

you are a real sick puppy... (whoever you are)

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 12, 2000 1:17 PM
To: [EMAIL PROTECTED]
Subject: RE:Hotel Booking


This is an interesting thread indeed.  Is there an "open for criticism"
list?  It would be nice, as a contractor, to post code for peer review.


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: REGEX for a space

2000-09-13 Thread BORKMAN Lee

I'd be careful there,

For any whitespace character, sometimes it's [[:space:]] and sometimes it's
[:space:].

As far I can make out by trial-and-error, you normally use the
double-brackets, but when you are using [] to group characters, you only use
single-brackets around in the POSIX char:
[^[:space:]_]

As i say, I have just come to this conclusion myself, haven't seen it
documented anywhere.  I have found that using the double-brackets inside
grouping brackets doesn't give the results I have intended (no nice error
messages though).

Best of luck,
Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork



-Original Message-
From: Jeremy Allen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 12, 2000 3:25 AM
To: [EMAIL PROTECTED]
Subject: RE: REGEX for a space


Allaire uses something terrible like [[:space:]] and [[:print:]]

instead of \s

for its backslash type stuff.  It makes some Regex, huge but it is
functional.


Jeremy

-Original Message-
From: Steve Bernard [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 11, 2000 1:21 PM
To: [EMAIL PROTECTED]
Subject: RE: REGEX for a space


What you are experiencing is Allaire's poor choice of third-party RegEx
engines. I'd call Customer Service and say something. I've been doing it for
awhile without much luck but, some backup couldn't hurt.

Steve


-Original Message-
From: Andrea Wasik(CancerSource) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 07, 2000 3:46 PM
To: [EMAIL PROTECTED]
Subject: REGEX for a space


I am looping over a list that contains the names of mailing lists. The
delimiter in the loop is the carriage return. I am trying to identify the
position of the first space in the index. I thought the regex for a space
was /s, but that is not working here as the REFind always returns a zero.
This is what one line of the list looks like:

BREASTCANCER 1999-12-30 0 0 0 0 0 0 0 0

and here is my code:





SpacePositionAfterFirstWord:
#SpacePositionAfterFirstWord#





CurrentDay: #currentday#


I don't really need the currentlistwordStart variable since the word is
always the first thing on each new line. My problem is the 2nd REFind:
REFind('\s+', line), which always gives me a zero.

The files I am parsing are the ListServ log files, in case anyone is
curious. They don't have any type of log analysis available so I am trying
to create my own.

Thanks


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



[CF-Talk] Page load never finishes - Internet Explorer

2000-09-19 Thread BORKMAN Lee

Hi all,

I have a problem that only seems to happen on one of my development servers
(NT/CF4.01), and with Internet Explorer.

Sometimes (it's intermittent) I go to a CF page, and the page displays fine
all the way to the end, and all the debugging gets displayed as well, so the
page has obviously finished processing...

BUT... The little hour-glass just keeps on twirling for hour upon hour until
an error box pops up: "Internet Explorer cannot open the Internet site
http://blahblah. The download of the specified resource has failed."

Any theories?

Thanks very much,
Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Image validation

2000-09-20 Thread BORKMAN Lee

you probably want to check more than that ;-)

-Original Message-
From: Roger Lim [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 21, 2000 4:42 PM
To: CF-Talk
Subject: Image validation


Hi,

Apparently I allow user to upload their image files into my server, however
I wish to check their image width and height, how do I go about doing that ?

Thanks.
Roger


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Cocatenation

2000-09-21 Thread BORKMAN Lee

I'd usually go with:


Much more readable.  I'm not sure about the performance, though.  Anyone?

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Russel Madere [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 22, 2000 8:31 AM
To: CF-Talk
Subject: RE: Cocatenation


Try:



assuming of course that StartDate and EndDate are variables.

Russel


  Russel Madere, Jr. Senior Web Developer
  ICQ: 5446158   http://www.TurboSquid.com

Just what the heck is a Turbo Squid?!?!?!?!?!? Ask me...



-Original Message-
From: Christopher S Martin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 21, 2000 15:34
To: CF-Talk
Subject: Cocatenation


How do I concatenate three strings?

I want to cocatenate two variable name, with AND.  I tried :

 cfset someString = Evaluate("StartDate" & AND & "EndDate")

as well as:

Evaluate("StartDate" & DE(AND & "EndDate")

BUt niether of the worked.  I would like to use someString as a where clause
in a query, so it should output the values stored in some string.  WHat
should I do?

Thanks,

Chris Martin
[EMAIL PROTECTED]
www.fsenablers.com
www.fslink.com


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Fusebox [CF-Talk]

2000-09-21 Thread BORKMAN Lee

In case you all hadn't guessed it, Andrew works for a bank here in
Australia.  Strangely, banks are not too popular in these parts, which does
seem strange, since they obviously go out of their way to make friends ;-)

Only joking Andrew.  This won't affect my loan application, will it?
Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Scott, Andrew [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 22, 2000 10:24 AM
To: CF-Talk
Subject: RE: Fusebox [CF-Talk]


[...]


... And from what I have read on the mailing groups there aren't too
many bright coders out there anyway, I mean there is enough documentation on
functions from allaire and people still can not understand simple functions
and their purpose, if these people can not comprehend this simple fact how
on earth are they really going to understand Fusebox or any other
methodology that may be adapted.

[...]

regards

Andrew Scott
ANZ eCommerce Centre
* Ph 9273 0693  
* [EMAIL PROTECTED]


-Original Message-
From: Heath Lord [mailto:[EMAIL PROTECTED]]
Sent: 21 September 2000 04:53
To: '[EMAIL PROTECTED]'
Subject: RE: Fusebox [CF-Talk]


I'm wondering what kind of a response this is...

I'd hazard a guess that you have no idea how much experience some of us have
in ColdFusion.  These kinds of blanket statements are usually proven wrong.

I've worked with fusebox, but I prefer not to.  I know how to do it if I
need to work with it, but I don't like to.  That's like saying that everyone
must write all of their documents in calligraphy because it looks better.
However, it, like fusebox takes a lot longer to do.

Heath Lord

-Original Message-
From: Karl Simanonok [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 20, 2000 1:17 PM
To: [EMAIL PROTECTED]
Subject: Fusebox [CF-Talk]


>So far all of the people that are not fans of fusebox simply do not
know how
>to use it and have spent no time reading the documentation or
researching
>its implementation.  Do any of you have any real problems with fusebox?

I have used fusebox for several large projects, mainly because clients
have heard of it and without really understanding it they insist on
their application being built with it.  On the plus side, if I had to
fix or enhance somebody else's code I would prefer that it be written
fusebox-style, just to help me more easily track what templates do what
in a complex application that I did not write.  The same goes for
working with other developers on the same project (but only if it's a
very complex project).  That is the only slight advantage I have been
able to determine.  The downside is that it slows development time
because of extra logic that must be incorporated into index.cfm and
because the debugger reports most errors as occurring in index.cfm.
Fusebox probably slightly reduces performance because every template is
CFINCLUDEd within CFSWITCH/CFCASE logic in index.cfm, but I haven't gone
to the trouble of measuring performance explicitly in two otherwise
identical fusebox and non-fusebox applications so I don't know how much.

The thing I like least about the fusebox specification is the really
stupid filenaming system which scatters related modules away from each
other in a directory view (qryCustomerInfo.cfm and qryPrecincts.cfm are
not likely to be related except by their general function of containing
queries; it's far more helpful to name templates by functional groups
like CustomerList.cfm, CustomerEdit.cfm, and CustomerUpdate.cfm).

I think fusebox has its greatest value in large applications which are
being built by multiple developers simultaneously, as long as you ignore
the fusebox filenaming system which negates any advantages.  For small
applications (perhaps two dozen templates or fewer) there's no advantage
I can see.  Hopefully the filenaming convention will be improved as
fusebox evolves into a more mature programming methodology.

Regards,

Karl Simanonok
Advanta Solutions, Inc.


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Ar

RE: Fusebox and URL protection

2002-05-05 Thread BORKMAN Lee

An interesting approach is to pass a completely encrypted URL string.  Have
a look at Tim Heald's URL encryption functions here:
http://loathe.mine.nu/

The problem with adding a simple checksum is that a dedicated hacker only
needs to figure out the checksum algorithm.  Encrypting the entire URL makes
that job much harder.

Have fun,
LeeBB

-Original Message-
From: Michael Tangorre [mailto:[EMAIL PROTECTED]]


hey everyone.

what is the best way to make sure noone tampers with the URL and the
parameters in the url?

I am using fusebox 2, and need to find a solution to the above problem if it
is appropriate.

Thanks,

Mike


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: OT BUT CRITICALLY IMPORTANT...

2000-10-03 Thread BORKMAN Lee

Hey guys,

Don't you foreigners have your own lists for talking politics? ;-)

Sometimes from Estonia, sometimes from Australia, rarely interested in
America,
Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Peter Theobald [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 04, 2000 12:48 PM
To: CF-Talk
Subject: Re: OT BUT CRITICALLY IMPORTANT...


*OPINIONS FOLLOW* YOU MAY DISAGREE* THAT IS YOUR PEROGATIVE*

Traditionally there is not an IT union for several reasons:

1) Unions began when exploited workers attempted to organize to fight the
their exploitation. IT workers have never been exploited, as a matter of
fact we enjoy some of the highest wages and most flexible working conditions
in any industry. There is currently much more demand for skilled IT workers
than there is supply of those workers. IT workers are a class that hardly
need the protection of an organization.

2) IT workers have always had a grass-roots "meritocracy" philosophy. In
other words we have felt that the best opportunities should go to the most
skilled workers regardless of other factors such as 'tenure', 'nationality',
'race', 'age', 'sex', or 'membership in a union'. Perhaps this is an
outgrowth of the nature of what we do. We spend all our time looking for the
most efficient solutions to problems, so perhaps we naturally feel that
"jobs" should also be granted to the most efficient worker for a given task,
and not to the one who has paid his or her union dues the longest.


At 06:28 PM 10/3/00 -0400, Jon Tillman wrote:
>While I may not take such a hard-line position about this issue, it does
raise
>a question to me:
>Is there an IT union? if so, does anyone have contact info?
>if not, why not?
>
>-- 
>***
> Jon Tillman
> LINUX USER: #141163
> ICQ: 4015362
> http://www.eruditum.org
> [EMAIL PROTECTED]
>***
>Be alert, the world needs more lerts
>***
>
>---
---
>Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
>To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body. 


---
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 x204 Fax 1.212.545.0938


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Calling all New Zealand based CF developers!

2000-10-03 Thread BORKMAN Lee

Would we be happy to include them?  As they say on the FuseBox list, Get
Real !! ;-)

Lee.


-Original Message-
From: Parker, Kevin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 04, 2000 3:24 PM
To: CF-Talk
Subject: RE: Calling all New Zealand based CF developers!


Are you happy to include Aussies!



Kevin Parker
Service and Communication
WorkCover Corporation

[EMAIL PROTECTED]

ph:  +61 8 82332548
fax: +61 8 82332000



-Original Message-
From: Peter Mott [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 4 October 2000 1:08:PM
To: CF-Talk
Subject: Calling all New Zealand based CF developers!


Please forgive the intrusion fellow CF'ers ...

If you are a NZ based developer and want to join a local CF discussion list

Send a message to

[EMAIL PROTECTED]

with no subject and single word SUBSCRIBE in the message body.

Regards

Peter Mott
Chief Enthusiast
2day.com
-/- 

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.




This e-mail is intended for the use of the addressee only. It may contain
information that is protected by legislated confidentiality and/or is
legally privileged. If you are not the intended recipient you are prohibited
from disseminating, distributing or copying this e-mail. Any opinion
expressed in this e-mail may not necessarily be that of the WorkCover
Corporation of South Australia. Although precautions have been taken, the
sender cannot warrant that this e-mail or any files transmitted with it are
free of viruses or any other defect.
If you have received this e-mail in error, please notify the sender
immediately by return e-mail and destroy the original e-mail and any copies.


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Getting Form's fields as URL parameter too...

2000-10-05 Thread BORKMAN Lee

In your Form or CFForm tag, you get to chosse the METHOD.  The default
(strangely) is GET, which passes the form fields appended to the URL.  If
you use POST for the METHOD, the fields will be passed via the HTTP headers,
which is usually preferable IMHO.

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Perez, Bismark [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 06, 2000 7:22 AM
To: CF-Talk
Subject: Getting Form's fields as URL parameter too...


Hello there,

is this possible...


Bismarck

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Realsim and 4D Arrays

2000-10-05 Thread BORKMAN Lee

Well, that surely depends on what you're trying to do.

Philosophically (yippee!) I'm trying to define the space of all possible
hi-fi settings (in order to help our friend visualize n-dimensions).  Each
possible setting corresponds to a single point within the 10-dimensional
space.

Whether or not you would actually WOULD use a 10-d array to store hi-fi
settings depends on the circumstance. Basically, your 1-d array may be
suitable for some operations, but it doesn't really have much to say about
hi-fi space ;-)

After all, what does your single dimension represent?  It's the KNOB
dimension, and you have defined 10 separate points along that single Knob
dimension.  In my model, I have a Volume dimension, a Bass dimension, a
Treble dimension, etc.  There's a certain semantic richness there.

Sorry to descend into phil-speak.
see you soon,
Leeb.


-Original Message-
From: Jim McAtee [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 06, 2000 1:43 PM
To: CF-Talk
Subject: Re: Realsim and 4D Arrays


I'm hoping your hi-fi example is just a bad analogy.  I'd represent it as a
structure or a one dimensional array with 10 items.

Jim


- Original Message -
From: "Lee Borkman" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, October 06, 2000 9:45 AM
Subject: RE: Realsim and 4D Arrays


You can do much worse than that.  In genetics we talk about essentially
infinitely-dimensioned spaces, one dimension for every gene on the
chromosome.

But there are ways to comprehend it all.  Imagine your hi-fi.  It has maybe
ten knobs on it.  Each knob can be turned to an infinite number of
positions.
If you wanted to write or store the information about the settings on your
hi-fi, you would probably use a ten-dimensional array, thus defining a
ten-dimensional 'space'.  It doesn't matter that you can't visualise the
space
like you can physical space - just think of n-dimensions as n knobs on your
hi-fi,

Lee Bjork Borkman
Bjork.Net - ColdFusion Tags by Bjork


> -Original Message-
> From: Gavin Myers [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 05, 2000 12:59 PM
> To: CF-Talk
> Subject: Realsim and 4D Arrays
>
>
> Maybe its because I don't exist in some Sci-Fi Channel tv show, but I'm
> having a hard time thinking of what a 4D Array looks like.
>
> 1d = X cordinate
> 2d = X,Y cordinate
> 3d = X,Y,Z cordinate
> 4d = bah!
>
> Considering a 1d array is a line, a 2d is a plane, 3d is a cube, would 4d
> then in this sense, be 1 cube seperated by several smaller cubes
> wich are in
> turn seperated by even smaller cubes?
>
> or is it just not safe to go there?



--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Realsim and 4D Arrays

2000-10-05 Thread BORKMAN Lee

Thanks Rob,

It's really an old problem from I.T. god Donald Knuth.  He was looking for a
way to define ANY font with a finite set of parameters (MetaFont).  Of
course it's impossible - font-space is infinitely-dimensioned.

As for me, I did lots of post-grad work in genetic modelling, and it's
helpful to think of evolution as a walk through a many-dimensioned
gene-space (sometimes a random walk, sometimes biased).

Anyway,
thanks,
Lee Bjork Borkman
Bjork.Net - ColdFusion Tags by Bjork

---

From: Rob Keniger [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 06, 2000 4:07 PM
To: CF-Talk
Subject: Re: Realsim and 4D Arrays


on 2000-10-07 1:45 AM, Lee Borkman at [EMAIL PROTECTED] wrote:

> It doesn't matter that you can't visualise the space
> like you can physical space - just think of n-dimensions as n knobs on
your
> hi-fi,

This is probably the best analogy for n-dimensional arrays I've seen yet.
Thanks.

-- 
 
Rob Keniger
big bang solutions
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: CFContent, MIME types, filenames, browsers

2000-10-09 Thread BORKMAN Lee

Hi all,

Re: CFCONTENT, MIME types, filenames, browsers

You have to deal with BOTH browsers. IE tends to ignore MIME types and look
at the file extension, so you have to use a trick.  Basically, you just tack
a fake filename onto the end of your URL, like so:
http://servername/cfdocs/index.cfm/xyz.doc?fuseaction=showWordDoc
(this is a FuseBox exaample, but it works for non-FuseBox as well)
As you see, any URL parameters get added AFTER the fake filename.

Now index.cfm (fuseaction=showWordDoc) gets invokded on the server, and has
to build the doc on the fly.  You then use CFCONTENT to specify the MIME
type, application/msword (for Netscape's benefit).  The /xyz.doc tacked onto
the URL fools both browsers about the filename, and IE looks at the .doc
extension to figure out how to display the file.

That's the basic technique.  Let me know if anyone needs more detail.

Best of luck,
Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork




--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Which Platform is most scabable for CF 4.5?

2000-10-09 Thread BORKMAN Lee

Now, now, a little decorum,

There I was, telling our management that the great thing about CF is the
fantastic sense of community, and here we go.  As a great Australian says,
"get out of the sandbox".  I don't really know what it means, but I think it
must be apt.

I've never quite got the hang of quoting myself, nor of keeping my elbows
off the dining table.  I HAVE figured out, though, that if I come to the
community with a question, I should really be grateful for ANY answers that
turn up, even those that fail to answer my original question.  How lucky we
all are to have people that actually get around to OPENING our messages,
even if they don't quite manage to read the entire thing.

As for you, Peter, isn't it strange that "apologize" has a "z", but not
"chastised".  It's like you Americans have a different spelling for every
word!

Be good now,
Lee
ps., what's the netiquette regarding fixing spellos in the Subject?



-Original Message-
From: Peter Theobald [mailto:[EMAIL PROTECTED]]

I apologize if my message did not contain any information that was useful to
you. It was intended to have information that some of the readers of this
mailing list might find useful. I have been soundly chastised for an
imperfect email. In the future I will try to live up to your superb example.

At 04:56 PM 10/9/00 -0800, Chris Lott wrote:
>-BEGIN PGP SIGNED MESSAGE-
>
>> Perhaps some of us are responding to other messages in this thread
>> besides yours, so stop repeating yourself.
>
>Except that the messages I am responding to quote the messages and mine is
>the last in the chain. If you are responding to someone else earlier on
>then you best learn to quote properly. It's very simple netiquette. Learn
>it.
>
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Very OT: Read if you're bored, it's not that important (was Re: OT BUT CRITICALLY IMPORTANT...)

2000-10-15 Thread BORKMAN Lee

I met an American once.  Never again. ;-)

On the other hand, one must be a little sympathetic, because the US is the
only country that doesn't yet have its own domain.  Apparently you have to
pay your United Nations membership before you are eligible.

NOTE: This mail may come from and RTA address, but the sentiments expressed
here are merely a reflection of my own myopic world view.

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork




-Original Message-
From: Rob Keniger [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 16, 2000 2:39 PM
To: CF-Talk
Subject: Re: Very OT: Read if you're bored, it's not that important (was
Re: OT BUT CRITICALLY IMPORTANT...)


on 2000-10-16 1:31 PM, James Brown at [EMAIL PROTECTED] wrote:

> I, for one, think this is a very important topic that should be of
> interest of any IT worker in the US.

But it is NOT important to anyone else and quite uninteresting, in fact.
Frankly the assumption that this list is an audience of US citizens is
totally flawed - take this discussion away from here and to CF-COMMUNITY.

-- 
 
Rob Keniger

big bang solutions







--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Storing passwords in database as one way hash

2000-10-17 Thread BORKMAN Lee

Hi all,

You can do better than hashing on the server side.  I use a JavaScript MD5
hash on the client-side.  This prevents the password being sent over the
network in clear, and alleviates the need for SSL in some circumstances.

Works like a dream.

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork





IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Storing passwords in database as one way hash

2000-10-18 Thread BORKMAN Lee

Hi all,

The JavaScript code I am using is publicly available:
/*
 * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
 * Digest Algorithm, as defined in RFC 1321.
 * Copyright (C) Paul Johnston 1999 - 2000.
 * See http://pajhome.org.uk/site/legal.html for details.
 */

I must admit that I haven't tried it with a Mac browser, because that does
not apply in our Intranet environment.  No problem on PC and Linux, Netscape
and IE.

If JavaScript is disabled, then the password is sent in clear.  What happens
then depends on whether JavaScript was enabled when the password was
originally set.

Interesting,
Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Dirk De Bock [mailto:[EMAIL PROTECTED]]

Show us the code! :-)

Or more politely, I'd love to have a look a that. Is this javascript code
publicly available?

Of course the effect is that the hash is sent across the wire instead of the
clear text password, so it could still be sniffed I guess.

- Original Message -----
From: "BORKMAN Lee" <[EMAIL PROTECTED]>
>
> You can do better than hashing on the server side.  I use a JavaScript MD5
> hash on the client-side.  This prevents the password being sent over the
> network in clear, and alleviates the need for SSL in some circumstances.
>


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: LDAP vs. CF

2000-10-18 Thread BORKMAN Lee

Hey, Sal, why not use ColdFusion AND an LDAP server?

In REALLY over-simplified terms, LDAP is just another kind of database, but
optimized for getting data OUT in a hurry.  You still need to
add,edit,retrieve data from it, and then do something with it.  CF is fairly
capable in this way.  If you want, you can go all the way and implement
Advanced Security in CF, in which case you will use the isAuthenticated()
and IsAuthorized() functions.  Otherwise, you can use the CFLDAP tag, which
is basically equivalent to CFQUERY.

Have a look at Understanding and Deploying Ldap Directory Services
(MacMillan Network Architecture and Development Series) by Tim Howes, etc.

have fun,
Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: S R [mailto:[EMAIL PROTECTED]]

Hi,
I just got hired to a new company that uses LDAP in IIS to authenticate and 
contain different groups of users. In my old company I was using Netscape 
Enterprise and just completely did away with the Netscape LDAP server and 
used CF to authenticate against a SQL database with each users info such as 
password, login and 'level' of user. What would you say are the pros and 
cons of using CF to do this instead of an LDAP server? Can anyone recommend 
a good book to learn more about using an LDAP server?


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Checking/Validating Email

2000-10-18 Thread BORKMAN Lee

Grab the JavaScript validation function from irt.org:

http://tech.irt.org/articles/js049/

Superb cross-browser routines.  Fantastic site.

Have fun,

Lee Borkman
Senior Web Development Officer
New South Wales Roads and Traffic Authority
(612) 9218 6159


-Original Message-
From: James Taavon [mailto:[EMAIL PROTECTED]]
I want to make sure that email address (after the @) is in the proper
syntax before a form is processed. 


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: disappearing form variables

2000-10-19 Thread BORKMAN Lee

Yes, perhaps.  But it's a pretty lame implementation of Regular Expressions,
missing many of the most important parts, like the ability to include the
FOUND string in the REPLACE string.

For example,
There is no easy way to turn this:
some text which might say anything
into this:
some text which might say anything

There's also no 'non-greedy' searching.

Same criticisms apply for the rereplace() functions.

For complex (ie really useful) RegExp operations, put your files on a UNIX
box and use any UNIX editor, OR get a copy of UltraEdit,  or some similar
programmers' editor.  I normally use CFStudio, but when there's some
heavy-duty replacing to do, I use UltraEdit.

Just my two-bits...

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork



-Original Message-
From: Jann VanOver [mailto:[EMAIL PROTECTED]]

Whoa there -- Studio DOES do wildcard search and replace!  It even does
(it's own version of) Regular Expressions!  Take a look at "EXTENDED" search
and replace!

> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> You might hit some includes or some cflocations that way, though. Too bad
> Studio won't do wildcard searches.


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Current URL Variable?

2000-10-19 Thread BORKMAN Lee

Are you thinking of HTTP_REFERER?

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork

-Original Message-
From: Norman Elton [mailto:[EMAIL PROTECTED]]

Isn't there a variable (CGI?) that contains the URL the visitor used to
access the current page? I looked through the CGI variables, but couldn't
find it. I know it must be very simple :)



IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Current URL Variable?

2000-10-19 Thread BORKMAN Lee

In that case, you can use HTTP_HOST, SCRIPT_NAME and QUERY_STRING to
reconstruct the current URL.  You might also find CF_TEMPLATE_PATH useful to
get the file-system path.

Does that help?

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork

-Original Message-
From: Norman Elton [mailto:[EMAIL PROTECTED]]

No, HTTP_REFERER returns the name of the page that sent the user to the
current page. I need the name of that current page. If a user visits
'http://www.mysite.com/mydir/mypage.cfm', how do I refer to that URL within
mypage.cfm?

-Original Message-----
From: BORKMAN Lee [mailto:[EMAIL PROTECTED]]
Are you thinking of HTTP_REFERER?



IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: disappearing form variables - yippee!!

2000-10-19 Thread BORKMAN Lee

Hey, my apologies to Allaire!  Yes Chris, you are ALMOST right.  CFStudio
uses ROUND brackets to group the expressions.

Is there any chance that this works with rereplace() as well?

Many thanks, many apologies.
Much embarrassment.

Lee.


-Original Message-
From: Christopher Olive, CIO [mailto:[EMAIL PROTECTED]]


actually, it does do back reference for REGXPs.  use {} to denote the
reference, and use \1...\n to reference them in your replacement string.



IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: rereplace...

2000-10-22 Thread BORKMAN Lee

yippeee!!



hmm, not sure if the backslash is necessary there, but it should work
anyway.

Let us know,
Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: wai-leng [mailto:[EMAIL PROTECTED]]


With regards to rereplace everything except 1-9 and alpha.. is it poss
to exclude for example * from that list so that it will not be replaced.





IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: checkboxes

2000-10-25 Thread BORKMAN Lee

Hey, it's that nice banker again ;-)

-Original Message-
From: Scott, Andrew [mailto:[EMAIL PROTECTED]]

You Idiot Randy! ...
regards

Andrew Scott
Senior Cold Fusion Application Developer
ANZ eCommerce Centre
* Ph 9273 0693  
* [EMAIL PROTECTED]



IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Home brew open source CFML engine. (somewhat long)

2000-10-25 Thread BORKMAN Lee

Hi Steve,

Perhaps you'd be interested in seeing my new open source STOMP engine, which
I will be publishing in the next day or two.  All the functionality of the
SecretAgents original, with none of the cost.

On the other hand, perhaps you'd be more interested in NOT seeing it. ;-)

I''l keep it to myself for now, shall I.  maybe that's best.

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Steve Nelson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 26, 2000 5:21 PM
To: CF-Talk
Subject: Re: Home brew open source CFML engine. (somewhat long)


DOH!  bye bye Allaire Stock!

Jeff, this sounds fantastic!  And I'd love to see it just a small
warning.  Allaire might not take kindly to this, I don't know if they
have any standing ground since you're actually copying their code (i'm
assuming), but they have a lot of money, so expect to get a cease &
desist order at your doorsteps.  Until then, tell us more!

Steve

Jeff Bevill wrote:
> 
> Dear CF Enthusiasts,
> 
> A few friends and I over the past 1 1/2 yrs have been working on creating
an
> Open Source CFML parser engine that is somewhat similar to the commercial
> product (CF server).  Currently, there is support for most of the
> tags/functions up to version 4.0 that don't have anything to do with
> platform dependencies (file permissions on unix - mode 777, etc).  The
> engine is very basic and pretty much lame since we have no clue what the
> hell we are doing, it's a project that started mainly for amusement at the
> time.  Although, one could actually install this software and run a pretty
> simple (very simple at this point) cfml driven web site (install requires
> someone with knowledge involving autoconf, make, gcc or MSVC) on a few
> different platforms (unix apache / win32 iis).  We have also taken a stab
at
> a CFML/HTML editor on linux using GTK+, this is also very pre-alpha.  The
> editor (especially for non windows platforms) is quite complicated and
would
> take awhile to complete due to the need for html editor/browser
> functionality (I believe the browser portion in HomeSite/CF Studio is
> implemented using the IE re-usable broswer technology, but I'm not sure).
> 
> The database connection support is extremely limited with just MySQL/plain
> file (yes it's lame) support now, but other drivers could easily be added
> since the design of the software is extremely modular (we studied PHP
engine
> src quite extensively).  Everything is driven via an abstraction API
> (database drivers, thread libraries, web server api's, etc.) modular
> interface to ease the use of porting to multiple platforms.  Most of the
> code is written in C as my C++ knowledge is very rusty, but getting
better.
> I plan on converting to C++ as this will help many security hole related
> issues (buffer overflows, type checking, etc..) come to the fore front and
> would be more object oriented.
> 
> As an intermediate user of the CFML language over the years I have had
many
> ideas and additions that I wanted to add to Cold Fusion, but I thought it
> would be more fun to learn how to develop an actual engine to test the
ideas
> first before recommending them.  I would have to say developing one of
these
> engines is not easy.  We are a year and 1/2 into it (extremely part time.
> Sometimes taking off months to do other stuff ... like make a living) and
> have probably another few years of part time development (at least) to
make
> it more feature rich/stable (unless of course this becomes a heavily
worked
> on project by many of you guru developers out there). Even so, I am
> seriously considering trashing the whole project for something else.
> Allaire is just creating a kick ass product and their customer support is
> great.  Some people ask why I am "re-inventing" the wheel.  Again, it was
> started for fun.
> 
> I guess my main reason for posting the expose of this software on the
> cf-list list is to put a 'feeler' out to see if people want an open source
> version.  We wonder if developers would actually want to spend the time
> working on it with us.  Many great innovations have came from open source
> software and it's damn fun as well.  *8-)
> 
> We haven't released the software to anyone and we're not planning on it
> until we get some legal advice and hear what people think.  We also have
no
> intentions of making Allaire lose revenue with this software.  Like I
said,
> it was just a fun and amusing project we started a year ago.  Allaire has
> also released a crippled version that has most of the functionality of the
> regular server and it is free for many OS.  Another reason why I'm
> considering trashing the project.
> 
> As you can see I'm quite paranoid about this project, heh.  If someone
from
> Allaire is reading this, what are your thoughts on this ?
> 
> Any thoughts, flames, etc would be great. Would any of you want an open
> source version ?  If so what are the legal issues involved ?  Is it
pos

RE: Limit the output of words to 300 chars

2000-10-29 Thread BORKMAN Lee

Please Andrew.  Lay off the cheap sentimentality.  All this lovin' is
getting a little mushy.

btw, your solution will get rid of the last word in the 300 characters, even
if the word was complete, which may not be exactly what you want. Sometimes
basic is not so basic.

Take a look at char 301.  If it's whitespace, or maybe even punctuation, you
can leave your 300 chars alone.  And that's just the start of the fun.

Neatest, most elegant solution to this near-but-not-quite trivial problem
wins a beautiful set of steak knives.

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Scott, Andrew [mailto:[EMAIL PROTECTED]]

Easy do a left(string,300) then reverse the string and find the first space
get the position and then do a mid on that? Some of these quesations are
very basic programming skills guys!

regards
Andrew Scott

-Original Message-
From: Nathan Stanford [mailto:[EMAIL PROTECTED]]

How can I Limit the output of words to 300 chars but don't cut off a word in
the middle?


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: CHILL! Re: Limit the output of words to 300 chars

2000-10-29 Thread BORKMAN Lee

Down here, we have what we refer to lovingly as "the Ugly Australian".  It's
a much-valued tradition that Andrew is trying his best to perpetuate.  All
power to him, I say.

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

Hey Andrew, Jump off that BIG horse... I'm SURE, and I know there are those
whom have more knowledge then yourself. But do you see them crashing you
development when you don't answer question correctly.So take a chill no
one calling you a non programmer.


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: CFLINUX

2000-10-29 Thread BORKMAN Lee

errr,  feeling more and more embarrassed to be Australian...

Sense of humour cut in last Federal Budget.  Minister For Disdain
re-appointed for another four-year-term...

Oh, for a GreenCard

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

Whoa tiger I mean "dude".
No disrespect or disregard to Australia and Aussies, but we have something
in America that we love to use.. A sense of Humor... That is
especially true at 3AM.
- Original Message -
From: Scott, Andrew <[EMAIL PROTECTED]>

> But look at the legal aspects dude. Copyright material from a company,
> throws up legal issues all over. Can I ask are you guys in the USA on
> drugs or something or is it that its just late for you guys over there:-)
>


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE:

2000-10-30 Thread BORKMAN Lee

Hi Michael,

You can just use a single template, and pass it a variable.  You can pass
the variable in a number of ways, but in the URL is easiest at first.

So you might build a template showItem.cfm

You call it like this:
http://server/cfdocs/showItem.cfm?item=3

Inside your showItem.cfm, you can use the variable, possibly like this:

SELECT * FROM ItemsTable
WHERE ItemID = #URL.item#


That's a VERY rough idea of how it all works.  It sounds like you should get
hold of one of Ben Forta's books, and I would STRONGLY suggest that you get
the new FuseBox book from secretagents.com and other places.  It explains
how to go about building applications with minimum fuss, and maximum result.
Fantastic.

Best of luck,

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Michael Wilson [mailto:[EMAIL PROTECTED]]
What I have is a list of items split into 5 categories. What I need is to be
able to create 5 separate navigation links to point to pages that list these
items. Should I create 5 different CF Templates using the Where x=x clause
and have my links point to the appropriate template or is there a (more
efficient) way to create a single template that will know which category to
return based on a URL variable or something?


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE:

2000-10-30 Thread BORKMAN Lee

Hmm. I'm not quite sure what you're asking for...

But I think you might want this:

menu.cfm
Category A
Category B
Category C
Category D

When you go to showallitems.cfm, it builds this list:

showallitems.cfm:
Item A1
Item A2
Item A3
Item A4

These lists are built from queries (is THAT the bit you want to know about?)

So the list in menu.cfm above is built from a query that SELECTs all
categories.  You then use CFLOOP or CFOUTPUT to loop through the query
results and build the categories menu.

So the code for menu.cfm looks like this:

SELECT * FROM CategoriesTable



#CategoryName#



Then the code for showallitems.cfm look like this:

SELECT * FROM ItemsTable
WHERE CategoryID=#URL.category#



#ItemName#


Then you have showitem.cfm, etc.

Is the answer in there somewhere? ;-)

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Michael Wilson [mailto:[EMAIL PROTECTED]]

I see where you are ging with this and this is what I intended to do for an
"item details page". What I need to do first is to display a single page
with all the items from a selected category in a list. Then the user can
select a particular item to get more information. I do have CFWAK 4.0 and
can't seem to find a refrence to doing exactly what I want. I did however
learn how to do the details page from Ben's book. As far a fuseBox is
concerned, I have looked into it and decided I needed to learn more CF
basics before I jumped on that. :)

How can I have a page where link "a" displays all items in category "a" and
so on for each category?



IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: " symbol Vs. "

2000-10-31 Thread BORKMAN Lee

Hi Michael,

If you REALLY want to do it this way, try:



You can convert back if you want later:


Isn't that ugly?!? If the problem is that your SQL falls over when you are
inserting quotes, then there are probably better ways of escaping the
special characters. This can depend on your flavour of SQL, though,

Have fun,
Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Michael Wilson [mailto:[EMAIL PROTECTED]]

What CF code can I add to my form field or CF Template to have all " symbols
input into that field (or any other for that matter) converted to "
automatically before it is added to the database?



IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: " symbol Vs. "

2000-11-01 Thread BORKMAN Lee

Just put it in the form-handler (action) page, immediately before you do the
INSERT or UPDATE.

-Original Message-
From: Michael Wilson [mailto:[EMAIL PROTECTED]]

Hi,

Should I use this code on the form or the action page?



I tried in on both in different places within the code to no avail... I am
lost as to where I should use this code, although I understand (now) what it
does. I need all " symbols to appear as " in my database.


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: " symbol Vs. "

2000-11-01 Thread BORKMAN Lee

I've never tried to embed the CFSET inside the CFQUERY before.  I don't know
if that would work.  What error messages are you getting?

Oh, I see you are using FORM.pattern_name AND pattern_name, ie different
scopes.  That may be the problem.

I'd do it like this:




INSERT INTO tblpatterns
(pattern_name, 
pattern_num,
pattern_price,
pattern_cat,
pattern_pic,
pattern_des)
VALUES
('#pattern_name#',
'#Form.pattern_num#',
'#Form.pattern_price#',
#Form.pattern_cat#,
'#Form.pattern_pic#',
'#Form.pattern_des#')


What fun,
Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Michael Wilson [mailto:[EMAIL PROTECTED]]

Hi,

Thanks for taking time to try and help me with this stuff.. but ( and you
knew it was coming didn't you?) I still can't get it to work correctly.

This is what I have on my action page as per your instructions.




INSERT INTO tblpatterns  (pattern_name, pattern_num, pattern_price, pattern_cat,
pattern_pic, pattern_des)
VALUES
('#Form.pattern_name#','#Form.pattern_num#','#Form.pattern_price#',#Form.pat
tern_cat#,'#Form.pattern_pic#','#Form.pattern_des#')



...


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: " symbol Vs. "

2000-11-01 Thread BORKMAN Lee

No Jaime,

this kind of replace works just fine:


I use it happily all the time.  It's as valid as 

I think Michael just has a scoping problem, mixing FORM scope with local
variables, that's all.

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Jaime Garza [mailto:[EMAIL PROTECTED]]

I have dealt with this case before.  I don't think it's the replace.  But
rather that the cfset will not replace pattern_name just like that.

Try  and then on your values instead of
'#Form.pattern_name#' use '#tmp_pattern_name#'

I hope it helps.


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: " symbol Vs. "

2000-11-01 Thread BORKMAN Lee

No flame from me!!

Yes, it can get ugly.

The best solution to Michael's original problem would have been to
explicitly state the FORM scope:

, etc.

I have spent too much time reading that piece on unmaintainable code. ;-)

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Jaime Garza [mailto:[EMAIL PROTECTED]]

I come from a C,C++ background so I usually like to keep my structures more
obvious.

the fact that #pattern_name# in cold fusion is a two step search bothers me.
It first looks for a global pattern_name and then for form.pattern_name.
Yuck!

...

This looked good to me at first, but then cf is really doing an assignment
to a global bar, not to the query's bar.  CF is not very clear on their
scoping rules.  As a rule, keep it explicit, and not mix variables as you
do.

(Here it comes the flame... I am ducking already.)

...


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



Fannie-packs? (RE: fusebox)

2000-11-07 Thread BORKMAN Lee

Hi, we in Australia might be a little puzzled by "fannie-packs".  Perhaps
you are not aware that a "fanny" is something completely different in other
parts of the world.  After all, this is an international list!!!

-Original Message-
From: William J Wheatley [mailto:[EMAIL PROTECTED]]

... people who used to walk around with bright PINK fanny packs, now thats a
fad, ...


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: fusebox

2000-11-07 Thread BORKMAN Lee

Hi all,

I use FuseBox development for a huge government organization.  I love it to
death, but the idea is to take from it what works for you.  

For me, the most useful thing about FuseBox is the standardized break-up of
CF code into separate small files, with naming conventions to take away
guess-work.  This eases the task of separating logic from presentation,
facilitates multi-person development, and makes code re-use (at least within
a single application) much more natural.

There are other FuseBox-y things that I DO NOT do, like having separate URL_
files for handling redirections.  That just seems like a lot of work for
only an ideological gain.

As for server overhead, I believe that extra CPU grunt, and extra RAM is a
whole lot cheaper than developer time, so I try to optimize code and
methodolgy for ease of development and maintenance, before execution
efficiency.  Otherwise I'd be buried in assembler.  FuseBox, in my
experience, definitely makes life easier for developer and maintainer.
There's a slight learning curve, but once you understand what's going on,
life suddenly becomes much easier, and those apps just get stamped out of
the cookie-cutter.

My advice for those who wish to explore FuseBox (which has application MUCH
wider than just CF) is to join the FuseBox mailing list (go to
houseoffusion.com), to read the powerPoint presentations on FuseBox.org, to
download the code for the FuseBox.org site and pull it apart, and to grab
the excellent FuseBox book from secretagents.com and elsewhere.

As for the person who said "if it doesn't make things easier, then you're
not doing it right", I think we can live without those kinds of Emperor's
New Clothes comments.  I'm sure that some people already have their own
fabulous methodologies worked out, which may be even better than FuseBox.
If that's right, then I hope they will let us all in on it.  One thing you
can say for Steve Nelson and the other FuseBox pioneers is that they have
helped a lot of CF developers do their jobs a whole lot better.

God bless us all,
Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Fannie-packs? (RE: fusebox)

2000-11-07 Thread BORKMAN Lee

Thanks Peter,

Actually, when you live in foreign parts, you get used to switching back and
forth between English and American. ;-)

I'm well aware what an American fanny is.  As for an Australian fanny, I
can't really say, but I can tell you that men don't have 'em.

thanks again,
Lee.
ps., there's something about the name LiquidStreaming that bothers me...

-Original Message-
From: Peter Theobald [mailto:[EMAIL PROTECTED]]
In the USA it's your rear-end. So a fanny-pack is a small "backpack" or
"rucksack" that you wear on a belt that hangs off your "fanny". What is a
"fanny" down under?



IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



OT!!! RE: Fannie-packs? (RE: fusebox)

2000-11-07 Thread BORKMAN Lee

Oh m'God!  that's let the "cat" out of the bag.

-Original Message-
From: Peter Alexandrou [mailto:[EMAIL PROTECTED]]

Round these parts a "fanny" is slang for a woman's frontal privates :-)


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: fusebox

2000-11-08 Thread BORKMAN Lee

Thanks for the detail, Karl.

I must disagree with your basic point, though.  You say that "it is a
mistake to put the cart before the horse and apply a single design
methodology to every application one builds".  If the alternative is to
develop a new strategy tailored to each individual project, then that sounds
like bad news.

I'm the first to admit that FuseBox is not a perfect methodology for every
occasion, but I would always prefer to adapt a single methodology, ANY
single methodlogy, always provided that it is 'sufficiently flexible' and
not too cumbersome.  FuseBox is the only candidate that I have yet seen for
a CF methodology/architecture that satisifies my minimal requirements of
usability and flexibility, so I am very happy to use it.

In short, I disagree with your list of priorities:
1: application performance
2: maintainability
3: cost of development

I ALWAYS put ease of development and maintainability BEFORE application
performance, and my clients would be horrified if I did otherwise.

Performance issues are usually most economically addressed by enhancing your
infrastructure (CPU power, RAM, bandwidth), not by squeezing millisecond
gains from CF file accesses.  Developer time might cost between $100 and
$300 per hour.  For one hour of developer time, then, I can double the RAM
on my production server, and achieve substantial performance gains.

To summarize, I PREFER to squeeze everything into one
architecture/methodology, even though that methodology is not perfect.  This
makes our applications maintainable, enhancable, robust, understandable, and
inexpensive.  On the odd occasion that performance criteria are so rigorous
that our standard methodology can't handle it, then AND ONLY THEN do we
modify it.  Re-inventing the wheel each and every time is bad for everyone,
devlopers and clients included.

As for your detailed criticisms.  Breaking your code into pieces BEFORE you
know you are going to re-use the pieces is one of the GREAT benefits of
FuseBox.  It's incredible how much you can end up re-using, when the pieces
are already there.  If you wait until an opportunity to re-use becomes
obvious before breaking up the code, then developers are discouraged from
re-using and they might decide it's easier to cut and paste.

I really don't mind much if people want to use application.cfm instead of
app_globals.cfm.  I use application.cfm just to check that all requests are
going through index.cfm.  This also prevents the server from searching
endlessly up the tree.

So, I don't think FuseBox is the "methodology du jour".  In fact, the only
credible alternative architecture/methodology I've seen is CFOBJECTS, which
is even MORE heavy on file accesses, and has a much steeper learning curve.

Anyway everybody, if you haven't tried FuseBox, give it a go, and don't be
put off.  It's true that some people don't like it.  For the life of me,
though, I can't see why.

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork
 

-Original Message-
From: Karl Simanonok [mailto:[EMAIL PROTECTED]]

Your questions deserve a much more thorough analysis and response than I
have time available for, but I'll try to hit some of the high points.
...


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Fannie-packs? (RE: fusebox)

2000-11-09 Thread BORKMAN Lee

Somehow, I can't help feeling that this is all my fault.

btw, in New South Wales, the OLYPMIC state, we call them "bum bags", NEVER
bum packs.  I guess in America that a bum bag would be something carried by
a "bag lady".  Right?

LBB.


-Original Message-
From: Peter Theobald [mailto:[EMAIL PROTECTED]]

North West and South West? We call those parts Left Cheek and Right Cheek.
:-)


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Hello. I'm looking for talented Photojournalists and Videographers. The event will be in

2000-11-09 Thread BORKMAN Lee

I like her.  Puts a smile in my day.

-Original Message-
From: Luke Kearney [mailto:[EMAIL PROTECTED]]

Will You stop posting to this list Please.

-Original Message-

...Hello. I'm looking for talented Photojournalists and Videographers. ...


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: fusebox

2000-11-09 Thread BORKMAN Lee

Hi Dave,

Of course you are right.  If you have excellent methodologies,
architectures, and standards in place already, then maybe you have no use
for FuseBox.  FuseBox, as you point out, is neither a complete methodology,
nor a complete architecture, nor a complete standard.  It is just a bunch of
techniques that has been hammered out by a large community of CF developers,
who want more people to keep adding their help and suggestions.  It will
obviously offer most benefit to people whose code is all over the place, and
basically have no idea, but I can assure you that it helps out CF_GODs like
me too ;-)

FuseBox includes:
1: Suggestions about methodology
2: Suggestions about CF architecture (not usually about data design, etc)
3: Suggestions about roughly-optimal code 'factoring' (it's definitely NOT
about breaking code into meaningless 'atomic' pieces)
4: Suggestions about making mundane coding decisions (like file naming)
basically automatic,
5: Suggestions for engaging your expertise with the INTERESTING parts of the
problem
6: etc

By virtue of its large user community, its open source ethos, and the kind
of debate we are now engaged in, FuseBox gets better and better, and has now
reached a substantial level of maturity.

Nobody is suggesting that FuseBox should or could replace any organization's
existing Software Engineering methodologies.  But hey, it doesn't cost a
single cent, so you can happily take on board 10% of the suggestions and
throw out the rest, with no loss to anyone.  I haven't yet seen a high-level
methodology that's incompatible with FuseBox.

The basic point is that FuseBox works.  Many, many developers can testify to
that.  It is not, however, perfect, nor does anyone claim that it is.  It's
just a whole bunch of people working together, trying to do things in
roughly the same way, resulting in a consistency of code that benefits
EVERYONE, and agreeing to help improve the way we are all doing things.

So no matter what proportion of the FuseBox techniques you decide to use, it
helps you and us and all CF developers, if you come along WITH us, and help
fix up the things you don't like.  Believe me, there is plenty of heated
debate going on all the time over on the FuseBox list.

See you there, neh?

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork



IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Hello. I'm looking for talented Photojournalists and Videographers. The event will be in

2000-11-09 Thread BORKMAN Lee

Look out, Peter.  She's from Neo-Tech.  Aren't they the creators of
ZPFCSGRRLAAGLMAB?:

ZonPower from CyberSpace
Guarantees
Riches
Romantic Love
and a god-like
Mind and Body

In other words, she has powerful friends.  

(ooh, spooky)


-Original Message-
From: Peter Theobald [mailto:[EMAIL PROTECTED]]

See Patti, the point of sending bulk mail is to send lots of emails TO
DIFFERENT PEOPLE, not all to the same address.
It's rude even if you do it right, which you didn't.


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: fusebox

2000-11-12 Thread BORKMAN Lee

Wow Jon!

I don't want to be unkind, but if this message says what I think it does,
it's one of the most wrong-headed things I've ever read.

You are basically arguing that it's MY fault if I don't do things the way
that YOU do them, because if you ever have to work on my code, you won't be
familiar with it's structure; and that MY methodology is therefore somehow
flawed.  In short, your are arguging against ANY methodology, except the one
you already happen to use.

Look, if you want to AVOID this kind of inconvenience when shifting from
your methodology to another one, then wouldn't it be a good idea to adopt a
methodology that is actually being used by a large number of people?  That
way you MINIMIZE your potential confusion.

You have to wonder about the kind of developer who does not "care to learn
Fusebox", when FuseBox is given so much praise by so many.  I header about
it.  I made the time, took a good look, and now I do things better because
of it.  When you (or ANYONE else) tell me about the even better way that you
use, then I'll make the time and learn about that too, then I'll do things
even better.

Anyway, maybe you were kidding about your WHOLE message.
(and no, I don't get your point at all, sorry;-])

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Jon Hall [mailto:[EMAIL PROTECTED]]

True on all of the above...but

> ... trying to do things in
> roughly the same way, resulting in a consistency of code that benefits
> EVERYONE, and agreeing to help improve the way we are all doing things.
>

Everyone except those who dont have time to learn or care to learn Fusebox.
When the day comes that someone dumps a site on me that was coded in
Fusebox, and this is my main beef with the whole deal.
It's going to take me LONGER to learn Fusebox and then go about adding the
lastest widget!
I know it's going to happen someday..and I am going to be royally cheesed
off at you personally Lee when that day comes!

just kidding man...but you get my point?


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Dump Entire Array Contents?

2000-11-14 Thread BORKMAN Lee

"Who are these stooges you speak of?"
"They're a comedy team."
"Tell me about them--everything."

Fernando, take a look at www.allare.com/developer/gallery

That should get you there.

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Parra, Fernando [mailto:[EMAIL PROTECTED]]

How do you download this custom tag, or Where is this Developer's gallery?


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: RegEx help PLEASE hurry...

2000-11-15 Thread BORKMAN Lee

Try this:

Find:
(.) 
there's a space on the end of that!!, like "(.) "

Replace with:
\1

Make sure you check the Regular Expressions checkbox.

Best of luck,
Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork



IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: [RegEx help PLEASE hurry...]

2000-11-15 Thread BORKMAN Lee

Guys,

It looks like my previous message didn't make it.

JP was looking for a STUDIO solution.  Here it is.

Use Extended Replace.

Find:
"(.) "  without the quotes

Replace with:
\1

Don't forget to check the Regular Expressions checkbox.

have fun,
Lee Borkman
Senior Web Development Officer
New South Wales Roads and Traffic Authority
(612) 9218 6159




IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: rounding to first decimal

2000-11-16 Thread BORKMAN Lee

Multiply by 10
Round to integer
Divide by 10



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 17, 2000 4:18 AM
To: CF-Talk
Subject: rounding to first decimal


I thought this would be simple. How can round a long integer eg: 2.146752 to
the first decimal point?

Thanks,

Rick



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
https://secure.houseoffusion.com

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: append variable to a variable??

2000-11-16 Thread BORKMAN Lee

I disagree.

Why is it "better"?  SetVariable is just another redundant function to
learn, another syntax to look up.  I believe there actually IS some
circumstance where you MUST use it, but I just can't recall when.

 does exactly what you would expect and
hope.  It's simple (as in Occam's Razor simple), elegant and effective.  Why
do string concatenation using ampersands instead of just embedding variables
inside your strings?  Is it a 'classier' technique, perhaps?

As with most languages, you only need to use 50% (or even less) of a CF's
functions to do 99% of the stuff that you would ever want to do.
Coincidentally, using just that 50% makes your code easier to work with for
other average mortals.

Everybody wins when you stick to basics!!

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: JustinMacCarthy [mailto:[EMAIL PROTECTED]]
Using SetVariable is better





IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
https://secure.houseoffusion.com

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFLoop problem

2000-11-16 Thread BORKMAN Lee

Michael,

Without REALLY understanding what you're doing here, I'd say that you don't
want to use #Lang.Abrev#, but just #Abrev#.  I'd expect #Lang.Abrev# to
remain constant, despite the CFLOOP.

Or maybe I'm just having a bad day...
Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Michael Gagnon [mailto:[EMAIL PROTECTED]]
I get the same answers on each line.



 


#txt#





IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
https://secure.houseoffusion.com

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: rounding to first decimal

2000-11-16 Thread BORKMAN Lee

And this helps...err. ...how???

-Original Message-
From: Kevin Schmidt [mailto:[EMAIL PROTECTED]]
Subject: Re: rounding to first decimal

You could use DecimalFormat(), which automatically rounds the number to 2
decimal places! :-)


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
https://secure.houseoffusion.com

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Certified ColdFusion Developers

2000-11-16 Thread BORKMAN Lee

I took it too, and it thinks I'm a CF Master, so I guess it must be good.
;-)

-Original Message-
From: Lee Surma [mailto:[EMAIL PROTECTED]]

>Just curious how the Brainbench Certification is looked at, is this a
>respected certification?

I just took the test and it seemed very professional and comprehensive. I'm
impressed.



IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
https://secure.houseoffusion.com

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: An embarrassing SQL query question

2000-11-16 Thread BORKMAN Lee

Britta,
You'll have to do some processing on PriceRange to turn it into:

(value > x) AND (value < y),

or into:
value BETWEEN x and y

You can't just plug "1 < 50" into it.  What does "1 < 50" mean, anyway?? ;-)

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Britta Wingenroth (West Coast Web)


I have a database of products.  I need to submit a value ( a pricerange) to
the query that will return only the items in that range.

I have 
which will be changed depending on what value is submitted by the user, (eg.
51-100).

The problem is that

SELECT ID, ProductName,  Price, Photo
FROM Products
WHERE (Price <50)

works, but

SELECT ID, ProductName,  Price, Photo
FROM Products
WHERE (Price = #pricerange#)

returns no records at all.



IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
https://secure.houseoffusion.com

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: javascript to submit a form

2000-11-16 Thread BORKMAN Lee

Nicest is myForm.submit(), where myForm is the form's NAME (set in the FORM
tag).

There are many other ways, though.  No room in this margin to write the
proof...

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Can somebody help me with the syntax to submit a form with an onclick even?


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
https://secure.houseoffusion.com

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: append variable to a variable??

2000-11-16 Thread BORKMAN Lee

Yes, I believe that IncrementValue IS faster, but I'm not going to use it
except where I need to squeeze the last millisecond from a heavily-used
piece of code.

Comprehensibility + readabaility = maintainability + reliabaility, or
something like that.

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Rob Keniger [mailto:[EMAIL PROTECTED]]


I myself have wondered about why many seemingly redundant functions exist.
An example of this is incrementvalue(). Why not just value + 1? Is it faster
because it just uses a single register increment instead of having to work
out a proper addition?

Are the other functions like this there because they increase performance?



IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
https://secure.houseoffusion.com

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: page breaks

2000-11-22 Thread BORKMAN Lee

Nick,
As far as I know, you can do this with StyleSheets for IE, but not for
Netscape.

Define a style like this:

P.page {page-break-after:always}

Then use  to force the break.

Anyone have any better way?

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork



-Original Message-
From: Nick Call [mailto:[EMAIL PROTECTED]]
Help
I know we went over this a while back, but humor me again, please.
I need to embed a page break in some HTML code to force the printer to "page
break".


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Opinions on Paint/Design programs, for graphics

2000-11-23 Thread BORKMAN Lee

I'd say that MacroMedia FireWorks is the best for Web work, for which it has
been specifially designed.  PaintShop Pro is great and cheap, but just
doesn't measure up to FireWorks, especially when you are trying to render
text.

FW has superb tools for optimiziing Web images, and the scripting API is
EXCELLENT if you want to generate thousands of text-based images, possibly
based on database data.  I do this all the time for generating navigation
images for our HUGE intranet.

Of course, Adobe has great stuff too (eg, ImageReady), and there is always
the excellent free GIMP, which is now available for Windows.

PaintShop Pro is an excellent learning tool, but eventually you will want to
step up.

Lee Borkman
Senior Web Development Officer
New South Wales Roads and Traffic Authority
(612) 9218 6159




-Original Message-
From: Michael She [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 24, 2000 10:53 AM
To: CF-Talk
Subject: Re: Opinions on Paint/Design programs, for graphics


Paintshop pro from www.jasc.com is pretty good.


At 08:32 AM 11/23/00 -0500, you wrote:

> Just wanted some opinions as to what has some power but you dont
>have to be einstein in order to figure it out on Graphics programs /
>Paint Design programs, for creating extras for web sites, like logos,
>and menus and such.
>
>Thanks and Happy Holidays
>
>~~
>Structure your ColdFusion code with Fusebox. Get the official book at 
>http://www.fusionauthority.com/bkinfo.cfm
>
>Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
>Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>
>-=-=-
>SBG-Priority: 4 (Low) http://www.internz.com/SpamBeGone/

-- 
Michael She
I m a g i n e   C o m m u n i c a t i o n s
Company E-mail: [EMAIL PROTECTED]
Personal E-mail: [EMAIL PROTECTED]
ICQ UIN: #243466
Personal Homepage: http://www.michaelshe.com (Under Construction)
Imagine Communications: http://www.imagineer.net
PGP Fingerprint: 9A24 1DA9 39B8 0A0C C5ED 6E5D 45E9 075A 51CD 66A1

~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Occam's Razor

2000-11-23 Thread BORKMAN Lee

Hi Dave,

I thought my email hadn't made it through!

Actually, I was being somewhat facetious.  But I do completely DISagree with
your contention that Occam's Razor is a merely explanatory principle.
Perhaps that was Occam's intention (perhaps), but that does not have to
prevent us from discovering further applications.  Intelligence is largely
about finding patterns and analogies from one field to the next, after all.
Are you truly suggesting that, all other things being equal, the simplest
way is not to be preferred??

I'll also be real picky, and point out that ethics certainly IS a branch of
axiology, actually one of the two main branches, the other being aesthetics.
Hardly anyone talks about axiology anymore, a little like metaphysics, but
if you've ever read Zen and the Art of MotorCycle Maintenance, then that's
really axiology, pure and simple.  And you weren't aware that there is "an
area of study dedicated to
programming aesthetics"?  It's called philosophy ;-)  For every endeavour X
you can name, there's a Philosophy of X.  It's the first and last
discipline.  That's why you majored in it, right?

Harking back to your original response, you say that programmers use
complexity to make things simple for their clients, or something along those
lines.  In this, I couldn't disagree more.  Surely programmers get around
complexity by breaking it down into the simple.  I don't USE complexity at
all - it's too difficult for me.  I use the simple, in order to achieve the
complex.

Why is it that so many liberal arts people end up building web applications?
Talk soon, Dave,
Lee.


-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
zor

...
It was hardly my intent to downplay either the value of Occam's Razor, or
anyone's education. However, you've mentioned several points with which I
disagree, and in William's defense, he might very well be the first to warn
against using his razor inappropriately. So, here goes.

First, I wasn't aware that there was an area of study dedicated to
programming aesthetics. I don't get out enough. Still, in a very immature
field like programming - in which first-order principles haven't been fully
agreed upon, as far as I can tell - it seems a bit premature to discuss
aesthetics. I wasn't much into aesthetics anyway, but ethics, my personal
area of interest, does fall within axiology, and we managed to get by
without too much simplicity! In fact, I can't recall once the advocacy of a
particular ethical system based on its simplicity.
...


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Happy Turkey ... turkeys

2000-11-23 Thread BORKMAN Lee

Yeah thanks Steve,

I just can't wait for those U.S holidays to roll around.  They sure do light
up my life.  I am particularly fond of your Queen's Birthday Weekend, and of
Elvis Presley Day.

You guys don't REALLY eat turkey, do you?  With raspberry jam on it?  Is
that right?  Just more evidence that it's we Australians who have the most
to Give Thanks for ;-)

Enjoy it, you all.
Lee.


-Original Message-
From: Stephen M Aylor [mailto:[EMAIL PROTECTED]]

Hey you guys and gals cf'n today - go get some bird and punkin pie - chill
man! :-)

Well hope all are enjoying the US Holiday



IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Happy Turkey ... turkeys

2000-11-23 Thread BORKMAN Lee

Steve, you've obviously never tasted a McYellowDog (they call it a Royale in
Paris, right?).  Some say that we fatten the dingoes up on babies, but the
real Aussie secret is the Special Sauce and the pickle.  I bet you don't
have THEM in the US.

-Original Message-
From: Stephen M Aylor [mailto:[EMAIL PROTECTED]]

What's wrong with turkey?  Beats the hell outta Dingo Burgers :-)



IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Happy Turkey ... turkeys

2000-11-23 Thread BORKMAN Lee

I'd just like to say a big down-under "G'day" to all of my good friends just
up North of Australia.

I think there was a line somewhere back there behind you, Steve, and maybe
you should not have strayed across it.


-Original Message-
From: Stephen M Aylor [mailto:[EMAIL PROTECTED]]

... oddly enough, right here in sunny southern california, not 25 miles
from here - there is a town called Garden Grove - where the freeway exit
signs to get to it actually read "Little Saigon" next 3 exits.

Ya know ... I never have heard a dog bark while ive been there  :-)

They had a beef dish on one of the menus at a Chineese restaurant I was at 3
days ago - I was LMAO - cuz the description on the menu went something like
" with a Dark Brown suace glaze - a delicacy that defies description"

m Yummy  Sauted Rover!



IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Modeling tools

2000-11-20 Thread BORKMAN Lee

Hi Stas,

Have a look at UMLstudio at Pragsoft.com

It's great, especially the translated-from-French instructions ;-).  Cheap,
flexible, scriptable, etc.

best of luck,
Leeb.




IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: ListContains wierdness - why?

2000-12-03 Thread BORKMAN Lee

No, this isn't a bug.

According to the documentation, ListContains returns the index of the first
list element THAT CONTAINS THE SPECIFIED SUBSTRING.

Your code returns true because the substring "1" is contained in the list
element "10".

So it doesn't really do what you were thinking.

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Scott, Andrew [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 04, 2000 11:24 AM
To: CF-Talk
Subject: RE: ListContains wierdness - why?


Hmmm, I think you found a bug!

regards

Andrew Scott
Senior Cold Fusion Application Developer
ANZ eCommerce Centre
* Ph 9273 0693  
* [EMAIL PROTECTED]


-Original Message-
From: Park, Simon [mailto:[EMAIL PROTECTED]]
Sent: 01 December 2000 06:47
To: CF-Talk
Subject: ListContains wierdness - why?


Why does the following always return TRUE?



TRUE

FALSE


Do I need to put the values into an array?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Simon Park  Computer Systems Management, Inc.
Ph: 703-823-4300 x119   205 South Whiting Street #201
fax: 703-823-4301   Alexandria, VA  22304
 http://www.csmi.com
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Another debate

2000-12-13 Thread BORKMAN Lee

Well, you just have to love those "mute points".

Actually, my experience is that PHP is not normally an option in the
corporate IT department, due to the low cost and (perceived) support
problems.

Still, it all goes down well on your CV.

best of luck,
Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork



From: Kelly Shepard [mailto:[EMAIL PROTECTED]]


The new boss has arrived in my department and of course he wants everyone to
switch from the awesome and all mighty cold fusion to  PHP. 

Here is a glimpse into his last email:

"It could be argued that both technologies have their strengths and
weaknesses. However, in the corporate IT department, CF is usually not an
option due to cost and security problems. 


The need to deliberate the issue further is a mute point."




IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: division

2000-12-13 Thread BORKMAN Lee

Honestly, I can't imagine what it might mean outside Australia, but down
here it's very bad manners to "point your slash" the wrong way (and very
messy).

(Sorry about that)
Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

Ok. I'm a dumb @#$!. I just needed to point my slash the right way, /, not
\. HeHe! So when you guys get this in 2 hours or so, excuse my thickness.

Rick


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: division

2000-12-13 Thread BORKMAN Lee

Hey, are my messages getting through to you?  I have my doubts.

-Original Message-
From: BORKMAN Lee 


Honestly, I can't imagine what it might mean outside Australia, but down
here it's very bad manners to "point your slash" the wrong way (and very
messy).

(Sorry about that)
Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

Ok. I'm a dumb @#$!. I just needed to point my slash the right way, /, not
\. HeHe! So when you guys get this in 2 hours or so, excuse my thickness.

Rick


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFIF and CFOUTPUT

2000-12-13 Thread BORKMAN Lee

Looks like an ugly framing error.  I think you might have been able to do
this before CF4.

The problem is that you have overlapping programming blocks:


 
  
   

Now there are times when you might like to do that, but it's usually not to
be encouraged.

So try thinking of a way to enclose the entire  block
inside the  block.

Best of luck,
Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Picker, Mark P [mailto:[EMAIL PROTECTED]]

I have a problem with including a CFOUTPUT tag in a CFIF.





Regardless of what "groupsection" is set to, the  tag is processed
in the page and of then getting errors when compiling.  Is there a trick to
getting CF to not see the  when groupsection is set to anything
other than off?


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: more than one output

2000-12-18 Thread BORKMAN Lee

Mark,

This form of CFOUTPUT () is basically a LOOP.
It executes once for every row in the QUERY's result-set.

The easiest solution is probably just to shift the "No Votes Have Been 
Cast" outside of that loop.  Maybe something like this:


No Votes Have Been Cast.

  

#Answer#: #Percent#%
  


Does that work?  Hope so.

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Mark Smeets [mailto:[EMAIL PROTECTED]]



Let's say no one votes, I want to display a message that reads "No one has 
voted in this poll" or something to that extent, now, I have this all in 1 
cfoutput tag, and under that I've basically dumped all my "stuff".

The problem is that, I get the same message (no one has voted in this poll) 
appearing for the number of vote choices. So if you can choose 3 options to 
vote for, you'll get the message 3 times.

Is there a way to only print that message once within that output query? 
I'll include the query and the code for the hell of it.



SELECT Q.Question, SUM(A.Votes) AS TotalVotes
FROM Question Q INNER JOIN Answer A ON Q.QuestionID = A.QuestionID
WHERE Q.QuestionID = #QuestionID#
GROUP BY Q.Question





No Votes Have Been 
Cast.#Answer#: #Percent#%












IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF regular expressions buggy?

2000-12-20 Thread BORKMAN Lee

Hi Ryan,

This code looks doubtful to me, for a few reasons:
(^[[:alnum:]]([._-]?[[:alnum:]]+)*+\@[[:alnum:]]+([.-]?[[:alnum:]]+)*\.[[:al
pha:]]{1,4}$)
 ^ no multipler for the opening character?  Does that mean only
a single alnum allowed before punctuation?  I would expect a "+" inserted
here.
   ^ what's the significance of the "?".  I'm not familiar
with "?" as a multiplier.  Looks like it should be left out.
  ^ what's the "+" for?  What is is
modifying?  Could be left out?
  ^ and THIS question
mark?

On the other hand, I've never had much luck trying to understand other
people's REs, so I may be talking garbage.  Anyone who can explain this RE
to me, please feel free!!

Anyway, none of that would explain why it hangs.

So, wasn't that a lot of help ;-)

Let us know what you find,
best of luck,

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Ryan [mailto:[EMAIL PROTECTED]]



Does this code look OK, or is there a variant of it I could try that maybe
won't be buggy? My next option is to just do the validation piece by piece:
find the last ., make sure there are x chars after it, make sure it only has
one @ sign, no spaces or other ilegal chars, etc etc.


  Invalid!




IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Fusebox

2000-12-20 Thread BORKMAN Lee

In my days at university, we were told:
"All sufficiently powerful programming languages are equivalent".

My version goes like this:
"All sufficiently powerful programming methodologies are equivalent".

In other words, it's not ENORMOUSLY important which methodology you use.
It's mostly just important that you DO use one.

FuseBox seems to fit the bill.  It is sufficiently powerful (ie anything you
can do in CF, you can do in FuseBox), and it doesn't put up many obstacles
in the developer's way.

Even more important than that, it seems to be the FIRST openly documented,
freely available, no-charge, methodology/architecture/philosophy described
for the CF context.  I'm sure it's not perfect, but I AM sure that if we ALL
use it, then we'll ALL be much better off.  If I go off and develop my own
fantastic methods, then i'm ADDING to the CONFUSION.  Much better that I
throw my lot in with FuseBox, and work on improving it for everybody.

Surely one universally-used methodology, even though imperfect, is better
than ten thousand superior methodologies.

bye now,
Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Fusebox book

2000-12-20 Thread BORKMAN Lee

It's VERY good.  A wonderful primer on practical CF development.  The eBook
is a steal, but having it on paper would surely be worth the trees!!

have fun,


Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-Original Message-
From: Michael She [mailto:[EMAIL PROTECTED]]

Anyone read the fusebox book?  Is it worth buying?  The download PDF 
version seems pretty cheap so I'm tempted to buy it to give myself a crash 
course on Fusebox.


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: append variable to a variable??

2000-12-21 Thread BORKMAN Lee



It's beautiful.

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Regular Expression in CF

2000-12-28 Thread BORKMAN Lee

Hi Brandon,

BEWARE!!!

A RegExp of this kind, .*, will pick up everything from
the start of your FIRST , through to the close of your LAST