Server variable problem

2002-10-28 Thread Brian Fox
Hi -

Our school system is using three ColdFusion 5 servers to help students
register.  The three systems are clustered using a hardware switch.  There
are no concerns about session variables.  The switch shuffles out incoming
connections and pairs the incoming vs. server IP address in a cache for
eight or so hours.

Everything has been working fine for about six months.  A week ago, the
third server stopped working.  It generally gives errors like Error
resolving parameter ATTRIBUTES.ACTION  I've chased down that error, forced
the variable using CFSET just before and the template breaks again further
downstream.

I've run windiff to compare each template from server one against server
three.  They have the same exact code.  They run on the same exact hardware
platform.  So, it must be a problem with the web/CF server itself.  I
uninstalled CF and reinstalled for kicks.  That didn't help.

Has anyone run into this problem before?  I'd really appreciate some help on
avoiding the same problem in the future.  Luckily, this happened during our
down cycle.  But registration will start to bog down the other two servers
in a couple of weeks.

Thanks,
Brian

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



OT: Forging a web page

2002-09-24 Thread Brian Fox

Are there any tools that allow users change data in a cfm/html page?  

A fax of one of my web sites' pages made it to my desk yesterday.  A student
is challenging grades with a forged date in the banner of the web page.  I
know the date is forged because two separate systems have logged a different
date for the activity.  I'm curious to know how easy it is to copy a page,
all files included, and then modify it.  There's the right click save method
and notepad, but this is a little too convoluted and tedious. 

Are there any click and point type browser/editor hybrids that get a page
then allow editing the page?

Thanks,
Brian
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Using array syntax with a query

2002-09-18 Thread Brian Fox

Hi -

I could really use some help getting at a query result in round about ways.

Someone suggested to me that I could use array syntax to do this.  Something
along the line of:  
cfquery name=foo .../cfquery
cfoutput query=foo
#foo[1]#
/cfoutput

This doesn't work (just an example of what I'm hoping CF supports if the
syntax is right).  Is there any way to this?  That is, address the data in
foo without using any of the contents of columnlist?

What's causing the problem is a DB2 stored procedure that is returning
numbers for the column names.  i.e. the column list is 1,2,3,4.  The
variable foo.1 is illegal in ColdFusion.  It appears I can invoke the
procedure just fine, I just can't get at any of the returned data!

Thanks,
Brian
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Using array syntax with a query

2002-09-18 Thread Brian Fox

cfset foo.1 =rar
cfoutput#foo.1#/cfoutput

The same code breaks CF5.  It's cool that it works on CFMX.  I haven't had a
chance to use MX yet, but it sounds like the parser is a little more
forgiving.
  
Thanks for the correct syntax (and also from the earlier post from Raymond)!

-Original Message-
From: Thomas Chiverton [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 7:41 AM
To: CF-Talk
Subject: RE: Using array syntax with a query


 The
 variable foo.1 is illegal in ColdFusion. 

cfset foo.1 =rar
cfoutput#foo.1#/cfoutput

Works fine here on MX.

The syntax you want is like qQuery.columname[index] i.e. qList.1[1]

Thomas Chiverton




__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



DB2 stored procedure missing column names

2002-09-17 Thread Brian Fox

Calling a DB2 stored procedure such as:

cfquery name=StoredProc 
datasource=#attributes.db2source#
username=#attributes.db2account#
password=#attributes.db2pass#
{CALL TSIS.STORPRS6('R','123456789',NULL,NULL)}
/cfquery
cfoutput query=storedproc
#storedproc.columnlist#
/cfoutput

Produces:

1,2,3,4,5,6,7,8

I can't get to the data as variable references like #storedproc.1# produce a
CF error.  It seems like there must be a way to name the columns on a stored
procedure.

Which direction direction should this be tackled from?  Is this a DB2 stored
procedure error or is there some CF trick I've missed?

Thanks!
Brian  
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Hide URL

2002-08-12 Thread Brian Fox

Wouldn't a frameset hide the address bar of child frames?

-Original Message-
From: Cami Lawson [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 6:27 AM
To: CF-Talk
Subject: Hide URL


How can I hide the information passed in a URL?  I don't want the user to
see the variables in the address line.

TIA
Cami


__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Deployment software?

2002-08-02 Thread Brian Fox

Any recommendations for a multi-server deployment program?  I'm loosing
sleep on a new project I just finished that has multiple revisions/fixes a
week, a half dozen servers to mirror, and a client who wants it mirrored
after 10:00 PM.

Thanks,
Brian
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CFLOCK - will it make thread unsafe tags safe?

2002-06-30 Thread Brian Fox

Hi -

Will wrapping a thread unsafe cfx tag in a server scope lock make it thread
safe?

Thanks,
Brian
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Quick help

2002-06-24 Thread Brian Fox

There's no real types in ColdFusion.  So, just treat the year as a string.

cfset myyear=1990
cfset yy=right(myyear,2)
cfset century=left(myyear,2)

The variables yy and century will automagically typecast back to integers if
you use them as integers.

Not quite sure what you're trying to do, but if it's contructing a date, you
could do it a lot easier with dateformat and createdate.

 -Original Message-
 From: Kris Pilles [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 24, 2002 11:11 AM
 To: CF-Talk
 Subject: Quick help
 
 
 I have a control year 
 I need to trim the first 2 digits off of it inorder to use 
 the last 2 in
 a date 
 
 How can I do this?
 
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: DNS Havoc!!

2002-06-13 Thread Brian Fox

Considering there are many free alternatives?

 -Original Message-
 From: Phoeun Pha [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 13, 2002 12:02 PM
 To: CF-Talk
 Subject: RE: DNS Havoc!!
 
 
 Last Friday.  By the way the old host (very nasty) charged 
 49.95 for a DNS
 change!  u think they ripped us off?
 -Original Message-
 From: Joshua Tipton [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 13, 2002 2:35 PM
 To: CF-Talk
 Subject: RE: DNS Havoc!!
 
 
 How long ago did you change this sometimes it will take up to 
 24 hours to
 propogate around the world.
 
 Josh
 
 -Original Message-
 From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 13, 2002 3:30 PM
 To: CF-Talk
 Subject: RE: DNS Havoc!!
 
 
 I'm getting the nw IP from both 207.x.x.x and 68.x.x.x
 
 -mk
 
 -Original Message-
 From: Phoeun Pha [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 13, 2002 1:47 PM
 To: CF-Talk
 Subject: SOT: DNS Havoc!!
 
 
 Hey guys i just switched to a new host for the website 
www.entelligence.com

But for some reason it still pings to the old host IP address
Can you guys Ping the site and tell me (directly to my email) what address
you get?

The new host IP is 66.28.113.146
The old host IP is 209.113.73.92

The wierd thing is the other coputers in my office are pointing to the new
site!  I have set up my DNS information correctly too, but it's still
pointing to the old site.  ahhh!!!





__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Weird, inconsistent browser behavior

2002-06-04 Thread Brian Fox

Cookies disabled?

 -Original Message-
 From: Ian Lurie [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, June 04, 2002 2:32 PM
 To: CF-Talk
 Subject: Weird, inconsistent browser behavior
 
 
 Hi all,
 
 I've got an application on a server. If I, or anyone else I 
 know, browse the
 site, it works fine.
 
 ONE person is having the following problem: When they go to 
 the login screen
 and enter a username/password, they keep coming back to the 
 login page. And
 yes, they're entering the right password. It seems as if 
 their browser is
 ignoring the URL parameter that tells CF to go on to the next 
 page. They're
 using IE 5.5 SP1 on a Windows 2000 PC.
 
 Has anyone else experienced this?
 
 Ian
 
 Portent Interactive
 Helping clients build customer relationships on the web since 1995
 Consulting, design, development, measurement
 http://www.portentinteractive.com
 Talk with us: http://projects.portentinteractive.com
 
 
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CFAuthorize tag / authorize.net

2002-05-10 Thread Brian Fox

Hi -

We're forging into e-commerce for the first time - accepting student fee
payments online.  We're almost certainly going to pick authorize.net as the
credit card company.

Athorize.net endorses a custom tag CFAuthorize pretty heavily.  But from
reading the description, it sounds like it's just a simple wrapper around an
http post.  Is it worth the cost?

Thanks,
Brian
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF Mas 90

2002-04-26 Thread Brian Fox

Hi -

Does ColdFusion allow CFTRY blocks to be nested?  I thought it did, but
after writing nested error handling, whenever I rethrow an error from the
inner block, I do not get the outer block's catch clause.  I get the CF
default error handler.

I'm using cfinclude a bit - would that cause problems?

Thanks,
Brian
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Nested CFTRY blocks

2002-04-26 Thread Brian Fox

Oops. Sorry for the double post.

Hi -

Does ColdFusion allow CFTRY blocks to be nested?  I thought it did, but
after writing nested error handling, whenever I rethrow an error from the
inner block, I do not get the outer block's catch clause.  I get the CF
default error handler.

I'm using cfinclude a bit - would that cause problems?

Thanks,
Brian
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Auto logout when leaving the application

2002-04-03 Thread Brian Fox

What's the best way of handling security for a website that may be used in a
kiosk mode?  I'm working on a student grade system that does a one time
validation and sets a session variable.  Timeout is 15 minutes.

John may log into the system using a lab computer to retrieve his student
grades, become confused, wander to yahoo, read his mail, then leave the
computer as is.  Sue may come in to use the same machine, go to the grade
application to get her grades, and still be logged in as John.  Is there a
good way to avoid this?

I'm thinking about mangling the referer variable and zapping the session
variables if the referer is not from the application.

 i.e. cfif left(CGI.HTTP_REFERER,X) is not http://www.gradesrus.com/; ...
session.auth=0  

That would solve the 'lost' client wandering out of the site.  Leaving the
site is equivalent to logging out then (more or less).

What about a javascript warning when a person is going to leave the
application?  I'm not a javascript guru, but it seems like an onunload in
the body should be able to give a popup alert and hopefully the ability to
cancel the outside navigation.  Anyone ever try it?

Is there a better approach to this?

Thanks!
Brian  

__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



MS Access - Updating a date value broke

2002-03-21 Thread Brian Fox

Hi -

Here's a query that is run against a Microsoft Access database.  It has been
working fine for a few years now, but has suddenly broke.  Starting this
month, Access is recording the DATE_SUBMITTED as a time value, usually
around 12:00 AM, instead of a date.  The last recorded correct date is
1/8/2002.  

Anyone know what would cause this?

cfquery name=ClassSubmit datasource=facultygrade
update courses 
set WEB_STATUS=2,DATE_SUBMITTED=#dateformat(now(),MM/DD/)# 
Where CRN='#attributes.crn#' and 
 (INSTRUCTOR_ID_1='#User#' or INSTRUCTOR_ID_2='#User#' or
INSTRUCTOR_ID_3='#User#')
/cfquery

Thanks,
Brian
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CF Studio 5.0 and net shares

2002-01-30 Thread Brian Fox

I'm using Studio 5.0 for the first time over a DSL powered VPN.  For the
most part, it works fine.  

It does have one annoying side effect.  Whenever I blur then refocus Studio,
the file resource tab (a shared network directory) refreshes.  It takes a
few minutes to read perhaps a directory of 40-50 files.  In the meantime,
Studio can't be used.  I don't know why it's so sluggish.  Running dir from
a command prompt (Windows 2000) takes just a second or two in comparison.

Is RDS the way to fix this?  How about an app that handles this better,
perhaps textpad?  

Thanks,
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



SOT: DB2 table locking

2002-01-04 Thread Brian Fox

Is there a way to check for DB2 table locking via Cold Fusion?  Looking for
minimal impact on db design - preferrably using just an ODBC query.

Thanks!
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



MS Access: True/False Questions

2001-12-05 Thread Brian Fox

You really shouldn't use MS Access with Cold Fusion... (it's probably a
given that this is true, but with California State budget cuts, it'll be a
while before we save up enough pennies to buy anything better)

If you do use MS Access, you should set CF's threads to 1:  T/F?

If you do use MS Access, and set the threads  1, you risk corrupting your
DB:  T/F?

If you could share references to the above question, I'd appreciate it.
I've been searching through Allaire's KB and haven't had much success.

Thanks,
~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: MS Access: True/False Questions

2001-12-05 Thread Brian Fox

  You really shouldn't use MS Access with Cold Fusion... 
 (it's probably a
  given that this is true, but with California State budget 
 cuts, it'll be a
  while before we save up enough pennies to buy anything better)
 
 What about MySQL?  It's still Free to my knowledge...  You 
 may want to look
 into this.

It'd be a hard sell for us.  The decision makers tend to cringe whenever
they can't add a $3000 support package.  Freeware is frowned upon, although
we did manage to get a Linux box to run WebCT.  

As it is, I think MS SQL is probably the forerunning candidate because the
name is recognized by the decision makers and they view it as having better
support.  

For the sake of argument though, MySQL is fairly robust?  A definite
improvement over Access?

~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Select * From - any way to get field names?

2001-10-04 Thread Brian Fox

How can I list the fieldnames after using a query like cfquery
name=testselect * from table/cfquery?

~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: RE: Code Red backdoor triggered?

2001-09-21 Thread Brian Fox

Nimda can infect through shares.  One of our internal development website
(no outside access allowed per firewall rules) was hit through a D: drive
share.  It had us puzzled as well.  It was patched and had no firewall
access.  

I'm still piecing it together, but this is what I believe happened.  A
'weak' public web server was online and part of our domain.  It was not
patched for the directory traversal exploit.  It was infected with NIMDA.
Someone later logged into that particular machine with domain admin rights.
The virus then propagated to all shares on the network which allowed domain
rights.

Moral of the story for our group:  don't trust any machines for which we are
not specifically responsible.  I think the patch is from Dec' 2000, although
the 'cumulative' patch from Aug 2001 includes it.  Eh, go figure.

A couple of good practices helped isolate the damage.  The OS is parked on
C: which is not shared.  All templates are on D:.  As it turns out, we had a
ton of .eml files littered throughout the D: drive, but no dll mods on C:
nor none of the registry entries CERT listed.  A simple restore on D: and a
good packet sniffer is all we have done for now.  And of course we stripped
rights to the D: share down to the bone.

There was a debate on this mailing list on partitioning/not partitioning.
I'd chalk this up to a pretty hefty partitioning pro.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 21, 2001 6:37 AM
 To: CF-Talk
 Subject: RE: RE: Code Red backdoor triggered?
 
 
 Our people who are supposed to be maintaining the server 
 swear all patches
 were in place and we still got hit.  Can you please tell me 
 exactly which
 patch you are referring to?  I don't manage the box, but I 
 sure as hell
 suffer if no one else does, either.  I would like to follow 
 up on this on
 this end.  Thanks!
 
 JoAnn A. Schlosser
 
 
 
 
   This e-mail is intended solely for the person or entity 
 to which it
 is addressed and may contain confidential and/or privileged 
 information.
 Any review, dissemination, copying, printing or other use of 
 this e-mail by
 persons or entities other than the addressee is prohibited.  
 If you have
 received this e-mail in error, please contact the sender 
 immediately and
 delete the material from any computer. 
 
 
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Terrorism

2001-09-11 Thread Brian Fox

 If you look 
 throughout history you
 will see that more atrocities have been perpetrated in the 
 name of God than
 for any other reason.

Who coined this statement?  It's been used, almost verbatim, so many times
that it has to have some source.

I'm really baffled by it.  Did someone count up the body counts of Vietnam,
Stalingrad, Pearl Harbor, the US Civil War, the French Revolution, Alexander
the Great's casualties, etc etc etc etc and find a common religious theme?
What about atrocities that predated monotheism?  polytheism?  tribal
religions?

It seems to be a self defeating argument.  If religion is an opiate, then
atheism is the truth.  But then how the heck do you introduce morals into
the picture?  I mean, how do you define 'atrocity'?  Atheism after all boils
down to 'shit happens.'
~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



FAQ link is dead

2001-08-30 Thread Brian Fox


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: FAQ link is dead

2001-08-30 Thread Brian Fox

Oops.  I think whatever processes the list messed up my original message. Is
there a mirror for the faq listed (hopefully) below?

Thanks.

 -Original Message-
 From: Brian Fox [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 30, 2001 9:43 AM
 To: CF-Talk
 Subject: FAQ link is dead
 
 
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Creating CFX tags - DLL's and NT

2001-08-23 Thread Brian Fox

How can I force NT4.0 to reload a modified dll/cfx tag?  Renaming the dll
and adding it to the CFX list has become extremely tedious.

Thanks,
Brian

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Newbie Question

2001-08-09 Thread Brian Fox

Just use replace, but with an empty substring2.

replace(yourstring,GETRIDOF,,all) 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 09, 2001 2:35 PM
 To: CF-Talk
 Subject: Newbie Question
 
 
 What's the function for removing certain word in a string?
  
  
 Thanks.
 
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Out of Space?

2001-07-13 Thread Brian Fox

What database software?  Some light weight software packages have size
limits.  For example, there is a 2 GB file size limitation on Access
databases not using linked tables.  

 -Original Message-
 From: Erika Foster [mailto:[EMAIL PROTECTED]]
 Sent: Friday, July 13, 2001 5:16 AM
 To: CF-Talk
 Subject: Out of Space?
 
 
 I have a client who is getting an Disk Space error when 
 trying to add or
 update the database.  They have a couple GIG of empty space 
 on this disk.
 I'm off site right now and can't do any troubleshooting on 
 the machine.
 
 Any suggestions?  What's going on?
 
 Thanks!
 
 Erika Foster
 engineering-environmental Management
 Applications Developer
 (505) 866-1654
 [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



RE: Need decryptor tag for CFUG presentation

2001-06-08 Thread Brian Fox

A google search on 'cold fusion decrypt program' leads to the source code of
cfdecrypt on the fifth hit.  A search on 'cfdecrypt' returns a page full of
links of the same sort.  It's safe to file this under common knowledge.  

Also, looking briefly at the source code, it looks like a simple wrapper to
the DES library, something that has been in the public domain for years.  I
can see nothing illegal in the code.  Using it may violate an end-user
agreement, but that is a civil matter.  Using it to decrypt copyrighted
software, copying that software or modifying it, yadda, yadda, would be
actually illegal, as in criminal.

 -Original Message-
 From: Robert Long [mailto:[EMAIL PROTECTED]]
 Sent: Friday, June 08, 2001 8:55 AM
 To: CF-Talk
 Subject: RE: Need decryptor tag for CFUG presentation
 
 
 I think it was VERY unprofessional of those individuals that
 posted a link directly to the utility. I have no idea how many
 people are on this list, but now all of them have knowledge of
 that site. Why don't you just upload a copy of your CFAS cd and
 post a link to that too.
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Friday, June 08, 2001 8:50 AM
 To: CF-Talk
 Subject: Re: Need decryptor tag for CFUG presentation
 
 
 Saying this as Michael Dinowitz, yes. The decrypt utility is illegal
 according to the MM licensing contract.
 
  Correct me if I'm wrong, and I'm saying this as Ray Camden, 
 not Ray Camden
  of Macromedia, but isn't use of this decryptor illegal? Should we so
  casually discuss a piece of a software that is probably 
 illegal to use?
 
  Also, in general, unless you encrypt your OWN files, you 
 should not be
  decrypting other people's templates. If you _do_ encrypt 
 your files, you
 can
  contact Tech support for help. Therefore, there is no need for this
  software.
 
  Am I wrong here? And let's not discuss wether it's right 
 or wrong, I'm
  talking about legality.
 
  
 ==
 =
  Raymond Camden, Principal Spectra Compliance Engineer for Macromedia
 
  Email   : [EMAIL PROTECTED]
  ICQ UIN : 3679482
 
  My ally is the Force, and a powerful ally it is. - Yoda
 
   -Original Message-
   From: Jones, Matt [mailto:[EMAIL PROTECTED]]
   Sent: Friday, June 08, 2001 9:37 AM
   To: CF-Talk
   Subject: RE: Need decryptor tag for CFUG presentation
  
  
   http://shrewm.net/cfd/
  
   -Original Message-
   From: Alii Design [mailto:[EMAIL PROTECTED]]
   Sent: Friday, June 08, 2001 8:30 AM
   To: CF-Talk
   Subject: RE: Need decryptor tag for CFUG presentation
  
  
   That website is gone http://shroom.dv8.org/cfd/ I was 
 looking for it
   recently and it has been down.
   Is there another?
   Rich
  
 
 
 

~~
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: Brain isn't working yet...

2001-06-01 Thread Brian Fox

You're most of the way there...

cfif #left(cgi.remote_addr,8)# is '192.168.'
or
cfif #left(cgi.remote_addr,10)# is '192.168.5.'

 -Original Message-
 From: Marcus [mailto:[EMAIL PROTECTED]]
 Sent: Friday, June 01, 2001 7:56 AM
 To: CF-Talk
 Subject: Brain isn't working yet...
 
 
 I'm trying to provide functionality to a select group of people on a
 specific subnet. What I'd like to do is something along the lines of..
 
 cfif #cgi.remote_addr# is '192.168.5.0'
   Allow action
 /cfif
 
 The thing being they use dhcp to allocate IP's and the address could
 actually be any of the block. Is there a wild card I can use? 
 or some other
 way to not specify the last number?
 
 Marcus
 
 

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



Compacting .cfm files

2001-05-25 Thread Brian Fox

Sorry if this is beating a dead horse.  A search of the archives brought up
similar questions, but didn't really approach a solution.

I have a form that contains as many as 200 select boxes with about 6 options
each and 200 more input boxes.  I guess that there is some type of resource
crunch (memory, widget handles, who knows) that causes the following error:
when scrolling a large form, the select boxes begin to smear vertically.
They become clumped together and function oddly (some still seem to work,
although I can't tell what 'line' they belong to).

It's in the project specs that I cannot break the form up... which throws
out the 'display records 1-20 21-40' type solutions.

The only thing I can think to do is tighten the cfm code up.  Our shop is
indent happy for readability.  The indenting produces a LOT of whitespace
(perhaps bloating the code as much as 100%).  I've already added cfsetting
tags to squash output on custom tags, queries, etc.  But there is still a
lot of whitespace in the other 'normal' code.

Are there any utilities to obliterate whitespace in cfm files?  Er,
something along the lines of turning an indented file into a really long
single string?  Is there a code beautifier to do the opposite?  Is this
approach worthwhile?

Thanks,
Brian

~~
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: Compacting .cfm files

2001-05-25 Thread Brian Fox

Whoa.  Great entertainment value too.  Honey, cancel that trip to Cancun.
We'll just read the antics of Dr. Love.

 -Original Message-
 From: Jones, Matt [mailto:[EMAIL PROTECTED]]
 Sent: Friday, May 25, 2001 10:22 AM
 To: CF-Talk
 Subject: RE: Compacting .cfm files
 
 
 lmao
 
 -Original Message-
 From: Bryan Love [mailto:[EMAIL PROTECTED]]
 Sent: Friday, May 25, 2001 12:11 PM
 To: CF-Talk
 Subject: RE: Compacting .cfm files
 
 
 Here's a comparable question:
   
   I have a small pickup and I need to haul 42 elephants, 
 but when I
 load the elephants into the pickup it scrapes on the 
 pavement.  Does anyone
 know of a kit I could install to stiffen up the springs?  I 
 was thinking
 about removing the tailgate to reduce the overall weight of the load.
 
 Get new specs.
 
 
 Bryan Love ACP
 Internet Application Developer
 [EMAIL PROTECTED]
 
 
 
 -Original Message-
 From: Brian Fox [mailto:[EMAIL PROTECTED]]
 Sent: Friday, May 25, 2001 8:28 AM
 To: CF-Talk
 Subject: Compacting .cfm files
 
 
 Sorry if this is beating a dead horse.  A search of the 
 archives brought up
 similar questions, but didn't really approach a solution.
 
 I have a form that contains as many as 200 select boxes with 
 about 6 options
 each and 200 more input boxes.  I guess that there is some 
 type of resource
 crunch (memory, widget handles, who knows) that causes the 
 following error:
 when scrolling a large form, the select boxes begin to smear 
 vertically.
 They become clumped together and function oddly (some still 
 seem to work,
 although I can't tell what 'line' they belong to).
 
 It's in the project specs that I cannot break the form up... 
 which throws
 out the 'display records 1-20 21-40' type solutions.
 
 The only thing I can think to do is tighten the cfm code up.  
 Our shop is
 indent happy for readability.  The indenting produces a LOT 
 of whitespace
 (perhaps bloating the code as much as 100%).  I've already 
 added cfsetting
 tags to squash output on custom tags, queries, etc.  But 
 there is still a
 lot of whitespace in the other 'normal' code.
 
 Are there any utilities to obliterate whitespace in cfm files?  Er,
 something along the lines of turning an indented file into a 
 really long
 single string?  Is there a code beautifier to do the 
 opposite?  Is this
 approach worthwhile?
 
 Thanks,
 Brian

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