RE: String manipulation

2000-12-13 Thread Chasmo

Martin wrote:

 ...so when in the loop how do I parse the current line..
 
 eg..check the current line for certain characters, and if it passes the 
 check I copy the string to a new entry in an array.

Try this within the loop Steve suggested:

cfif Find(idx, "some string") neq 0
cfset some_array[ArrayLen(some_array)+1][1] = idx
/cfif

That's assuming you want to capture the whole line.

Also note that a structure might be an easier solution than an array 
unless you need the multi-dimensionality. If you use an array, don't 
forget to define it prior to the loop with ArrayNew(x) where x is the 
number of required dimensions. Valid numbers are 1-3.

Charles
[EMAIL PROTECTED]


~~
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



Server problem

2000-12-13 Thread ramesh d

Hi

I created one file which generates 200 Purchase orders
and sends to database. 
these purchase orders actually Xml Packets(after
parsing only we r sending data to db)

So when i execute related to this file i am getting
below errors.

Any body ware abot TID s or Window NT 232 errors.

Is there any problem in server configurations or need
to change resources of server?

i would be appreciate if any suggestions.

Thanx in advance
Ramesh


"Error","TID=149","12/13/00","12:25:05","Error number
232 occurred while attempting to write the reply to
the web server."
"Error","TID=149","12/13/00","12:25:05","Windows NT
error number 232 occurred."



"Error","TID=256","12/13/00","13:57:14","Error number
1450 occurred while attempting to write the reply to
the web server."
"Error","TID=256","12/13/00","13:57:14","Windows NT
error number 1450 occurred."
~~
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: Webmonkey Cart - anyone modified it?

2000-12-13 Thread Nick Betts

I have modified the cart.   My main modification was to allow for different
sizes.   This mainly involved changing the structKey in addItem.cfm.   I too
may have to calculate shipping based on weight so would be eager to hear if
anyone has done this with the webmonkey code.

Nick.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 12 December 2000 20:50
To: CF-Talk
Subject: Webmonkey Cart - anyone modified it?


An old client of mine has asked me to add some functionality to a shopping
cart he has had done, it appears the people who did it used the example
files from Webmonkeys CF Shopping cart tutorial with some modification to
use worldpay.

The requested functionality is to calculate shipping using UPS and the total
weight of all items ordered (UK based site by the way).

I was wondering if anyone had done anything similar or had any pointers?

TIA
~~
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: Webmonkey Cart - anyone modified it?

2000-12-13 Thread Chasmo

I've seen custom tags that will do ship/weight calculations for 
FedEx, though you probably have to either maintain a DB with 
current rates or use some "get" process to fetch the current rate. 
There may be something available for UPS too.

Charles
[EMAIL PROTECTED]

 I have modified the cart.   My main modification was to allow for different
 sizes.   This mainly involved changing the structKey in addItem.cfm.   I too
 may have to calculate shipping based on weight so would be eager to hear if
 anyone has done this with the webmonkey code.
 
 Nick.
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: 12 December 2000 20:50
 To: CF-Talk
 Subject: Webmonkey Cart - anyone modified it?
 
 
 An old client of mine has asked me to add some functionality to a shopping
 cart he has had done, it appears the people who did it used the example
 files from Webmonkeys CF Shopping cart tutorial with some modification to
 use worldpay.
 
 The requested functionality is to calculate shipping using UPS and the total
 weight of all items ordered (UK based site by the way).
 
 I was wondering if anyone had done anything similar or had any pointers?
 
 TIA

~~
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



Coldfusion - 3-tier Web Application ? Possible?

2000-12-13 Thread Roger Lim

Hi,

I realised that ColdFusion is allowed to make use of CFOBJECT to call EJB
(Enterprise JavaBean) methods and also it's able to use XML via WDDX.

I was just wondering, is it possible that we use ColdFusion to create a
3-tier Web Application whereby we have EJB to take care of the business
logic (Business Tier) and ColdFusion coding to take care of the layout and
presentation of the web pages ?

thks

roger


~~
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



CFfile read

2000-12-13 Thread han

hi.. i'm trying to use CFFile READ to get a list of info.. and then insert them into 
database. anyone try it b4?

i tried doing it but hav error... coz when i append list to array.. it cant recognise 
a new line... so.. it append the last field of line 1 with 1st field of line 2 as 
one...

eg of list-- read.txt
"name1", "phone", "address"
"name2, "phone", "address"
"name3", "phone", "address"
"name4, "phone", "address"

heres my codes:

CFFILE ACTION="Read" FILE="user.txt" VARIABLE="Message"

CFSET myArrayList = ListToArray(Message,",")

body
cfoutput

cfloop index="myloop" from="1" to="#ArrayLen(myArrayList)#" step="3"
  #myArrayList[myloop]#
  #myArrayList[myloop+1]#
  #myArrayList[myloop+2]#
  br 
/cfloop 
/cfoutput

anyway i can solve this prob? 
or is there a better way i can insert to database?

cheers
han


~~
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: Webmonkey Cart - anyone modified it?

2000-12-13 Thread Tristram Charnley

I've modified this code quite extensively adding to the structures
for sizes, options, colour etc, and replacing some of the cfinserts
with cfqueries. You could check out Ben Forta's CF_UPSPrice tag which
would be easy to integrate.

Tristram Charnley
_
e-mail:  [EMAIL PROTECTED]




 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: 12 December 2000 20:50
 To: CF-Talk
 Subject: Webmonkey Cart - anyone modified it?
 
 
 An old client of mine has asked me to add some functionality 
 to a shopping
 cart he has had done, it appears the people who did it used 
 the example
 files from Webmonkeys CF Shopping cart tutorial with some 
 modification to
 use worldpay.
 
 The requested functionality is to calculate shipping using 
 UPS and the total
 weight of all items ordered (UK based site by the way).
 
 I was wondering if anyone had done anything similar or had 
 any pointers?
 
 TIA
 
 
 

~~
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: Server problem

2000-12-13 Thread Percy E Perez

Ramesh,

I lookup these error messages with net helpmsg 232 and 1450 and these what I get:

H:\net helpmsg 232

The pipe is being closed.


H:\net helpmsg 1450

Insufficient system resources exist to complete the requested service.

Unfortunately I am not familiar with TIDs.  I hope this helps,

Percy E Perez



 -Original Message-
 From: ramesh d [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 13, 2000 3:45 AM
 To: CF-Talk
 Subject: Server problem
 
 
 Hi
 
 I created one file which generates 200 Purchase orders
 and sends to database. 
 these purchase orders actually Xml Packets(after
 parsing only we r sending data to db)
 
 So when i execute related to this file i am getting
 below errors.
 
 Any body ware abot TID s or Window NT 232 errors.
 
 Is there any problem in server configurations or need
 to change resources of server?
 
 We are using 256MB ram only in testing server.
 Is there any cause of this problem.
 i would be appreciate if any suggestions.
 
 Thanx in advance
 Ramesh
 
 
 "Error","TID=149","12/13/00","12:25:05","Error number
 232 occurred while attempting to write the reply to
 the web server."
 "Error","TID=149","12/13/00","12:25:05","Windows NT
 error number 232 occurred."
 
 
 
 "Error","TID=256","12/13/00","13:57:14","Error number
 1450 occurred while attempting to write the reply to
 the web server."
 "Error","TID=256","12/13/00","13:57:14","Windows NT
 error number 1450 occurred."

~~
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: CGI.HTTP variables.....

2000-12-13 Thread Michael Thomas

Thats exactly what I wuz looking for. Thanx.


From: "Bernd VanSkiver" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Subject: RE: CGI.HTTP variables.
Date: Tue, 12 Dec 2000 23:12:46 -0600

cfloop collection="#cgi#" item="i"
   cfoutputcgi.#i# has value of : #cgi[i]#br/cfoutput
/cfloop

Bernd VanSkiver
[EMAIL PROTECTED]
ICQ #: 916324


-Original Message-
From: Michael Thomas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 12, 2000 11:07 PM
To: CF-Talk
Subject: CGI.HTTP variables.


Is there anyway I can snag all the CGI.HTTP variables all in one shot, like
loop over a collection if they are stored inside a structure???

Sincerely,
Mike

~~
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



CFAS Scheduler CFINCLUDE

2000-12-13 Thread paul smith

Good (?) Post-Election Morning!

Can the CF template executed by the CFAS Scheduler
have CFINCLUDEs in it that will work?

Or does the CF template executed by the CFAS
Scheduler have to all all CF tags directly in it?

The latter seems to be the case here (to be
confirmed later today when the Scheduler fires).

best,  paul


~~
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



Unlimited Line Item Subform functionality in a FORM

2000-12-13 Thread Bob Silverberg

Hi all,

Here's the scenario:  A user is entering an order, the order will have some
info associated with it, and then the order can have multiple line items
added to it.  Each line item will have a number of attributes (like product,
quantity, etc.).  In a program like Access, you can create a form for the
Order, and then create a subform for the line items.  You can easily set it
up so that the user can enter as many line items as they like.  After they
enter a line item, the interface adds a new blank line item.

We need to replace an Access application with a ColdFusion application and
provide this same functionality.  If we have to, we could provide input
fields for a specific number of line items, and then provide a button to add
more items, but I was wondering if anyone knows of any custom tags, applets
or ActiveX controls that would provide this functionality.  Or perhaps I'm
missing an obvious easy solution.

Any suggestions would be greatly appreciated.

Thanks,
Bob


~~
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: CFAS Scheduler CFINCLUDE

2000-12-13 Thread Cami Lawson

I have an item that is schedule to run through CFAS and it has 3 includes
that work just fine.
- Original Message -
From: "paul smith" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Wednesday, December 13, 2000 8:03 AM
Subject: CFAS Scheduler  CFINCLUDE


 Good (?) Post-Election Morning!

 Can the CF template executed by the CFAS Scheduler
 have CFINCLUDEs in it that will work?

 Or does the CF template executed by the CFAS
 Scheduler have to all all CF tags directly in it?

 The latter seems to be the case here (to be
 confirmed later today when the Scheduler fires).

 best,  paul



~~
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: Unlimited Line Item Subform functionality in a FORM

2000-12-13 Thread Rick Lamb

Bob,

Sounds to me like your talking about an everyday shopping cart. I would use
a associative array (structure) to store all the items names and values for
each item and then append each of these structures to an array. At the end
of the order, just loop through the array and output the structures (or line
items) into the database. Make sure you have your line item table set up
with a foreign key to the parent order table by using an order id. Then to
pull an order just join the two tables by the order id.

If none of this makes sense to you, just look at some tutorials on doing a
shopping cart in Cold Fusion and they should give you the ideas you need.

Rick
-Original Message-
From: Bob Silverberg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 8:32 AM
To: CF-Talk
Subject: Unlimited Line Item Subform functionality in a FORM


Hi all,

Here's the scenario:  A user is entering an order, the order will have some
info associated with it, and then the order can have multiple line items
added to it.  Each line item will have a number of attributes (like product,
quantity, etc.).  In a program like Access, you can create a form for the
Order, and then create a subform for the line items.  You can easily set it
up so that the user can enter as many line items as they like.  After they
enter a line item, the interface adds a new blank line item.

We need to replace an Access application with a ColdFusion application and
provide this same functionality.  If we have to, we could provide input
fields for a specific number of line items, and then provide a button to add
more items, but I was wondering if anyone knows of any custom tags, applets
or ActiveX controls that would provide this functionality.  Or perhaps I'm
missing an obvious easy solution.

Any suggestions would be greatly appreciated.

Thanks,
Bob
~~
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



FWD: Re: CFAS Scheduler CFINCLUDE

2000-12-13 Thread Michael Brzezicki

I believe this email is for you. Although I have no Idea how I got since my email 
address is nowhere within the email.


Mike Brzezicki

Although since this is about CF. Do you know how I can create a dynamic query that 
displays data depending on the options selected from two combo boxes which are linked 
together and are poplulated from the database?


--Original Message--
From: "Cami Lawson" [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: December 13, 2000 2:32:07 PM GMT
Subject: Re: CFAS Scheduler  CFINCLUDE


I have an item that is schedule to run through CFAS and it has 3 includes
that work just fine.
- Original Message -
From: "paul smith" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Wednesday, December 13, 2000 8:03 AM
Subject: CFAS Scheduler  CFINCLUDE


 Good (?) Post-Election Morning!

 Can the CF template executed by the CFAS Scheduler
 have CFINCLUDEs in it that will work?

 Or does the CF template executed by the CFAS
 Scheduler have to all all CF tags directly in it?

 The latter seems to be the case here (to be
 confirmed later today when the Scheduler fires).

 best,  paul



~~
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: Unlimited Line Item Subform functionality in a FORM

2000-12-13 Thread stas

Rick, I think he is looking for an interface widget.

- Original Message -
From: "Rick Lamb" [EMAIL PROTECTED]


 Bob,

 Sounds to me like your talking about an everyday shopping cart. I would
use
 a associative array (structure) to store all the items names and values
for
 each item and then append each of these structures to an array. At the end
 of the order, just loop through the array and output the structures (or
line
 items) into the database. Make sure you have your line item table set up
 with a foreign key to the parent order table by using an order id. Then to
 pull an order just join the two tables by the order id.

 If none of this makes sense to you, just look at some tutorials on doing a
 shopping cart in Cold Fusion and they should give you the ideas you need.

 Rick
 -Original Message-
 From: Bob Silverberg [mailto:[EMAIL PROTECTED]]


 Hi all,

 Here's the scenario:  A user is entering an order, the order will have
some
 info associated with it, and then the order can have multiple line items
 added to it.  Each line item will have a number of attributes (like
product,
 quantity, etc.).  In a program like Access, you can create a form for the
 Order, and then create a subform for the line items.  You can easily set
it
 up so that the user can enter as many line items as they like.  After they
 enter a line item, the interface adds a new blank line item.

 We need to replace an Access application with a ColdFusion application and
 provide this same functionality.  If we have to, we could provide input
 fields for a specific number of line items, and then provide a button to
add
 more items, but I was wondering if anyone knows of any custom tags,
applets
 or ActiveX controls that would provide this functionality.  Or perhaps I'm
 missing an obvious easy solution.

 Any suggestions would be greatly appreciated.

 Thanks,
 Bob

~~
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: Unlimited Line Item Subform functionality in a FORM

2000-12-13 Thread Michael Brzezicki

Hi,
   I'm sorry but I received your email accidently. Although I myself am I CF Developer 
and also doing something similiar to what your doing. I have to convert an MS Acccess 
97 application to the web using CF. I am having a huge problem doing this though 
because for some reason CF will not allow me to convert the Access SQL query to work 
the same way.


Mike Brzezicki

 


~~
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: Unlimited Line Item Subform functionality in a FORM

2000-12-13 Thread JustinMacCarthy

Here is a very quick DHTML example I just knocked up for u.
(ie4 + ) Needs to be changed slightly to be DOM compliant

You need to loop over the 'Form' collection on the "action" page to add each
field (lineitem1,lineitem2 lineitem3 etc)

Justin MacCarthy

html
head
script
!--//

currentItem = 1;

function AddLineItem ()
{
currentItem++;
e = "input tye='text' size='20' name='lineitem" + currentItem + "'";
lineitems.insertAdjacentHTML("BeforeEnd",e);
}

//--
/script


/head


body
form action="" name=""
div id=lineitems
input type="text" name="lineitem1" size=20
/div
input type="Button" onclick="AddLineItem()"
/form
/body
/html


-Original Message-
From: Bob Silverberg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 2:32 PM
To: CF-Talk
Subject: Unlimited Line Item Subform functionality in a FORM


Hi all,

Here's the scenario:  A user is entering an order, the order will have some
info associated with it, and then the order can have multiple line items
added to it.  Each line item will have a number of attributes
(like product,
quantity, etc.).  In a program like Access, you can create a form for the
Order, and then create a subform for the line items.  You can easily set it
up so that the user can enter as many line items as they like.  After they
enter a line item, the interface adds a new blank line item.

We need to replace an Access application with a ColdFusion application and
provide this same functionality.  If we have to, we could provide input
fields for a specific number of line items, and then provide a
button to add
more items, but I was wondering if anyone knows of any custom tags, applets
or ActiveX controls that would provide this functionality.  Or perhaps I'm
missing an obvious easy solution.

Any suggestions would be greatly appreciated.

Thanks,
Bob



~~
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



email crossing

2000-12-13 Thread Michael Brzezicki

Hi,
  I'm not sure why but I'm getting email this is being sent to you. I'm not sure if 
our email address got crossed in your DB or what happened.

If I get anymore emails I will forward them over to you.

Mike Brzezicki

 


~~
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: FWD: Re: CFAS Scheduler CFINCLUDE

2000-12-13 Thread paul smith

I don't know, but I've seen discussion on cf-talk about tags in Allaire's 
Developer Gallery that link 2 and possibly 3 drop-downs.

best,  paul

At 09:57 AM 12/13/00 -0500, you wrote:
Although since this is about CF. Do you know how I can create a dynamic 
query that displays data depending on the options selected from two combo 
boxes which are linked together and are poplulated from the database?


~~
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: Unlimited Line Item Subform functionality in a FORM

2000-12-13 Thread paul smith

Post some details to CF-talk.

best,  paul

At 10:02 AM 12/13/00 -0500, you wrote:
Hi,
I'm sorry but I received your email accidently. Although I myself am I 
 CF Developer and also doing something similiar to what your doing. I have 
 to convert an MS Acccess 97 application to the web using CF. I am having 
 a huge problem doing this though because for some reason CF will not 
 allow me to convert the Access SQL query to work the same way.


Mike Brzezicki





~~
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: radio buttons and passing variable question

2000-12-13 Thread Cornillon, Matthieu

 a side question,  can anyone tell me what   #form.variable 
 name# is
 supposed to do?...i mean what does the # sign signify and 
 what does "form"
 tell the computer?

The # signs tell the CF server to interpret what's inside them as a variable
name or function, and not just as a text string.  The form specifies the
category of variable.  Some other category names are:

variables (local page variables)
URL (variables embedded in URL query string)
session (session variables stored on server)


 #dollarformat(tax)#?

This tells the server to interpret dollarformat(tax) as a function, not as a
string.  The argument to the function, "tax", is probably a local variable
on the page.  You can specify local page variables by typing "variables."
first (e.g., variables.tax), but in the case of local page variables, you
don't need the prefix.  In any case, this function should return the value
of the local page variable "tax" in dollar format, that is, to two decimal
places, with a thousands separator, and a leading dollar sign.

Matthieu

~~
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: ColdFusion vs. ASP.NET

2000-12-13 Thread Peter Theobald

Just a comment:
Personally, I wouldn't spend any of my professional time learning C#. I predict it 
will be just a few short years before Microsoft once again orphans it's own product 
and throws away C# for some other buzzword that has strategic and marketing value at 
the time.

At 04:45 PM 12/12/00 -0500, Dave Watts wrote:
 I must confess that my original concern seems to be so 
 adequately captured by Dave Watts' insight into how Microsoft 
 operates. Yes the market for web application servers is 
 competitive, and for someone (like myself) who keeps falling 
 back on CF as a prefered development platform, reading Richard
 Anderson et al. 's A Preview of Active Server Pages+ (Wrox) 
 left me a little concerned about whether or not CF developers 
 will be left behind when ASP.NET becomes a reality. That's 
 why I was wondering if anyone knew what future versions of 
 CF had to offer in the face of ASP.NET's code/content 
 separation, easier extensibility, and its integration with 
 .NET web services.

I haven't read that book, and I'm not fully familiar with the proposed
feature set for ASP+ or its replacement ASP.NET, so I don't know how well I
can answer this.

However, I can tell you I've had this argument before. It was a couple of
years ago, when ASP became available in beta. ASP was going to take over the
world because it provided easy extensibility through COM, easy integration
with other MS products (again through COM), and an easy way to separate
presentation logic from business logic (yet again through COM - building
components for business logic and gluing those components together with
ASP). I remember hearing from the time how CF would soon be obsolete.

At the time (the CF 2-3 product cycle, if I recall correctly), I was a bit
worried, but not that much, and I stuck with CF, because it let me do my
work more quickly.

Now, of course, ASP is out, and it's been very successful. CF is still out
and quite successful itself, though, demonstrating that even in the Windows
world, there's room for more than one web application server platform.

As for ASP.NET versus CF 5, I suspect that things will work out similarly to
how they did with ASP 1-3 versus CF 2-4. ASP will be the platform of choice
for Windows programmers who would otherwise do VB/C++/C# and COM programming
(which is what you need to make use of that "easier extensibility"), and CF
will be the platform of choice for web developers who want to minimize
development and maintenance time without wedding themselves at the hip to
the MS technology du jour.

 By the way, that remark about "vaporware" understates the 
 extent of ASP.NET availability. A few web hosts are already 
 offering hosting with that option installed, some of them 
 for free.

That's true. I just got Visual Studio.NET Beta 1 today from MSDN. Of course,
any code that I wrote with it, I wouldn't be able to deploy for a client.
 From that perspective - the one that counts, in my opinion - .NET is not yet
a real product.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444


~~
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: Coldfusion - 3-tier Web Application ? Possible?

2000-12-13 Thread Dave Watts

 I realised that ColdFusion is allowed to make use of 
 CFOBJECT to call EJB (Enterprise JavaBean) methods and 
 also it's able to use XML via WDDX.
 
 I was just wondering, is it possible that we use ColdFusion 
 to create a 3-tier Web Application whereby we have EJB to take 
 care of the business logic (Business Tier) and ColdFusion 
 coding to take care of the layout and presentation of the 
 web pages?

Yes, it's possible to do this. I don't know of any projects that are using
EJBs to that great an extent, so you'll want to test this approach in a
prototype first, but quite a few projects use COM/MTS in this way.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~
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



CFreport and crystal reports

2000-12-13 Thread Katie Bessiere

has anyone had any luck using CFREPORT with crystal reports 8?  i've tried
the workaround that Allaire recommends and I still can't get the tag to
work.  It's very frustrating..

If anyone has any ideas, please let me know..

katie

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



RE: CFreport and crystal reports

2000-12-13 Thread Hales, John M

I could never get it to work. We just use CF to pass the parameters to
Crystal, and the CR Web Server to display the reports. That works well for
us.

HTH
Mike Hales

-Original Message-
From: Katie Bessiere [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 11:08 AM
To: CF-Talk
Subject: CFreport and crystal reports


has anyone had any luck using CFREPORT with crystal reports 8?  i've tried
the workaround that Allaire recommends and I still can't get the tag to
work.  It's very frustrating..

If anyone has any ideas, please let me know..

katie

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

~~
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



CF Chat Room Facility Codes

2000-12-13 Thread AustralianAccommodation.com Pty. Ltd.

I am currently using a chat room hosting service for my chat room on my cf site

Wondering if anyone knows of a cf based chat room type facility I can implement into 
the site as an alternative to the chat room hosting service 

I am currently using the cf hosting service offered by digi chat


Kind Regards

Claude Raiola (Director)
AustralianAccommodation.com Pty. Ltd.
Email: [EMAIL PROTECTED]
Developers Of:
  Website: www.AustralianAccommodation.com
  Website: www.AccommodationNewZealand.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



Just a stray thought

2000-12-13 Thread Gregory Harris

Ok, this is meant as no shameless plug but I read on their website:

UPS expects to receive 5 million tracking requests on their website per day
especially on their peak days (it reads something like that)

Your mission: build a Cold Fusion application for UPS that could handle such
a beating, how would you do this?  Bear in mind:

1) You will have to search through a database of approximately 245 million
records (packages delivered)

2) 5 million per day equals 60 per second, transactional integrity has to be
TIGHT!

3) Money is no real object (UPS needs this to work some how, but be
realistic in terms of "what you get is what you pay for")

Who's up for this?

Gregory Harris
Web Developer
Stirling Bridge Group LLC



~~
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



cftry cfcatch/cfcatch/cftry

2000-12-13 Thread Neil H.

I just found, disappointingly enough that you can't have a cftry at the
top of a document via a CFinclude and the rest in another include at the
bottom?  Is there a work around.  I don't want to use a handler, and I want
the same error checking code on every page.

Please advise or throw ideas (even bones will do)

Thanks,

Neil

p.s. Running CF 4.51.

- Original Message -
From: "Hales, John M" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Wednesday, December 13, 2000 11:17 AM
Subject: RE: CFreport and crystal reports


 I could never get it to work. We just use CF to pass the parameters to
 Crystal, and the CR Web Server to display the reports. That works well for
 us.

 HTH
 Mike Hales

 -Original Message-
 From: Katie Bessiere [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 13, 2000 11:08 AM
 To: CF-Talk
 Subject: CFreport and crystal reports


 has anyone had any luck using CFREPORT with crystal reports 8?  i've tried
 the workaround that Allaire recommends and I still can't get the tag to
 work.  It's very frustrating..

 If anyone has any ideas, please let me know..

 katie

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


~~
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: CFreport and crystal reports

2000-12-13 Thread Nardi, Gaston

hi
i've been using CFX_PRINTREPORT (find it at Allaire's Tags Gallery).
Works great for me, so may it help you.
Cheers,
Gaston.




 -Mensaje original-
 De:   Hales, John M [SMTP:[EMAIL PROTECTED]]
 Enviado el:   MiƩrcoles 13 de Diciembre de 2000 13:18
 Para: CF-Talk
 Asunto:   RE: CFreport and crystal reports
 
 I could never get it to work. We just use CF to pass the parameters to
 Crystal, and the CR Web Server to display the reports. That works well for
 us.
 
 HTH
 Mike Hales
 
 -Original Message-
 From: Katie Bessiere [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 13, 2000 11:08 AM
 To: CF-Talk
 Subject: CFreport and crystal reports
 
 
 has anyone had any luck using CFREPORT with crystal reports 8?  i've tried
 the workaround that Allaire recommends and I still can't get the tag to
 work.  It's very frustrating..
 
 If anyone has any ideas, please let me know..
 
 katie
 
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
 

~~
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: Just a stray thought

2000-12-13 Thread Cameron Childress

Hmm.. I wonder if anyone from UPS is on this list...  I know that they use
CF in Atlanta on a limited basis for some internal stuff...

-Cameron


Cameron Childress
ElliptIQ Inc.
p.770.460.7277.232
f.770.460.0963

 -Original Message-
 From: Gregory Harris [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 13, 2000 11:36 AM
 To: CF-Talk
 Subject: Just a stray thought


 Ok, this is meant as no shameless plug but I read on their website:

 UPS expects to receive 5 million tracking requests on their
 website per day
 especially on their peak days (it reads something like that)

 Your mission: build a Cold Fusion application for UPS that could
 handle such
 a beating, how would you do this?  Bear in mind:

 1) You will have to search through a database of approximately 245 million
 records (packages delivered)

 2) 5 million per day equals 60 per second, transactional
 integrity has to be
 TIGHT!

 3) Money is no real object (UPS needs this to work some how, but be
 realistic in terms of "what you get is what you pay for")

 Who's up for this?

 Gregory Harris
 Web Developer
 Stirling Bridge Group LLC




~~
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



Inserting line breaks

2000-12-13 Thread Greg Wolfinger

Hey guys:

I have a form that sends an e-mail to someone and then displays the information that 
was sent.  However, the message body just displays itself on one line.  I was 
wondering if I could go through the string and after a certain number of characters I 
would insert a line break.



Greg


~~
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: Just a stray thought

2000-12-13 Thread Greg Creedon

I bet the guy who worked on toysrus and who was at the ny cf users group
last night would have some ideas on this!

btw, a round of applause and thanks to the Dinowitz family and Greg Nahrain
and others who put on the meeting last night under difficult circumstances
(tight space!). And I'm not just saying this since I won a copy of the
Fusebox book!

-Original Message-
From: Gregory Harris [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 11:36 AM
To: CF-Talk
Subject: Just a stray thought


Ok, this is meant as no shameless plug but I read on their website:

UPS expects to receive 5 million tracking requests on their website per day
especially on their peak days (it reads something like that)

Your mission: build a Cold Fusion application for UPS that could handle such
a beating, how would you do this?  Bear in mind:

1) You will have to search through a database of approximately 245 million
records (packages delivered)

2) 5 million per day equals 60 per second, transactional integrity has to be
TIGHT!

3) Money is no real object (UPS needs this to work some how, but be
realistic in terms of "what you get is what you pay for")

Who's up for this?

Gregory Harris
Web Developer
Stirling Bridge Group LLC



~~
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: Just a stray thought

2000-12-13 Thread Greg Wolfinger

Ill do it.  I wont write drastically efficient code, but if money is no
objectbut more servers!!!
- Original Message -
From: "Gregory Harris" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Wednesday, December 13, 2000 11:36 AM
Subject: Just a stray thought


 Ok, this is meant as no shameless plug but I read on their website:

 UPS expects to receive 5 million tracking requests on their website per
day
 especially on their peak days (it reads something like that)

 Your mission: build a Cold Fusion application for UPS that could handle
such
 a beating, how would you do this?  Bear in mind:

 1) You will have to search through a database of approximately 245 million
 records (packages delivered)

 2) 5 million per day equals 60 per second, transactional integrity has to
be
 TIGHT!

 3) Money is no real object (UPS needs this to work some how, but be
 realistic in terms of "what you get is what you pay for")

 Who's up for this?

 Gregory Harris
 Web Developer
 Stirling Bridge Group LLC




~~
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: Just a stray thought

2000-12-13 Thread Andres


Can you send the URL where you read this??


-Original Message-
From: Gregory Harris [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 11:36 AM
To: CF-Talk
Subject: Just a stray thought


Ok, this is meant as no shameless plug but I read on their website:

UPS expects to receive 5 million tracking requests on their website per day
especially on their peak days (it reads something like that)

Your mission: build a Cold Fusion application for UPS that could handle such
a beating, how would you do this?  Bear in mind:

1) You will have to search through a database of approximately 245 million
records (packages delivered)

2) 5 million per day equals 60 per second, transactional integrity has to be
TIGHT!

3) Money is no real object (UPS needs this to work some how, but be
realistic in terms of "what you get is what you pay for")

Who's up for this?

Gregory Harris
Web Developer
Stirling Bridge Group LLC
~~
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: CFreport and crystal reports

2000-12-13 Thread Daye, Marianne

Try taking a look at recrystallize.com.  It's just a wizard that generate
the html files to run the crystal report; you can probably fined your
answers in those files.  There's a beta version you can try for free.  It
uses a dll (u2fpdf.dll) which comes with the download.  I haven't actually
tried it, yet, since I'm still using CR7, and the feature I need (PDF
download)only works with CR8, but I plan to if we upgrade.  If you try it,
let me know what you think.

Marianne Daye
Programmer/Analyst
Information Delivery Systems
http://ids.rti.org

-Original Message-
From: Katie Bessiere [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 11:08 AM
To: CF-Talk
Subject: CFreport and crystal reports


has anyone had any luck using CFREPORT with crystal reports 8?  i've tried
the workaround that Allaire recommends and I still can't get the tag to
work.  It's very frustrating..

If anyone has any ideas, please let me know..

katie

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

~~
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: cftry cfcatch/cfcatch/cftry

2000-12-13 Thread Simon Horwith

structured exception handling should be kept as close to the questionable
code as possible.  One of it's error types is "missinginclude", which should
also help to illustrate the logical error in placing opening and closing
error handling tags in seperate files to be included.  What you can do, is
include a cferror tag in your application.cfm tag or at the top of any
template containing CFTRY/CFCATCH/CFTHROW and wrap the rest of the page or
the code in question, with the CFTRY tags.

~Simon

 Simon Horwith
 Certified ColdFusion Developer
 Fig Leaf Software
 1400 16th St NW, # 220
 Washington DC 20036
 202.797.6570 (direct line)
 www.figleaf.com
 


-Original Message-
From: Neil H. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 11:38 AM
To: CF-Talk
Subject: cftry cfcatch/cfcatch/cftry


I just found, disappointingly enough that you can't have a cftry at the
top of a document via a CFinclude and the rest in another include at the
bottom?  Is there a work around.  I don't want to use a handler, and I want
the same error checking code on every page.

Please advise or throw ideas (even bones will do)

Thanks,

Neil

p.s. Running CF 4.51.

- Original Message -
From: "Hales, John M" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Wednesday, December 13, 2000 11:17 AM
Subject: RE: CFreport and crystal reports


 I could never get it to work. We just use CF to pass the parameters to
 Crystal, and the CR Web Server to display the reports. That works well for
 us.

 HTH
 Mike Hales

 -Original Message-
 From: Katie Bessiere [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 13, 2000 11:08 AM
 To: CF-Talk
 Subject: CFreport and crystal reports


 has anyone had any luck using CFREPORT with crystal reports 8?  i've tried
 the workaround that Allaire recommends and I still can't get the tag to
 work.  It's very frustrating..

 If anyone has any ideas, please let me know..

 katie

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


~~
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: cftry cfcatch/cfcatch/cftry

2000-12-13 Thread Jamie Keane

Alternately, you could have a main page that has a cftry/cfcatch block, and
include the meat of the page within (a la Fusebox).  Worth a shot, neh?

--
Jamie Keane
Programmer
SolutionMasters, Inc.
9111 Monroe Rd., Suite 100
Charlotte, NC  28270
www.solutionmasters.com
704.563.5559 x 228  Voice
704.849.9291  Fax
-Original Message-
From: Neil H. [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Date: Wednesday, December 13, 2000 11:37 AM
Subject: cftry cfcatch/cfcatch/cftry


I just found, disappointingly enough that you can't have a cftry at the
top of a document via a CFinclude and the rest in another include at the
bottom?  Is there a work around.  I don't want to use a handler, and I want
the same error checking code on every page.

Please advise or throw ideas (even bones will do)

Thanks,

Neil

p.s. Running CF 4.51.

- Original Message -
From: "Hales, John M" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Wednesday, December 13, 2000 11:17 AM
Subject: RE: CFreport and crystal reports


 I could never get it to work. We just use CF to pass the parameters to
 Crystal, and the CR Web Server to display the reports. That works well
for
 us.

 HTH
 Mike Hales

 -Original Message-
 From: Katie Bessiere [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 13, 2000 11:08 AM
 To: CF-Talk
 Subject: CFreport and crystal reports


 has anyone had any luck using CFREPORT with crystal reports 8?  i've
tried
 the workaround that Allaire recommends and I still can't get the tag to
 work.  It's very frustrating..

 If anyone has any ideas, please let me know..

 katie

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



~~
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: cftry cfcatch/cfcatch/cftry

2000-12-13 Thread Jeff Sarsoun

Haven't tried it but theoretically you might be able to:

application.cfm would contain: cf_error_check
onrequestend.cfm would contain: /cf_error_check

error_check.cfm would contain:
!--pseudo code--
if executionmode eq start
cftry cfcatch
else
/cfcatch/cftry

onrequestend.cfm might choke on the /cf_error_check though.  Maybe some
parameter passing would be in order.

Jeff

-Original Message-
From: Neil H. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 11:38 AM
To: CF-Talk
Subject: cftry cfcatch/cfcatch/cftry


I just found, disappointingly enough that you can't have a cftry at the
top of a document via a CFinclude and the rest in another include at the
bottom?  Is there a work around.  I don't want to use a handler, and I want
the same error checking code on every page.

Please advise or throw ideas (even bones will do)

Thanks,

Neil

p.s. Running CF 4.51.

- Original Message -
From: "Hales, John M" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Wednesday, December 13, 2000 11:17 AM
Subject: RE: CFreport and crystal reports


 I could never get it to work. We just use CF to pass the parameters to
 Crystal, and the CR Web Server to display the reports. That works well for
 us.

 HTH
 Mike Hales

 -Original Message-
 From: Katie Bessiere [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 13, 2000 11:08 AM
 To: CF-Talk
 Subject: CFreport and crystal reports


 has anyone had any luck using CFREPORT with crystal reports 8?  i've tried
 the workaround that Allaire recommends and I still can't get the tag to
 work.  It's very frustrating..

 If anyone has any ideas, please let me know..

 katie

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


~~
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: Inserting line breaks

2000-12-13 Thread Simon Horwith

You could try appending #chr(10)##chr(13)# at the end of each string line
inside your CFMAIL tags.

~Simon

 Simon Horwith
 Certified ColdFusion Developer
 Fig Leaf Software
 1400 16th St NW, # 220
 Washington DC 20036
 202.797.6570 (direct line)
 www.figleaf.com
 


-Original Message-
From: Greg Wolfinger [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 11:47 AM
To: CF-Talk
Subject: Inserting line breaks


Hey guys:

I have a form that sends an e-mail to someone and then displays the
information that was sent.  However, the message body just displays itself
on one line.  I was wondering if I could go through the string and after a
certain number of characters I would insert a line break.



Greg
~~
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: Just a stray thought

2000-12-13 Thread Gregory Harris

Oh, and I forgot:

Remember most of this is at peak time (who cares where their package is at
3am, except for UPS themselves?), I figure, 300 people hitting at any given
instant is to be expected.  CFLOCK can't handle that many alone.  Also the
database could be larger (if you could track from the last year, figure 1
billion records maybe?)

I hate to say this, Toys R Us only wishes they had 300 people on the site at
a given instant (even if they did, the queries for some of the stuff doesn't
have to be realtime and they can cache stuff), and they don't have 1 billion
products to offer.  Plus the queries being in Realtime (or close to it,
small expiration dates a must).  Again, any takers?

Gregory Harris
Web Developer
Stirling Bridge Group LLC

- Original Message -
From: "Greg Creedon" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Wednesday, December 13, 2000 8:46 AM
Subject: RE: Just a stray thought


 I bet the guy who worked on toysrus and who was at the ny cf users group
 last night would have some ideas on this!

 btw, a round of applause and thanks to the Dinowitz family and Greg
Nahrain
 and others who put on the meeting last night under difficult circumstances
 (tight space!). And I'm not just saying this since I won a copy of the
 Fusebox book!

 -Original Message-
 From: Gregory Harris [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 13, 2000 11:36 AM
 To: CF-Talk
 Subject: Just a stray thought


 Ok, this is meant as no shameless plug but I read on their website:

 UPS expects to receive 5 million tracking requests on their website per
day
 especially on their peak days (it reads something like that)

 Your mission: build a Cold Fusion application for UPS that could handle
such
 a beating, how would you do this?  Bear in mind:

 1) You will have to search through a database of approximately 245 million
 records (packages delivered)

 2) 5 million per day equals 60 per second, transactional integrity has to
be
 TIGHT!

 3) Money is no real object (UPS needs this to work some how, but be
 realistic in terms of "what you get is what you pay for")

 Who's up for this?

 Gregory Harris
 Web Developer
 Stirling Bridge Group LLC




~~
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: Just a stray thought

2000-12-13 Thread Matt Rodosky

1. Cluster 6-10 application servers running cf enterprise (on nt, # depends
on expected users/transactions)
2. Use load balancing sw (cisco)
3. 2 Database servers (assume sql server)in an nt/sql cluster
4. App is pretty simple, take a tracking #, find it in the database, pull
out the information.
5. Can possibly enhance integrity by using EJBs, can call w/cfobject.
6. Good, clean code

Matt
-Original Message-
From: Gregory Harris [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 9:36 AM
To: CF-Talk
Subject: Just a stray thought


Ok, this is meant as no shameless plug but I read on their website:

UPS expects to receive 5 million tracking requests on their website per day
especially on their peak days (it reads something like that)

Your mission: build a Cold Fusion application for UPS that could handle such
a beating, how would you do this?  Bear in mind:

1) You will have to search through a database of approximately 245 million
records (packages delivered)

2) 5 million per day equals 60 per second, transactional integrity has to be
TIGHT!

3) Money is no real object (UPS needs this to work some how, but be
realistic in terms of "what you get is what you pay for")

Who's up for this?

Gregory Harris
Web Developer
Stirling Bridge Group LLC
~~
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: Just a stray thought

2000-12-13 Thread Neil H.

First thought, don't use CF :)

Neil

- Original Message -
From: "Greg Creedon" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Wednesday, December 13, 2000 11:46 AM
Subject: RE: Just a stray thought


 I bet the guy who worked on toysrus and who was at the ny cf users group
 last night would have some ideas on this!

 btw, a round of applause and thanks to the Dinowitz family and Greg
Nahrain
 and others who put on the meeting last night under difficult circumstances
 (tight space!). And I'm not just saying this since I won a copy of the
 Fusebox book!

 -Original Message-
 From: Gregory Harris [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 13, 2000 11:36 AM
 To: CF-Talk
 Subject: Just a stray thought


 Ok, this is meant as no shameless plug but I read on their website:

 UPS expects to receive 5 million tracking requests on their website per
day
 especially on their peak days (it reads something like that)

 Your mission: build a Cold Fusion application for UPS that could handle
such
 a beating, how would you do this?  Bear in mind:

 1) You will have to search through a database of approximately 245 million
 records (packages delivered)

 2) 5 million per day equals 60 per second, transactional integrity has to
be
 TIGHT!

 3) Money is no real object (UPS needs this to work some how, but be
 realistic in terms of "what you get is what you pay for")

 Who's up for this?

 Gregory Harris
 Web Developer
 Stirling Bridge Group LLC




~~
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: Just a stray thought

2000-12-13 Thread Jennifer

At 08:36 AM 12/13/00 -0800, you wrote:
Ok, this is meant as no shameless plug but I read on their website:

UPS expects to receive 5 million tracking requests on their website per day
especially on their peak days (it reads something like that)

Your mission: build a Cold Fusion application for UPS that could handle such
a beating, how would you do this?  Bear in mind:

1) You will have to search through a database of approximately 245 million
records (packages delivered)

Delivered in what time period? I'm sure that a certain time after a package 
is delivered the record is removed from the live database on the website. A 
few days after the package is delivered it isn't worth it to allow people 
to search the tracking, is it? I would definitely remove records a few days 
after delivery. Then there aren't so many records and I'm not sure your 
count is accurate at that point.

I checked UPS three times yesterday for the same package.


~~
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



Another debate

2000-12-13 Thread Kelly Shepard

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. We do need
some other strengths in our department for those clients who don't want us
to host their application or don't have cf on their server, but, he wants a
complete switch.  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. I realize that changing
perceptions and old habits are sometimes difficult, but necessary.
Especially in our industry (high-tech).

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

Does anyone have any opinions on his security problems comment?  It seems
that alliare is pretty good about getting patches up - or we have just been
lucky and not had any problems.  And, would you agree that in the corporate
IT department cf is "usually" not an option?

Thanks in advance for any input.


~~
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: Inserting line breaks

2000-12-13 Thread Cornillon, Matthieu

Hi.  I don't know exactly how this works, but I had a similar need
yesterday.  I set up the e-mail in the CFM file with breaks where I wanted
them.  It seems to me that the text between the CFMAIL tags is treated
almost as if it is a separate text file, and the format is preserved.

If anyone has a more precise answer, I'd love to hear it as well.

Hope this helps,
Matthieu

 -Original Message-
 From: Greg Wolfinger [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 13, 2000 11:47 AM
 To: CF-Talk
 Subject: Inserting line breaks
 
 
 Hey guys:
 
 I have a form that sends an e-mail to someone and then 
 displays the information that was sent.  However, the message 
 body just displays itself on one line.  I was wondering if I 
 could go through the string and after a certain number of 
 characters I would insert a line break.
 
 
 
 Greg
 
 

~~
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: Just a stray thought

2000-12-13 Thread Aaron Johnson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Greg,

As you've seen there @ stirlingbridge, you can have a properly
indexed and tuned database perform lookups rather quickly on tables
of any size, 2 million to 245 million.  

I think the issue is not CF or any application server platform but
one of database design and architecture.  CF, ASP, PHP, JSP... they
all in some way or another are going to be talking to a Oracle or
SQL, hopefully through a stored procedure.  

Why would CFLOCK come into this?




Aaron Johnson, MCSE, MCP+I
MINDSEYE, Inc.
phn617.350.0339
fax949.350.8884
icq66172567
[EMAIL PROTECTED]

___
"Never forget that only dead fish swim with 
the stream." -- Malcolm Muggeridge
___




- -Original Message-
From: Gregory Harris [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 12:13 PM
To: CF-Talk
Subject: Re: Just a stray thought


Oh, and I forgot:

Remember most of this is at peak time (who cares where their package
is at
3am, except for UPS themselves?), I figure, 300 people hitting at any
given
instant is to be expected.  CFLOCK can't handle that many alone. 
Also the
database could be larger (if you could track from the last year,
figure 1
billion records maybe?)

I hate to say this, Toys R Us only wishes they had 300 people on the
site at
a given instant (even if they did, the queries for some of the stuff
doesn't
have to be realtime and they can cache stuff), and they don't have 1
billion
products to offer.  Plus the queries being in Realtime (or close to
it,
small expiration dates a must).  Again, any takers?

Gregory Harris
Web Developer
Stirling Bridge Group LLC

- - Original Message -
From: "Greg Creedon" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Wednesday, December 13, 2000 8:46 AM
Subject: RE: Just a stray thought


 I bet the guy who worked on toysrus and who was at the ny cf users
 group last night would have some ideas on this!

 btw, a round of applause and thanks to the Dinowitz family and Greg
Nahrain
 and others who put on the meeting last night under difficult
 circumstances (tight space!). And I'm not just saying this since I
 won a copy of the Fusebox book!

 -Original Message-
 From: Gregory Harris [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 13, 2000 11:36 AM
 To: CF-Talk
 Subject: Just a stray thought


 Ok, this is meant as no shameless plug but I read on their website:

 UPS expects to receive 5 million tracking requests on their website
 per 
day
 especially on their peak days (it reads something like that)

 Your mission: build a Cold Fusion application for UPS that could
 handle 
such
 a beating, how would you do this?  Bear in mind:

 1) You will have to search through a database of approximately 245
 million records (packages delivered)

 2) 5 million per day equals 60 per second, transactional integrity
 has to 
be
 TIGHT!

 3) Money is no real object (UPS needs this to work some how, but be
 realistic in terms of "what you get is what you pay for")

 Who's up for this?

 Gregory Harris
 Web Developer
 Stirling Bridge Group LLC




~~
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: cftry cfcatch/cfcatch/cftry

2000-12-13 Thread Bud

On 12/13/00, Neil H. penned:
I just found, disappointingly enough that you can't have a cftry at the
top of a document via a CFinclude and the rest in another include at the
bottom?  Is there a work around.  I don't want to use a handler, and I want
the same error checking code on every page.

Please advise or throw ideas (even bones will do)

A bone:

If you can put this at the VERY bottom and VERY top of every page, 
perhaps at the end of application.cfm and put the closing in 
OnRequestEnd.cfm?
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452

~~
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: Complex expressions w/ cfswitch

2000-12-13 Thread Bud

On 12/8/00, Hal Helms penned:
No, you can't do that. Complex expressions aren't allowed in cfcase. You'd
have to create a series of if/then statements.

Thanks Hal. I didn't think so as I pulled my hair our trying it. LOL
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452

~~
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



Slightly OT....Javascript question

2000-12-13 Thread Andy Ewings

OK guys and girls...slightly ot question but it's bugging me!  In part of a
Javasript function I am trying to loop through a collection of controls and
adding their value to a list which is then the value of a text box.  Here is
the code:

var i = 1;
  while(i = document.skills.slidercount.value)
   {
   document.skills.slidervalues.value =
document.skills.slidervalues.value + "," + document.{"Slider" + value of
i}.GetValue();
   i = i + 1;
   }

'Skills' is a form.  
Slidercount.value = 34.  
Slidervalues is a textbox

What I need to do is replace .{"Slider" + value of i} with Slider1, Slider2,
Slider3, etc. until Slider.34.  Is there a way to dynamically create
this variable name?
-- 
Andrew Ewings
Project Manager
Thoughtbubble Ltd 
http://www.thoughtbubble.net 
-- 
United Kingdom 
http://www.thoughtbubble.co.uk/ 
Tel: +44 (0) 20 7387 8890 
-- 
New Zealand 
http://www.thoughtbubble.co.nz/ 
Tel: +64 (0) 9 419 4235 
-- 
The information in this email and in any attachments is confidential and
intended solely for the attention and use of the named addressee(s). Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Thoughtbubble. This information may be
subject to legal, professional or other privilege and further distribution
of it is strictly prohibited without our authority. If you are not the
intended recipient, you are not authorised to disclose, copy, distribute, or
retain this message. Please notify us on +44 (0)207 387 8890. 



~~
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: Inserting line breaks

2000-12-13 Thread Dylan Bromby

If you're using a form to input the text that gets emailed, try using
TEXTAREA with WRAP="VIRTUAL"

-Original Message-
From: Greg Wolfinger [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 8:47 AM
To: CF-Talk
Subject: Inserting line breaks


Hey guys:

I have a form that sends an e-mail to someone and then displays the
information that was sent.  However, the message body just displays itself
on one line.  I was wondering if I could go through the string and after a
certain number of characters I would insert a line break.



Greg
~~
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 John Stanley

The need to deliberate the issue further is a mute (---should be moot)
point.

I don't really have any suggestions other than it sounds like he might have
dealt with PHP before, and therefore is prejudiced against CF. You and I
know that it is plenty secure. Plenty of corporations are serving cold
fusion pages to run their Intranets, Extranets and secure e-commerce
applications.


~~
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 Greg Wolfinger

I think the security probelsm lie more in Microsoft's IIS and the NT OS than
the CF Server.  Allaire always sends out alerts about security updates even
if they are not for CF Servers, but something that relates to CF.

PHP is a neat language, however it still isn't developed enough and also the
learning curve is enough for your boss to be considered a complete and total
moron.  If he wants to make his whole company spend a few months learning
PHP and converting all exsisting apps to PHP, tell him to go for it.  Also,
I dont think that the database connectivity is as powerful.

Greg.

ps. if he starts to ramble on about php and mysql tell him just because you
read webmonkey doesnt mean it should applied, especially in a corporate
environment.  I see PHP and MySQL as more of a home user solution.
- Original Message -
From: "Kelly Shepard" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Wednesday, December 13, 2000 12:14 PM
Subject: Another debate


 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. We do need
 some other strengths in our department for those clients who don't want us
 to host their application or don't have cf on their server, but, he wants
a
 complete switch.  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. I realize that changing
 perceptions and old habits are sometimes difficult, but necessary.
 Especially in our industry (high-tech).

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

 Does anyone have any opinions on his security problems comment?  It seems
 that alliare is pretty good about getting patches up - or we have just
been
 lucky and not had any problems.  And, would you agree that in the
corporate
 IT department cf is "usually" not an option?

 Thanks in advance for any input.



~~
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



division

2000-12-13 Thread Rick Lamb

This was suppose to be easy...

I'm trying to divide a recordcount by 100 and then round up. Currently my
recordcount is 162 and i'm using the ceiling function to round up but it
keeps giving me 1. I've tried using number format and decimal format with no
luck. Any suggestions? Code below:

cfset temp = decimalFormat(getdealers.recordcount\100)
cfset variables.totalpages = ceiling(temp)

Thanks,

Rick


~~
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 Stephen M Aylor

Dimple his Chad  Demand a hand count

Steve

 
 Thanks in advance for any input.



~~
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 Braver, Ben:

cf_grin
Well, for one thing, your boss needs to brush up on his English, and learn
the difference between "mute" and "moot" 
/cf_grin

 -Original Message-
 From: Kelly Shepard [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, December 13, 2000 9:14 AM
 To:   CF-Talk
 Subject:  Another debate
 
 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. We do need
 some other strengths in our department for those clients who don't want us
 to host their application or don't have cf on their server, but, he wants
 a
 complete switch.  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. I realize that changing
 perceptions and old habits are sometimes difficult, but necessary.
 Especially in our industry (high-tech).
 
 The need to deliberate the issue further is a mute point."
 
 Does anyone have any opinions on his security problems comment?  It seems
 that alliare is pretty good about getting patches up - or we have just
 been
 lucky and not had any problems.  And, would you agree that in the
 corporate
 IT department cf is "usually" not an option?
 
 Thanks in advance for any input.
 
 

~~
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 Gavin Myers


wow, glad i don't have to deal with e-mails like that

i think a better question would be, even if cf was shown to be more
scalable, manageable, faster, better for the [insert new fandangled acronym
here] business. Would he take consideration to it? 

Since he did say further discussion of this is pointless

-Original Message-
From: Kelly Shepard [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 11:14 AM
To: CF-Talk
Subject: Another debate


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. We do need
some other strengths in our department for those clients who don't want us
to host their application or don't have cf on their server, but, he wants a
complete switch.  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. I realize that changing
perceptions and old habits are sometimes difficult, but necessary.
Especially in our industry (high-tech).

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

Does anyone have any opinions on his security problems comment?  It seems
that alliare is pretty good about getting patches up - or we have just been
lucky and not had any problems.  And, would you agree that in the corporate
IT department cf is "usually" not an option?

Thanks in advance for any input.
~~
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



query between 2 database types

2000-12-13 Thread Eli Shechter

Hi

I recently started using a program that runs off a oracle database, and my
website runs off SQL server 7.0

how can I run a query so that within one query I can pull data from both
databases?


Thank You

Eli Shechter


~~
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: Unlimited Line Item Subform functionality in a FORM

2000-12-13 Thread Bob Silverberg

Thanks Justin - that looks like just what I was looking for.  Now I've got
to see if I can make it work with a complex form.

Bob

-Original Message-
From: JustinMacCarthy [mailto:[EMAIL PROTECTED]]
Sent: December 13, 2000 10:06 AM
To: CF-Talk
Subject: RE: Unlimited Line Item Subform functionality in a FORM


Here is a very quick DHTML example I just knocked up for u.
(ie4 + ) Needs to be changed slightly to be DOM compliant

You need to loop over the 'Form' collection on the "action" page to add each
field (lineitem1,lineitem2 lineitem3 etc)

Justin MacCarthy

html
head
script
!--//

currentItem = 1;

function AddLineItem ()
{
currentItem++;
e = "input tye='text' size='20' name='lineitem" + currentItem + "'";
lineitems.insertAdjacentHTML("BeforeEnd",e);
}

//--
/script


/head


body
form action="" name=""
div id=lineitems
input type="text" name="lineitem1" size=20
/div
input type="Button" onclick="AddLineItem()"
/form
/body
/html


-Original Message-
From: Bob Silverberg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 2:32 PM
To: CF-Talk
Subject: Unlimited Line Item Subform functionality in a FORM


Hi all,

Here's the scenario:  A user is entering an order, the order will have some
info associated with it, and then the order can have multiple line items
added to it.  Each line item will have a number of attributes
(like product,
quantity, etc.).  In a program like Access, you can create a form for the
Order, and then create a subform for the line items.  You can easily set it
up so that the user can enter as many line items as they like.  After they
enter a line item, the interface adds a new blank line item.

We need to replace an Access application with a ColdFusion application and
provide this same functionality.  If we have to, we could provide input
fields for a specific number of line items, and then provide a
button to add
more items, but I was wondering if anyone knows of any custom tags, applets
or ActiveX controls that would provide this functionality.  Or perhaps I'm
missing an obvious easy solution.

Any suggestions would be greatly appreciated.

Thanks,
Bob



~~
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 Dave Watts

 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. We do need some other strengths in our 
 department for those clients who don't want us to host their 
 application or don't have cf on their server, but, he wants a
 complete switch. 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. I realize 
 that changing perceptions and old habits are sometimes difficult, 
 but necessary. Especially in our industry (high-tech).
 
 The need to deliberate the issue further is a mute point."
 
 Does anyone have any opinions on his security problems 
 comment? It seems that alliare is pretty good about getting patches 
 up - or we have just been lucky and not had any problems. And, 
 would you agree that in the corporate IT department cf is 
 "usually" not an option?

There are no significant security problems that are CF-specific, as long as
you don't deploy the sample code on your servers. There are lots of security
problems with CF applications, caused by the failure of developers to filter
input from the browser. Those problems exist with PHP applications, and ASP
applications, and any other kind of web applications.

Most of the security problems that Allaire notifies people about are
actually IIS security problems, as far as I can tell.

As for CF's availability within corporate IT, I'd guess that it's much more
accepted than PHP, at least "officially". Most IT directors are a bit leery
of using open-source solutions. They like to have someone to call when
things go wrong.

PHP is nice, though, and kind of fun, but it's a bit more difficult than CF,
and for most business applications doesn't offer anything that CF doesn't.
As a bit of trivia, PHP used to be quite often referred to as the "poor
man's Cold Fusion" back when it stood for "Personal Home Page".

On an unrelated note, it's "moot point", not "mute point".

Finally, I'm sorry to hear that this is what your new boss is like. It's
always sad to see things like this - it would be just as bad if you were all
using PHP and he came in and said "we're switching everything to CF". You
might be able to reason with him, but in my experience there's usually
nothing you can do with these types. Good luck, though.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~
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: Just a stray thought

2000-12-13 Thread Peter Theobald

Toys R Us preloaded all of their data into RAM in a huge Application structure.
They had a server farm of 100 servers for normal load and 400 servers for holiday load.

300 people at one instant out of RAM is easy.

At 09:12 AM 12/13/00 -0800, Gregory Harris wrote:
Oh, and I forgot:

Remember most of this is at peak time (who cares where their package is at
3am, except for UPS themselves?), I figure, 300 people hitting at any given
instant is to be expected.  CFLOCK can't handle that many alone.  Also the
database could be larger (if you could track from the last year, figure 1
billion records maybe?)

I hate to say this, Toys R Us only wishes they had 300 people on the site at
a given instant (even if they did, the queries for some of the stuff doesn't
have to be realtime and they can cache stuff), and they don't have 1 billion
products to offer.  Plus the queries being in Realtime (or close to it,
small expiration dates a must).  Again, any takers?

Gregory Harris
Web Developer
Stirling Bridge Group LLC

- Original Message -
From: "Greg Creedon" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Wednesday, December 13, 2000 8:46 AM
Subject: RE: Just a stray thought


 I bet the guy who worked on toysrus and who was at the ny cf users group
 last night would have some ideas on this!

 btw, a round of applause and thanks to the Dinowitz family and Greg
Nahrain
 and others who put on the meeting last night under difficult circumstances
 (tight space!). And I'm not just saying this since I won a copy of the
 Fusebox book!

 -Original Message-
 From: Gregory Harris [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 13, 2000 11:36 AM
 To: CF-Talk
 Subject: Just a stray thought


 Ok, this is meant as no shameless plug but I read on their website:

 UPS expects to receive 5 million tracking requests on their website per
day
 especially on their peak days (it reads something like that)

 Your mission: build a Cold Fusion application for UPS that could handle
such
 a beating, how would you do this?  Bear in mind:

 1) You will have to search through a database of approximately 245 million
 records (packages delivered)

 2) 5 million per day equals 60 per second, transactional integrity has to
be
 TIGHT!

 3) Money is no real object (UPS needs this to work some how, but be
 realistic in terms of "what you get is what you pay for")

 Who's up for this?

 Gregory Harris
 Web Developer
 Stirling Bridge Group LLC





~~
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: cflock vs. cftransaction

2000-12-13 Thread Greg Wolfinger

cftransaction is supposed to wrap a group of querries that form a process.
Such as if someone was purchasing a product and three querries are used, one
to check the user/update user information, pull information from a shopping
cart, and submit the purchase data.  you would lock each one of theese
querrys and then wrap all three querries within a single
cftransaction/cftransaction tag.

Greg
- Original Message -
From: "Bud" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Wednesday, December 13, 2000 12:41 PM
Subject: cflock vs. cftransaction


 Hi all. When advancing the ID in a database by pulling up the max(id)
 as maxid then cfset newid = query.maxid + 1 and inserting the new
 record, I've always used cftransaction around the queries. This gives
 an error in MySQL that transactions aren't supported. Will using
 cflock do the same thing?

 cflock name="cust#attributes.dsn#" timeout = "10"
 queries
 here
 /cflock

 Thanks.
 --

 Bud Schneehagen - Tropical Web Creations

 _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
 ColdFusion Solutions / eCommerce Development
 [EMAIL PROTECTED]
 http://www.twcreations.com/
 954.721.3452


~~
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 Peter Theobald

In the corporate IT department, PHP is usually less of an option than CF. Also if a 
"corporate IT department" can't afford CFServer, then they have other problems, like 
how to run a web site on used Commodore-64s.

"The need to deliberate the issue further is a mute point."
I'd be careful about arguing this. It sounds like he strongly doesn't want to debate 
the facts, no matter who is right.

At 10:14 AM 12/13/00 -0700, Kelly Shepard wrote:
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. We do need
some other strengths in our department for those clients who don't want us
to host their application or don't have cf on their server, but, he wants a
complete switch.  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. I realize that changing
perceptions and old habits are sometimes difficult, but necessary.
Especially in our industry (high-tech).

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

Does anyone have any opinions on his security problems comment?  It seems
that alliare is pretty good about getting patches up - or we have just been
lucky and not had any problems.  And, would you agree that in the corporate
IT department cf is "usually" not an option?

Thanks in advance for any input.



~~
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 Kevin Schmidt

Tell your boss to go out to the garage and use the head puller to pull his
head out of his ass.  CF is far above PHP in my mind and why would you want
to tell all of your developers hey forget what you know and learn this new
technology.  I could understand if you were all COBOL programmers and wanted
to learn something new but CF is a great technology and as I said far
superior in my mind.


- Original Message -
From: "Kevin Schmidt" [EMAIL PROTECTED]
To: "Kevin Schmidt" [EMAIL PROTECTED]
Sent: Wednesday, December 13, 2000 12:39 PM
Subject: Fw: Another debate



 - Original Message -
 From: Kelly Shepard [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Wednesday, December 13, 2000 12:14 PM
 Subject: Another debate


  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. We do
need
  some other strengths in our department for those clients who don't want
us
  to host their application or don't have cf on their server, but, he
wants
 a
  complete switch.  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. I realize that changing
  perceptions and old habits are sometimes difficult, but necessary.
  Especially in our industry (high-tech).
 
  The need to deliberate the issue further is a mute point."
 
  Does anyone have any opinions on his security problems comment?  It
seems
  that alliare is pretty good about getting patches up - or we have just
 been
  lucky and not had any problems.  And, would you agree that in the
 corporate
  IT department cf is "usually" not an option?
 
  Thanks in advance for any input.
 
 
 
~~
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



ODBC Error 37000

2000-12-13 Thread Al Musella, DPM


I have been getting this error message a lot lately..  I have no idea where 
the problem is.
  When it happens, I have been rebooting the cold fusion server and sql 7 
server. Then it works for a while and then stops.


ODBC Error Code = 37000 (Syntax error or access violation) [Microsoft][ODBC 
SQL Server Driver][SQL Server]Database 'thethin' is already open and can 
only have one user at a time.


The most commonly executed querry is for a banner ad rotation I wrote, 
which calls a stored procedure.  I am pretty new at stored procedures... so 
I may have blew this badly:)


cfquery name="nextad" datasource="thethin" dbtype="ODBC"
  {  call getad(#cat_id#) }
/cfquery

The procedure is:

create procedure getad
   @cat_id integer
   as
   begin transaction
 declare @lastad_id int
 declare @nextad_id int
   declare @shown int

set @lastad_id = (select lastad_id from category where category_id = 
@cat_id)
set @nextad_id = (select min(ad_link) from ad_category_link where 
((category_link = @cat_id) and (ad_link  @lastad_id)))
set @shown = (select shown from ads where ad_id = @nextad_id) +1


  if @nextad_id is NULL
  begin
set @nextad_id = (select min(ad_link) from ad_category_link 
where (category_link = @cat_id) )
  end

  update category set lastad_id = @nextad_id where category_id= @cat_id
  update ads set shown= @shown where ad_id = @nextad_id
  select * from ads where ad_id = @nextad_id

   commit transaction 


~~
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 Cameron Childress

Sound like your "new boss" hasn't ever used CF, or bothered to even research
the validity of his claims.  PHP is a good addition to your skillset, but
throwing out all the CF experience and knowledge in your department and
forcing everyone to start at square one with learning PHP is not a smart
decision at all.  I would say the same, by the way, about anyone who came
into an all PHP department and said the same about instantly and
unilaterally switching to CF for all projects.

I really don't have the whole story, and don't know your situation, but
depending on the rest of the big picture, I'd quietly start putting together
a resume just in case you need it.  I would consider what you describe as a
bad omen and indicative of a dicator style of management.

While you're at it, maybe your whole department should start speaking French
rather than English...  Yeah that's just as stupid...

-Cameron


Cameron Childress
ElliptIQ Inc.
p.770.460.7277.232
f.770.460.0963

 -Original Message-
 From: Kelly Shepard [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 13, 2000 12:14 PM
 To: CF-Talk
 Subject: Another debate


 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. We do need
 some other strengths in our department for those clients who don't want us
 to host their application or don't have cf on their server, but,
 he wants a
 complete switch.  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. I realize that changing
 perceptions and old habits are sometimes difficult, but necessary.
 Especially in our industry (high-tech).

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

 Does anyone have any opinions on his security problems comment?  It seems
 that alliare is pretty good about getting patches up - or we have
 just been
 lucky and not had any problems.  And, would you agree that in the
 corporate
 IT department cf is "usually" not an option?

 Thanks in advance for any input.



~~
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 Milks, Jim

In my opinion, he heard that the other CTOs on the Golf Course said CF was
"junior" and, heaven forbid, costs money! This is a common problem. Don't
resist. You're skill set will be greatly improved, and he will be
accountable for the longer development times and issues with a great, but
not yet mature technology in PHP.

Jim

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 12:30 PM
To: CF-Talk
Subject: Re: Another debate


As long as you write good code and follow all the security notes from the
Allaire security zone, there is no security problem. From the tone and
message of the email, he doesn't really care to hear the truth about it.
To be honest, PHP has its strengths, but its still a script based language
rather than a tag based one which means its slower to write than CF when
integrating into HTML and doing output. Its DB work isn't all to good and
the error handling is almost non-existent. If you look on the PHP site,
there's actually a rather informative comparison of the two on some
features.
If the boss wants to listen and add PHP to your companies skill set, then
I'd agree with him. If he just wants to dump all of the CF stuff for PHP,
then argue with him about it. Bring your proofs and back it up with the fact
that CF is accepted by the corporate industry while PHP isn't (yet).


 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. We do need
 some other strengths in our department for those clients who don't want us
 to host their application or don't have cf on their server, but, he wants
a
 complete switch.  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. I realize that changing
 perceptions and old habits are sometimes difficult, but necessary.
 Especially in our industry (high-tech).

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

 Does anyone have any opinions on his security problems comment?  It seems
 that alliare is pretty good about getting patches up - or we have just
been
 lucky and not had any problems.  And, would you agree that in the
corporate
 IT department cf is "usually" not an option?

 Thanks in advance for any input.



~~
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 Sean Daniels

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

Ouch. Does he/she mean "moot" point perhaps?

I feel for you. 

- Sean


  Sean Daniels
  Manager, Engineering
  Marketplace Technologies
  (t) 207.439.6030
  (c) 207.332.6340 


http://www.dealforce.com
http://www.dealstream.com
http://www.mergernetwork.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: NT to Solaris

2000-12-13 Thread James Maltby

Have you got write permissions for the server?  You may also need to chmod
the file you are writing - attribute chmod=777 - I think...)

James

"You're a big man, but you're out of shape.  With me it's a full time job.
Now behave yourself."
 "Get Carter" 1964


-Original Message-
From: Jeff Britts [mailto:[EMAIL PROTECTED]]
Sent: 13 December 2000 17:50
To: CF-Talk
Subject: NT to Solaris


I'm in the process of moving an application from CF on NT to CF on Solaris.
 
Im running into a problem with using CFFILE, where I'm trying to write the
file to another server.
 
Any suggestions?  It's not catching any exceptions.
~~
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 PHP v CF

2000-12-13 Thread Steve Pierce

Kelly,

your boss wrote:
 switch from ... cold fusion to  PHP.
 The need to deliberate the issue further is a mute point.

Forget it, your boss said he doesn't want to debate it, he wants to switch
from CF to PHP. Just switch. Look at all the new training classes you will
get to attend learning new skills. It helps you become more marketable and
worth more to the company and to outside companies looking to hire. The
first person to jump on board is going to go to the most classes, get the
best training, the newest books and the best computer. I am not saying be a
suck-up, but if they want PHP, then do PHP.

You have to look at this as a core value decision. If this is a core value
issue that compromises your ethics, then quit. You can't stay at a company
and violate your core values.

For example core values would be you believe there is fraud; or the guy is
taking kickbacks from vendors; or there is stock manipulation that is
occurring. If this is happening you have to bail. But if it isn't a core
value issue take it as a new opportunity to make yourself more marketable.

Cover your ass, write a letter to your boss, and make it a nice one saying
that you think switching from CF may cost the company a lot of money. But
that if he believes switching to PHP is better for the company and will
shorten delivery times of projects, then you support that decision. Keep it
short and to just one page.

Don't fight it, just do it and move on. Can you imagine a developer that
knows PHP and CF. Pretty good credentials that makes it easier to demand
more money. This is a win for you, don't worry about it.

 - Steve

Steve Pierce, HDL
"Co-Location starting $99 per month, no setup fee"
(734) 482-9682 | mailto:[EMAIL PROTECTED] | http://HDL.com



-Original Message-
From: Kelly Shepard [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 12:14 PM
To: CF-Talk
Subject: Another debate


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. We do need
some other strengths in our department for those clients who don't want us
to host their application or don't have cf on their server, but, he wants a
complete switch.  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. I realize that changing
perceptions and old habits are sometimes difficult, but necessary.
Especially in our industry (high-tech).

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

Does anyone have any opinions on his security problems comment?  It seems
that alliare is pretty good about getting patches up - or we have just been
lucky and not had any problems.  And, would you agree that in the corporate
IT department cf is "usually" not an option?

Thanks in advance for any input.
~~
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: NT to Solaris

2000-12-13 Thread Aaron Johnson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jeff,

It sounds like you are moving a file from one server to another using
CFFILE?

Does the server (ie the Solaris box running CF) have CF running under
an account that has permissions to access the other server?

Aaron Johnson, MCSE, MCP+I
MINDSEYE, Inc.
phn617.350.0339
fax949.350.8884
icq66172567
[EMAIL PROTECTED]

___
"Never forget that only dead fish swim with 
the stream." -- Malcolm Muggeridge
___


- -Original Message-
From: Jeff Britts [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 12:50 PM
To: CF-Talk
Subject: NT to Solaris


I'm in the process of moving an application from CF on NT to CF on
Solaris.
 
Im running into a problem with using CFFILE, where I'm trying to
write the
file to another server.
 
Any suggestions?  It's not catching any exceptions.
~~
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: Allaire ColdFusion Sample Script DoS Vulnerability

2000-12-13 Thread Aaron Johnson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Notice the workaround...

"You should remove the CFDOCS directory. In a typical installation,
that directory resides at:

{webroot}/CFDOCS/"

Anyone that has the sample scripts on their production CF box should
be flogged anyway This isn't a ColdFusion Vulnerability as much
as it is an administration issue.  

Aaron Johnson, MCSE, MCP+I
MINDSEYE, Inc.
phn617.350.0339
fax949.350.8884
icq66172567
[EMAIL PROTECTED]

___
"Never forget that only dead fish swim with 
the stream." -- Malcolm Muggeridge
___


- -Original Message-
From: Robert Everland [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 12:51 PM
To: CF-Talk
Subject: Allaire ColdFusion Sample Script DoS Vulnerability


http://www.securityfocus.com/frames/?content=/vdb/%3Fid%3D2094

Robert Everland III
Web Developer
Dixon Ticonderoga
~~
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 Jamie Keane

Well, the two are really different critters.  It could be said that PHP is
more secure since it is open source, therefore flaws can, in theory, be
discovered (and hopefully patched) quicker.  As for other discussion along
the lines of "CF is a better platform because it's easier to write in", it
really depends on your style of programming.  If you're most comfortable
dealing with logical pseudo-extensions to an HTML-style programming system,
of course CF is for you.  It's tag-based to ease the transition between
static HTML and dynamically-generated templates.  PHP, OTOH, is very
reminiscent of Perl, so if your department is strong in Perl you'll love
PHP.

The down side of PHP is its fairly non-existant error handling capabilities
and lack of DB abstraction.  You will have to be familiar with different
function sets to use different DBs.  If you're a non-programmer, it is a bit
trickier to learn, since you'll have to work with creating file pointers and
whatnot on occasion.  And PHP doesn't include Verity or any other nifty
toys, so you're on your own.  On the plus side, PHP currently supports
user-defined functions, which makes for very structured, elegant code.

I haven't tried out PHP's session support, however, so I can't comment on
that.  Chances are, though, that CF has a better implementation, though,
simply because CF has had session support longer.

Also, what web server/OS are you running?  That's also a big part of the
picture, and arguably more important than the application server you're
using.

Jamie
(best tool for the job, et cetera, et cetera)

--
Jamie Keane
Programmer
SolutionMasters, Inc.
9111 Monroe Rd., Suite 100
Charlotte, NC  28270
www.solutionmasters.com
704.563.5559 x 228  Voice
704.849.9291  Fax
-Original Message-
From: Kelly Shepard [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Date: Wednesday, December 13, 2000 1:04 PM
Subject: Another debate


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. We do need
some other strengths in our department for those clients who don't want us
to host their application or don't have cf on their server, but, he wants a
complete switch.  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. I realize that changing
perceptions and old habits are sometimes difficult, but necessary.
Especially in our industry (high-tech).

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

Does anyone have any opinions on his security problems comment?  It seems
that alliare is pretty good about getting patches up - or we have just been
lucky and not had any problems.  And, would you agree that in the corporate
IT department cf is "usually" not an option?

Thanks in advance for any input.



~~
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: cflock vs. cftransaction

2000-12-13 Thread Cameron Childress

True, transactions are not supported in MySQL.  A CFLOCK would not create a
database transaction, and would not provide some of the benefits of
transactions such as rollback, but in this case it would have a similar
effect of making sure that no-one else was generating a new ID at the same
time.  You would have to use an application wide, named, exclusive lock for
it.  Your code looks like it might do if you set it up as an exclusive
lock...

-Cameron


Cameron Childress
ElliptIQ Inc.
p.770.460.7277.232
f.770.460.0963

 -Original Message-
 From: Bud [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 13, 2000 12:41 PM
 To: CF-Talk
 Subject: cflock vs. cftransaction


 Hi all. When advancing the ID in a database by pulling up the max(id)
 as maxid then cfset newid = query.maxid + 1 and inserting the new
 record, I've always used cftransaction around the queries. This gives
 an error in MySQL that transactions aren't supported. Will using
 cflock do the same thing?

 cflock name="cust#attributes.dsn#" timeout = "10"
 queries
 here
 /cflock

 Thanks.
 --

 Bud Schneehagen - Tropical Web Creations

 _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
 ColdFusion Solutions / eCommerce Development
 [EMAIL PROTECTED]
 http://www.twcreations.com/
 954.721.3452


~~
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 Allan Pichler

You're using the wrong division symbol!

/ returns a regular division

\ returns the integer result of a regular division, that means ... no
decimals!

Allan Pichler
Machine Dreams Inc.

-Original Message-
From: Rick Lamb [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 9:02 AM
To: CF-Talk
Subject: division


This was suppose to be easy...

I'm trying to divide a recordcount by 100 and then round up. Currently my
recordcount is 162 and i'm using the ceiling function to round up but it
keeps giving me 1. I've tried using number format and decimal format with no
luck. Any suggestions? Code below:

cfset temp = decimalFormat(getdealers.recordcount\100)
cfset variables.totalpages = ceiling(temp)

Thanks,

Rick
~~
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: Just a stray thought

2000-12-13 Thread Jamie Keane

Yes, I'm interested too.  Send it on up!

--
Jamie Keane
Programmer
SolutionMasters, Inc.
9111 Monroe Rd., Suite 100
Charlotte, NC  28270
www.solutionmasters.com
704.563.5559 x 228  Voice
704.849.9291  Fax
-Original Message-
From: Andres [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Date: Wednesday, December 13, 2000 12:13 PM
Subject: RE: Just a stray thought



Can you send the URL where you read this??


-Original Message-
From: Gregory Harris [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 11:36 AM
To: CF-Talk
Subject: Just a stray thought


Ok, this is meant as no shameless plug but I read on their website:

UPS expects to receive 5 million tracking requests on their website per day
especially on their peak days (it reads something like that)

Your mission: build a Cold Fusion application for UPS that could handle
such
a beating, how would you do this?  Bear in mind:

1) You will have to search through a database of approximately 245 million
records (packages delivered)

2) 5 million per day equals 60 per second, transactional integrity has to
be
TIGHT!

3) Money is no real object (UPS needs this to work some how, but be
realistic in terms of "what you get is what you pay for")

Who's up for this?

Gregory Harris
Web Developer
Stirling Bridge Group LLC

~~
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



LDAP constraints

2000-12-13 Thread Jason Egan

I'm using LDAP for a login process.  like a query where I can restrict with
a where clause, I would like to do the same thing with LDAP.  so that only
one record is returned where the un and pw match exactly.

I've tried using the filter attribute, but I either get one or the other, or
both.

filter="(cn=jegan)(userpassword=bixby)"

this gives me both.

to test I have two users with the same user name but different passwords.

Any suggestions?  I'm sure there has to be a query language of some sort we
can use with cf's LDAP code... like the search language with verity?

thank you,
Jason Egan


~~
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: Allaire ColdFusion Sample Script DoS Vulnerability

2000-12-13 Thread Dave Watts

 Subject: Allaire ColdFusion Sample Script DoS Vulnerability

This is kind of silly. It's a sample script exploit. You should never
install sample scripts onto any production server. Period. If you do, bad
things can happen to you. In fact, by default, I think that CF doesn't even
install sample scripts any more, unless you tell it to during the install
process.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~
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 Joe Sheble aka Wizaerd

I'm currently going through the same thing, except my new IT director's
pushing for ASP and Java... ick...

If he'd suggest PHP, I'd be all for it since I know PHP intimately, (and
personally prefer it over CF, but that's strictly my opinion)

- Original Message -
From: "Michael Dinowitz" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Wednesday, December 13, 2000 10:29 AM
Subject: Re: Another debate


 As long as you write good code and follow all the security notes from the
 Allaire security zone, there is no security problem. From the tone and
 message of the email, he doesn't really care to hear the truth about it.
 To be honest, PHP has its strengths, but its still a script based language
 rather than a tag based one which means its slower to write than CF when
 integrating into HTML and doing output. Its DB work isn't all to good and
 the error handling is almost non-existent. If you look on the PHP site,
 there's actually a rather informative comparison of the two on some
 features.
 If the boss wants to listen and add PHP to your companies skill set, then
 I'd agree with him. If he just wants to dump all of the CF stuff for PHP,
 then argue with him about it. Bring your proofs and back it up with the
fact
 that CF is accepted by the corporate industry while PHP isn't (yet).


  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. We do
need
  some other strengths in our department for those clients who don't want
us
  to host their application or don't have cf on their server, but, he
wants
 a
  complete switch.  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. I realize that changing
  perceptions and old habits are sometimes difficult, but necessary.
  Especially in our industry (high-tech).
 
  The need to deliberate the issue further is a mute point."
 
  Does anyone have any opinions on his security problems comment?  It
seems
  that alliare is pretty good about getting patches up - or we have just
 been
  lucky and not had any problems.  And, would you agree that in the
 corporate
  IT department cf is "usually" not an option?
 
  Thanks in advance for any input.
 
 
 

~~
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 ron

 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. We do need
 some other strengths in our department for those clients who don't want us
 to host their application or don't have cf on their server, but,
 he wants a
 complete switch.  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. I realize that changing
 perceptions and old habits are sometimes difficult, but necessary.
 Especially in our industry (high-tech).

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

 Does anyone have any opinions on his security problems comment?

He sounds like a real piece of work. Tell him that until he learns how to
spell "moot" that he shouldn't be making middleware recommendations. :)

-ron




~~
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: Allaire ColdFusion Sample Script DoS Vulnerability

2000-12-13 Thread Lord, Heath

Ancient History.
Remove Docs and Sample Apps.
If I remember correctly, this was corrected with the release of 4.0.1

Heath

-Original Message-
From: Robert Everland [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 12:51 PM
To: CF-Talk
Subject: Allaire ColdFusion Sample Script DoS Vulnerability


http://www.securityfocus.com/frames/?content=/vdb/%3Fid%3D2094

Robert Everland III
Web Developer
Dixon Ticonderoga
~~
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 - absolute rubbish.

2000-12-13 Thread JustinMacCarthy

Most "security issue" in ColdFusion are problems with IIS not ColdFusion or
problems in standard security. There have been a couple of exceptions (the
Expression Evaluator and samples mostly), but most are not the fault of CF.

If he is comparing PHP on Unix to CF on NT, it's not really a fair
comparison, is it?

As for cost. The cost of a few days extra time programming nearly covers the
application.

Why don't you ask him about these security issues??? What are they ? Is he
talking about webserver or system security? Or CF ?

And before I get into a flame war here, I do use PHP ,and Perl, C/C++, Java
(JRun is great BTW )and CF others , NT and *nix. I prefer do prefer PHP for
some stuff  (can't wait for cfscript to get better ), and with Zope it's
very fast but CF is cool too, and I've been using it since CF V1.5ish with
success. Why stop now?

~J

However, in the corporate IT department, CF is usually not an
 option due to cost and security problems. I realize that changing
 perceptions and old habits are sometimes difficult, but necessary.
 Especially in our industry (high-tech).

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


~~
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 Tom Espen Pedersen

Try using cfset temp = decimalFormat(getdealers.recordcount/100)

Sincirely
Tom Espen Pedersen
developer
www.pixelduck.com


- Original Message -
From: "Rick Lamb" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Wednesday, December 13, 2000 6:02 PM
Subject: division


 This was suppose to be easy...

 I'm trying to divide a recordcount by 100 and then round up. Currently my
 recordcount is 162 and i'm using the ceiling function to round up but it
 keeps giving me 1. I've tried using number format and decimal format with
no
 luck. Any suggestions? Code below:

 cfset temp = decimalFormat(getdealers.recordcount\100)
 cfset variables.totalpages = ceiling(temp)

 Thanks,

 Rick



~~
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 Peter Theobald

One big difference: in PHP you will have to write database-vendor specific code. The 
code to use Sybase is different than SQLServer is different than Oracle, etc.
If portability is important, then that will be a problem.

At 12:29 PM 12/13/00 -0500, Michael Dinowitz wrote:
As long as you write good code and follow all the security notes from the
Allaire security zone, there is no security problem. From the tone and
message of the email, he doesn't really care to hear the truth about it.
To be honest, PHP has its strengths, but its still a script based language
rather than a tag based one which means its slower to write than CF when
integrating into HTML and doing output. Its DB work isn't all to good and
the error handling is almost non-existent. If you look on the PHP site,
there's actually a rather informative comparison of the two on some
features.
If the boss wants to listen and add PHP to your companies skill set, then
I'd agree with him. If he just wants to dump all of the CF stuff for PHP,
then argue with him about it. Bring your proofs and back it up with the fact
that CF is accepted by the corporate industry while PHP isn't (yet).


 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. We do need
 some other strengths in our department for those clients who don't want us
 to host their application or don't have cf on their server, but, he wants
a
 complete switch.  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. I realize that changing
 perceptions and old habits are sometimes difficult, but necessary.
 Especially in our industry (high-tech).

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

 Does anyone have any opinions on his security problems comment?  It seems
 that alliare is pretty good about getting patches up - or we have just
been
 lucky and not had any problems.  And, would you agree that in the
corporate
 IT department cf is "usually" not an option?

 Thanks in advance for any input.




~~
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: query between 2 database types

2000-12-13 Thread Greg Wolfinger

Eli:

I know that Novell puts out a product that lets you connect sql server,
oracle, access, db2, etc... all together and use them as a virtual single
database.  I believe its called SQL Everywhere (but I'm really not sure).

Greg
- Original Message -
From: "Eli Shechter" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Wednesday, December 13, 2000 1:25 PM
Subject: query between 2 database types


 Hi

 I recently started using a program that runs off a oracle database, and my
 website runs off SQL server 7.0

 how can I run a query so that within one query I can pull data from both
 databases?


 Thank You

 Eli Shechter



~~
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



HELP: List questions...

2000-12-13 Thread Gary McNeel, Jr.

I am working with ascii delimited data, trying to read them into a SQL
Server table through a web browser interface. After it is all working I want
to convert it to a scheduled event.

The ascii is currently delimited by the pipe (|) with no enclosing quotes on
the fields. CRLF defines the start of a new record. It is output by a third
party program. I can change the delimiter and quotes inside the program
prior to output.
Ex.
197330|AY|20001211|25|88|20001211|Fall|2001|Li|Benhig19710706|Beijing,Ch
ina|Male|[EMAIL PROTECTED]|61|||214||DongYingFang
907-5-9|DongGaoDi|Beijing||61|100076|20101231||DongYingFang
907-5-9|DongGaoDi|Beijing||61|100076|DongYingFang
907-5-9,DongGaoDi|Beijing||61|100076|20011231|||235|numerical
analysis|Ph.D.|1||Full Time|||ErPao Institute of
Technology|09/88|07/92|BS|07/92|3.5|ErPao Institute of
Technology|09/93|03/96|MS|03/96|3.4|Automatic
Control Engineering|3.5|4.0|Aerocraft Control,Guide and Simulatio;MS||Other
(specify
below)|English|12/99|480|54|800|99|730|9108/00|643|||Liao|Professor.Grad
uate Adviser|ErPao Institute of Technology|Zhang|Professor,Graduate
Adviser|Capital Normal University|Ke|Professor,PhD|National Natural
SciChinese Academe of Launch Vehicle
Tech.|Beijing|04/96|08/00|Engineer|

I can read it into a textarea field with no problem using CFFILE. I can even
do a simple ListLen to get the number of records in the file. Works fine so
far.

cfoutput
cfset cr = chr(13)  chr(10)
pThe import list contains #ListLen(AIMxport, "#cr#")# records./p
cfset reccountno = #ListLen(AIMxport, "#cr#")#
/cfoutput

Next I submit this to the processing page.
Ex.
!-- Testing page --
cfset id = 1

cfset cr = chr(13)  chr(10)

!---

This is where I am trying to make all fields appear, not working though
 cfset AIMList = "#ListQualify(AIMLIST, ,"|","ALL")#"

---

cfloop index="LoopCount" from="1" to="#reccount#"
cfoutput
h4Main List Element #id# - Test ListGetAt function to get individual lines
in the big list./h4

cfset fulllist = "#ListGetAt(AIMList, "#id#", "#cr#")#" 
pList length #id#: #ListLen(fulllist, "|")#/p
pb#id#/b - #fulllist#/ppnbsp;/p
!--- pb#id#/b - #ListGetAt(AIMList, "#id#",
"#CR#")#/ppnbsp;/p ---

h4Main List Element #id# - Test Getting Individual Field Elements in the
list/h4
/cfoutput

cfset listcount = #ListLen(fulllist, "|")#

cfset fieldid = 1

cfloop index="LoopCount1" from="1" to="#listcount#"

cfoutputb#fieldid#/b - #ListGetAt(fulllist, "#fieldID#",
"|")#/cfoutputbr

cfset fieldid = fieldid + 1 

!--- The insert would happen here abouts. We need to insert each field
into the tblApplicantPreload by looping through the list. ---

/cfloop
cfset id = id + 1 
/cfloop


So far I can run the above and it all prints fine. Each full record appears
in the top and then a list of fields appears below it.

PROBLEM
Missing fields. I cannot figure out how to make the list function show
fields that contain no data. It just seems to drop them, they do not appear
in the output. I have tried ListQualify and that does not seem to help. Am I
missing something here? Do lists not include the blank fields. The first
record runs and shows 92 total fields (ListLen) the next record runs and
shows only 67 fields. The second record has less data filled in by the user.
I can see all of the fields in the input side. Frustrating the heck out me.
Any better way to do this?

Regards,

Gary McNeel, Jr.
DACNet Project Manager
Research and Graduate Studies
Rice University
[OP] 713-348-6266
[M] 713-962-0885
[HO] 713-723-9240


~~
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: Slightly OT....Javascript question

2000-12-13 Thread Jay Brushett

Use the eval function.

eval("document.Slider" + i + ".GetValue()");

Roughly.

Jay

At 05:48 PM 12/13/2000 +, you wrote:
OK guys and girls...slightly ot question but it's bugging me!  In part of a
Javasript function I am trying to loop through a collection of controls and
adding their value to a list which is then the value of a text box.  Here is
the code:

var i = 1;
   while(i = document.skills.slidercount.value)
{
document.skills.slidervalues.value =
document.skills.slidervalues.value + "," + document.{"Slider" + value of
i}.GetValue();
i = i + 1;
}

'Skills' is a form.
Slidercount.value = 34.
Slidervalues is a textbox

What I need to do is replace .{"Slider" + value of i} with Slider1, Slider2,
Slider3, etc. until Slider.34.  Is there a way to dynamically create
this variable name?
--
Andrew Ewings
Project Manager
Thoughtbubble Ltd
http://www.thoughtbubble.net
--
United Kingdom
http://www.thoughtbubble.co.uk/
Tel: +44 (0) 20 7387 8890
--
New Zealand
http://www.thoughtbubble.co.nz/
Tel: +64 (0) 9 419 4235
--
The information in this email and in any attachments is confidential and
intended solely for the attention and use of the named addressee(s). Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Thoughtbubble. This information may be
subject to legal, professional or other privilege and further distribution
of it is strictly prohibited without our authority. If you are not the
intended recipient, you are not authorised to disclose, copy, distribute, or
retain this message. Please notify us on +44 (0)207 387 8890.




~~
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: query between 2 database types

2000-12-13 Thread Allan Pichler

To the best of my knowledge, you can't !

I believe that feature will be available in CF 5, but you would stil need to
run 2 queries. The new feature in CF 5 allows you to run queries on existing
recordsets! As you probably know you can only specify one DATASOURCE pr.
query, so accessing 2 from one query is not possible.

Ask "mice" (-- irc handle) i believe he's working for the same company as
you. (thesquare.com)

Allan Pichler
Machine Dreams Inc.

-Original Message-
From: Eli Shechter [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 10:26 AM
To: CF-Talk
Subject: query between 2 database types


Hi

I recently started using a program that runs off a oracle database, and my
website runs off SQL server 7.0

how can I run a query so that within one query I can pull data from both
databases?


Thank You

Eli Shechter
~~
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: Cookie timeouts

2000-12-13 Thread Lord, Heath

To quote the cookie definition, Expires = Optional. Schedules the expiration
of a cookie variable.  Can be specified as a date (as in 10/09/99), number
of DAYS (as in 10, 100), now, or Never.  Using NOW deletes the cookie.

ie, store the date time in a cookie, compare it and time it out based on
that, otherwise, you have a 1 day cookie.

-Original Message-
From: Gordon Burns [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 12:53 PM
To: CF-Talk
Subject: Cookie timeouts


I thought that this worked.


CFCOOKIE NAME="timer" VALUE="OK" EXPIRES="#CreateTimeSpan(0,1,0,0)#"

It does not! but this does

CFCOOKIE NAME="timer" VALUE="OK" EXPIRES="#CreateTimeSpan(1,0,0,0)#"

which sets the cookie to expire after 1 day or 24 hours.

I want the cookie to expire after 1 hour and cause the user to
login again. I may need to alter to 30 mins later.

What have I done wrong?

TIA

Gordon
~~
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



Translating some ASP to CF

2000-12-13 Thread Todd Ashworth

I have this VB code chunk that creates 2 instances of a COM object, the
purpose of which is to encode a .wav file into a .asf file.  Does anyone
know how to translate this into ColdFusion?  I've been messing with it on
and off for 2 months, but I haven't gotten it to work yet.

'Create multiple instances of the encoder object
  Dim Encoder1 As Object
  Dim Encoder2 As Object
  Set Encoder1 = CreateObject("ASF.RealTimeEncoder")
  Set Encoder2 = CreateObject("ASF.RealTimeEncoder")

'Load previously created Windows Media stream descriptor file for Encoder1.
  Encoder1.LoadASD("C:\SampleConfig1.asd")

'Load a different descriptor file for Encoder2.
  Encoder2.LoadASD("C:\SampleConfig2.asd")

'Reset the input file name of the source to be encoded for Encoder1
  Encoder1.InputSourceFile = "C:\sample.wav"

'Start encoding
  Encoder1.Start
  Encoder2.Start

'Check if Encoder1 has started encoding
  If Encoder1.IsStarted Then
   MsgBox("Encoder1 is encoding")
  Else
   MsgBox("Encoder1 is not encoding.")
  End If

'Start Encoder1 recording the content previously set in the descriptor
'stream file assigned to it
  Encoder1.RecordStart

'Change the output file name for Encoder2 after the encoder starts
'recording
  Encoder2.RecordStop
  Encoder2.RecordMaxSize = 5000
  Encoder2.RecordFileName = "C:\MyNewOutputFileName.asf"
  Encoder2.RecordStart

'Stop Encoder1 and Encoder2 recording to files
  Encoder1.RecordStop
  Encoder2.RecordStop

'Stop all encoding
  Encoder1.Stop
  Encoder2.Stop

'Release the encoder objects from memory
  Set Encoder1 = Nothing
  Set Encoder2 = Nothing


Todd Ashworth



~~
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: Allaire ColdFusion Sample Script DoS Vulnerability

2000-12-13 Thread Jeff Sarsoun

This exploit should not effect most sites, considering sample code should
not be installed on a production server in the first place.  This goes back
to other exploits that exist due to sample code that was installed by
Allaire in previous versions.

Jeff Sarsoun

-Original Message-
From: Robert Everland [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 12:51 PM
To: CF-Talk
Subject: Allaire ColdFusion Sample Script DoS Vulnerability


http://www.securityfocus.com/frames/?content=/vdb/%3Fid%3D2094

Robert Everland III
Web Developer
Dixon Ticonderoga
~~
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



DOS vulnerability in ColdFusion servers

2000-12-13 Thread Alex Aguilar

The solution {remove CFDOCS directory} presented for this "vulnerability"
is something I'd heard was an advisable thing to do for  production servers
in the past.
So many of you may already know this but I thought it would be a good thing
to post.
I thought it might also be a good opportunity to review other CF security
"rules of thumb".
Then again this may be more appropriate in the CFServer list.



- Vulnerability in ColdFusion servers -
   Oxygen3 24h-365d, by Panda Software
Los Angeles, 13 December 2000 -- The example pages of the ColdFusion
search engine could allow a hacker to launch a denial of service (DOS)
attack.

ColdFusion works as an extension to a web server in order to provide it
with more advanced programming capacities.  Its use as a web application
server is widespread in professional environments to develop Internet or
Intranet solutions.

The vulnerability discovered in ColdFusion affects some  scripts that
are optionally loaded by the administrator during configuration. If the
administrator decides to enter the search engine scripts, a malicious
user could use the these pages in order to launch an attack which would
cause the server to fail.

The search engine ships as a component used to index directories to be
searched. This process uses a great deal of CPU space and only happens
when the search script detects that the directories in question are not
indexed. Due to the vulnerability, a malicious user could execute these
scripts remotely from a web browser.

During the indexing process, CPU use reaches some 70%. The problem
becomes more serious  because of the possibility that the attacker has
of multiple script executions, which can increase CPU use to 100%. This
total consumption of system resources causes the ColdFusion server to
fail and not respond to any more requests. In order to restore normal
service it is necessary to restart the server, although to solve the
problem completely it is recommendable to remove the directory "CFDOCS"
created during normal installation.


To subscribe/unsubscribe, please send a
mail to [EMAIL PROTECTED] with the words
"subscribe oxygen3.com" or "unsubscribe oxygen3.com" (without quotes) in the
body
of the message.
If you have any questions about this news item, please contact:
mailto:[EMAIL PROTECTED]
Oxygen3 24h-365d is created and distributed daily by Panda Software.




~~
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 Allan Pichler

Your new boss obviously doesn't worry about development time since he
chooses PHP over CF, and the points about security issues is FR
out. Obviously your new boss need some professional (mental) help!

Allan Pichler
Machine Dreams Inc.

-Original Message-
From: Kelly Shepard [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 9:14 AM
To: CF-Talk
Subject: Another debate


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. We do need
some other strengths in our department for those clients who don't want us
to host their application or don't have cf on their server, but, he wants a
complete switch.  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. I realize that changing
perceptions and old habits are sometimes difficult, but necessary.
Especially in our industry (high-tech).

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

Does anyone have any opinions on his security problems comment?  It seems
that alliare is pretty good about getting patches up - or we have just been
lucky and not had any problems.  And, would you agree that in the corporate
IT department cf is "usually" not an option?

Thanks in advance for any input.
~~
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: Preventing zero-length file uploads to CFFILE

2000-12-13 Thread Phoeun Pha

i may be wrong, but any file with 0KB prolly doesn't exist!



-Original Message-
From: Milks, Jim [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 12:33 PM
To: CF-Talk
Subject: Preventing zero-length file uploads to CFFILE


Hi all,
I stumbled on an odd situatiuon, but need to fix it. IF you try to UPLOAD a
file with CFFILE that is 0 kb in size, CFFILE barfs. How can I restrict
this? I can't read the file until it is on my web server to determine the
file size. JavaScript can't do it either...

Help...

Jim
~~
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



OT: Internet/Intranet applications based of CF

2000-12-13 Thread Allan Pichler


Does anyone know of any companies that specializes in selling out-of-a-box
applications based on CF. My interest is based on the fact the my company
have developed a Intranet In-A-Box solution for small/midsize companies to
do project/client/contact/time management, that i'm trying to "get rid off".
:)

Thanks in advance!

Allan Pichler
Machine Dreams Inc.


~~
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: cflock vs. cftransaction

2000-12-13 Thread Christopher Olive, CIO

no, CFLOCK is only for restricting access to a server side variable.  DBs
don't benefit from this.

chris olive, cio
cresco technologies
[EMAIL PROTECTED]
http://www.crescotech.com



-Original Message-
From: Bud [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 12:41 PM
To: CF-Talk
Subject: cflock vs. cftransaction


Hi all. When advancing the ID in a database by pulling up the max(id)
as maxid then cfset newid = query.maxid + 1 and inserting the new
record, I've always used cftransaction around the queries. This gives
an error in MySQL that transactions aren't supported. Will using
cflock do the same thing?

cflock name="cust#attributes.dsn#" timeout = "10"
queries
here
/cflock

Thanks.
--

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452
~~
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: cftry cfcatch/cfcatch/cftry

2000-12-13 Thread Neil H.

This doesn't work. You can't have a page the contains just cftry included
with other stuff below it.  You would expect to since cfinclude just moves
the contents into the main page.  I want to use a standard code set for
error handling.  Also I don't want to rely on fusebox techniques since I
don't want url parameters.

Thanks,

Neil

- Original Message -
From: "Bud" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Wednesday, December 13, 2000 12:45 PM
Subject: Re: cftry cfcatch/cfcatch/cftry


 On 12/13/00, Neil H. penned:
 I just found, disappointingly enough that you can't have a cftry at the
 top of a document via a CFinclude and the rest in another include at the
 bottom?  Is there a work around.  I don't want to use a handler, and I
want
 the same error checking code on every page.
 
 Please advise or throw ideas (even bones will do)

 A bone:

 If you can put this at the VERY bottom and VERY top of every page,
 perhaps at the end of application.cfm and put the closing in
 OnRequestEnd.cfm?
 --

 Bud Schneehagen - Tropical Web Creations

 _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
 ColdFusion Solutions / eCommerce Development
 [EMAIL PROTECTED]
 http://www.twcreations.com/
 954.721.3452


~~
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: Preventing zero-length file uploads to CFFILE

2000-12-13 Thread Bernd VanSkiver

Sounds like a bug in cold fusion to me.  I don't know of any ways to verify
file size before uploading.  If anyone else does, I would like to know.

Bernd VanSkiver
[EMAIL PROTECTED]
ICQ #: 916324


-Original Message-
From: Milks, Jim [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 12:33 PM
To: CF-Talk
Subject: Preventing zero-length file uploads to CFFILE


Hi all,
I stumbled on an odd situatiuon, but need to fix it. IF you try to UPLOAD a
file with CFFILE that is 0 kb in size, CFFILE barfs. How can I restrict
this? I can't read the file until it is on my web server to determine the
file size. JavaScript can't do it either...

Help...

Jim
~~
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: [query between 2 database types]

2000-12-13 Thread Alex

not sure if you can. but you can query one DB then populate the results in a
temp table in the other DB

"Eli Shechter" [EMAIL PROTECTED] wrote:
Hi

I recently started using a program that runs off a oracle database, and my
website runs off SQL server 7.0

how can I run a query so that within one query I can pull data from both
databases?


Thank You

Eli Shechter
~~
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 Dylan Bromby


CFSET varname = #Round(getdealers.recordcount/100)#

or

CFSET varname = #Round(Evaluate(getdealers.recordcount/100))#

should work fine.

-Original Message-
From: Rick Lamb [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 9:02 AM
To: CF-Talk
Subject: division


This was suppose to be easy...

I'm trying to divide a recordcount by 100 and then round up. Currently my
recordcount is 162 and i'm using the ceiling function to round up but it
keeps giving me 1. I've tried using number format and decimal format with no
luck. Any suggestions? Code below:

cfset temp = decimalFormat(getdealers.recordcount\100)
cfset variables.totalpages = ceiling(temp)

Thanks,

Rick
~~
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 Phoeun Pha

who cares, just ask for a raise, 4 Christmas bonuses, and free parking - All
for learning PHP.  It's not your company anyways, it's your [insert ignorant
here] boss's













-Original Message-
From: Kevin Schmidt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 1:48 PM
To: CF-Talk
Subject: Re: Another debate


Tell your boss to go out to the garage and use the head puller to pull his
head out of his ass.  CF is far above PHP in my mind and why would you want
to tell all of your developers hey forget what you know and learn this new
technology.  I could understand if you were all COBOL programmers and wanted
to learn something new but CF is a great technology and as I said far
superior in my mind.


- Original Message -
From: "Kevin Schmidt" [EMAIL PROTECTED]
To: "Kevin Schmidt" [EMAIL PROTECTED]
Sent: Wednesday, December 13, 2000 12:39 PM
Subject: Fw: Another debate



 - Original Message -
 From: Kelly Shepard [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Wednesday, December 13, 2000 12:14 PM
 Subject: Another debate


  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. We do
need
  some other strengths in our department for those clients who don't want
us
  to host their application or don't have cf on their server, but, he
wants
 a
  complete switch.  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. I realize that changing
  perceptions and old habits are sometimes difficult, but necessary.
  Especially in our industry (high-tech).
 
  The need to deliberate the issue further is a mute point."
 
  Does anyone have any opinions on his security problems comment?  It
seems
  that alliare is pretty good about getting patches up - or we have just
 been
  lucky and not had any problems.  And, would you agree that in the
 corporate
  IT department cf is "usually" not an option?
 
  Thanks in advance for any input.
 
 
 
~~
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



  1   2   >