OT: Killing Sessions on Closed Browser

2001-02-20 Thread Gavin Myers

Hey all,

I need to be able to kill a session/run a script when someone closes their
browser. But I cannot find a javascript command that handles this event
only. All of the commands I have found (onunload etc.) also run when someone
refreshes the page or hits the back arrow.

Has any of you run acrosse this problem? Is there a solution?

Oh, its OT because the web application that is using this is in Java

Thanks!

Gavin

~~
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: (Admin) Vacations and being banned

2001-01-15 Thread Gavin Myers

>However, I'm not sure the proposed solution will work.  MSOutlook (who I
>suspect is the primary 'culprit') has an option to send the OOO notice only
>once to each email address.

But each post in cf is posted as the mail sender; BFlynn, Robert Everland,
Gavin Myers. So MS Outlook will reply to each of those people as different.
I'd imagine, but *shrug*

--
On a side note:

I really like the newsgroup version then the e-mail (mch cleaner and
easier to go through). Do you still have to be subscribed to the e-mail
system to get the newsgroup? (I'm almost positive the answer is no, but I
thought I'd ask before unsubscribing :))

Was also wondering why the newsgroup version of this isn't as easy to find?
Is that just a test, or is it run throgh someone else?

Cool,
Gavin

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



web programming training

2000-12-19 Thread Gavin Myers

was wondering what you guys think. I'm going to try and teach some
interested people how to script (not just cold fusion, but other languages
too). But i'm trying to write out a syllabus to go over. What do you guys
think of this setup: I'm trying to relate projects I had for other language
projects and make them more web based. The information would just be
scripting in general then get more towards wichever language they want to
learn.

Scripting Basics 
Variables
Forms
If Then Statements
Case of Statements
Loops
Includes
Functions (overview)

Variables In Depth (Overview)
The Many Types of Variables (String, Session, Client, Cookie, URL,
Forms)

Database
SQL Server lingo
Outputting SQL Commands in ASP
Updating SQL Tables in ASP
Deleting SQL Tables in ASP

Scripting in Depth
Arrays
File Management (Upload, Download, Delete, Move)
Sessions
Functions
All Commands


Scripting Basic Projects:

#1 Calculator
Make a calculator from a form, use two text input feilds, radio buttons, and
a submit button. 
The 2 input feilds is where the person puts in the numbers
The Radio button displays a list of commands (multiply, divide, add,
subtract)
The submit button takes the person to a new page wich does the math and
outputs it.

What you will need to know: Forms, Variables, Form Variables


#2 Multiples of a number
Make a page that will display a number multiplied by itself by a given
number of times. You will use 2 text input feilds, and a submit button.
The first input feild is the number you want to multiply
The second is the number of times you want it to be multiplied
It should output like this
2
4 
8
16
32
64
etc.

What you will need to know: Forms, Variables, Form Variables, Loops


#3 Constant Nav Bar
Create a nav bar that has three links: Home.asp, About.asp, Contact.asp.
Since the nav-bar will be exactily the same no matter which page you are on
it will have to be included into the page.
So you create one page like this:
Home About 
save it as navbar.asp
create the home.asp, about.asp, contact.asp and include the navbar.asp on
each.

What you will need to know: Includes


#4 Time of minute Color
Create a page that changes color depending on what time of minute it is. 
If it is 0 - 15 minutes past the hour the page color is black.
If it is 16 - 30 minutes past the hour the page color is navy. 
If it is 31 - 45 minutes past the hour, the page color is orange.
If it is 46 - 60 minutes past the hour, the page color is yellow.

Do this twice, one using if then statements, the other using case of
statements

What you will need to know: If then statements, case of statements,
functions.

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

2000-12-15 Thread Gavin Myers

ebay's kinda protective of their site. They recently threatened legal action
against an acution search site (a site that was made to search all auction
sites for what you were looking for (yahoo, ebay, shopgoodwill etc.)) 

someone probally has more info on this, but if this is going to be a big
site you might run into the same resistance

-Original Message-
From: Jeffry Houser [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 15, 2000 9:35 AM
To: CF-Talk
Subject: ColdFusion and eBay



 An ecommerce site that I work on sometimes does eBay auctions.  They 
want the winning bidder to be able to go to their site, plug in their name
and auction number, have a script go out to ebay and grab the 
auction info and create an order for the person.

 I did some plugging around eBay in hopes that they actually encourage 
this sort of thing and I could grab the data via wddx.  I found what I 
was expecting to find, which was nothing.  

 I told the client that the first thing we would have to do was 
de-construct the eBay URLs so that we would be able to create a URL 
directly to the auction page.  This could take hours, or weeks, or be 
completely hopeless.  I haven't looked at eBay from a 'how do they do 
it' standpoint.  Once we have the URL I can grab the page, via CFHTTP, 
and parse it out to get the necesarry information.

  Has anyone had any experience with this or know of any sites that 
perform similiar actions?  In the past hasn't eBay tried to block 3rd 
party 'auction search' programs that automatically search their site 
for auctions?  Wouldn't an attempt at deconstructing their URL's border 
on hacking?

-- 
Jeff Houser | mailto:[EMAIL PROTECTED]
AIM: Reboog711  | ICQ: 5246969 | Phone: 860-229-2781
--
Instant Cold Fusion 4.5  | ISBN: 0-07-213238-8   
Due out 3rd Quarter 2001
--
DotComIt, LLC
database driven web data using ColdFusion, Lotus Notes/Domino
--
Half of the Alternative Folk Acoustic Duo called Far Cry Fly 
http://www.farcryfly.com | http://www.mp3.com/FarCryFly
--
Promise me no dead end streets, and I'll guarantee we'll have a road
~~
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



Simple Scripts

2000-12-14 Thread Gavin Myers

Just to be clear (before i mess something up) i can just delete the enitre
cfdocs directory on a production server? Nothing bad will happen... right?

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



RE: ColdFusion to make bar codes

2000-12-11 Thread Gavin Myers

why not make them out of a series of 1x1 pixel gifs?

make 1 black gif and 1 white gif

stretch them dynamically to the size since they would be 1x1 pixels they
wont distort (nothing to distort), and add more of them if necessary
(dynamically of course), that way it'll be good cross - browsers and you can
get those tiny little areas

-Original Message-
From: Phoeun Pha [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 11, 2000 10:26 AM
To: CF-Talk
Subject: ColdFusion to make bar codes


Hey guys, i need some resources on how bar codes are made, and the exact
width and height and spaces between the bars.  I want to make those bar
codes out of tables.
~~
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: Best sites for CF Job Listings?

2000-12-08 Thread Gavin Myers

I've had luck with techies.com
careerbuilder.com is nice because it searches a bunch of job websites (dice,
monster, hotjobs etc.)


-Original Message-
From: Michael [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 08, 2000 5:27 AM
To: CF-Talk
Subject: Best sites for CF Job Listings?


What are the best sites for CF job listings, also I am in upstate NY,
(for Now)

TIA
Michael
~~
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 javascript

2000-12-05 Thread Gavin Myers

anyone know of a decent javascript editor?

thinking of something more on the lines of CF Studio except geared towards
js


~~
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: Changing colors in a list box.

2000-12-04 Thread Gavin Myers

This has worked for me in a web template i made:

Select a Color
Red
Green
Blue
Orange
Yellow


-Original Message-
From: Todd Ashworth [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 01, 2000 3:50 PM
To: CF-Talk
Subject: Changing colors in a list box.


I have something like this in a list box:

LabelA: 1, LabelB: 10, LabelC: 7

That entire string is in the list box.  I want to change the numbers to a
different color.  Is there a way to do that?  I've tried using  and
 along with style sheets attributes, but it didn't work.

Thanks,

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: Dynamic image display question?

2000-11-16 Thread Gavin Myers

right click the empty container and see what the path is set to, is it
correct?

-Original Message-
From: Richard L Smith [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 16, 2000 8:30 AM
To: CF-Talk
Subject: Dynamic image display question?


Hello:

I am using CF4.0 with an Access 97 db to display an image the field containd
the path to the image it's
images/a100101.gif  this is then passed to an  tag when
I run it, all I get is an
empty image container but know error messages.

Any ideas

Thanks

Rick





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

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



RE: Studio - left panel missing

2000-11-15 Thread Gavin Myers


There is an option to hide it, have you tried pressing F9?
-Original Message-
From: W Luke [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 15, 2000 12:29 PM
To: CF-Talk
Subject: Studio - left panel missing


Hi,

For some bizarre reason the left panel, with directory structure and Docs,
in CF Studio has vanished.  The same happened in Homesite a month ago, and
I'm still none the wiser as to how to get it back.

I've looked everywhere (obviously not hard enough) - anyone advise?

Thanks

Will



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

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



RE: Netscape 6 out UGH!!!!

2000-11-15 Thread Gavin Myers

I just downloaded N6 and didn't really see anything wrong with it so far. It
has better support for CSS (a: hover works finally).

But as of yet (last 30 minutes) i haven't seen any mission critical things
with it yet.

Does anyone have any specific examples of things that don't work like they
used to? Like when using js what doesn't work, or websites that used to work
in other browsers that don't in n6?

thanks,
Gavin



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



RE: Setting up a webserver

2000-11-15 Thread Gavin Myers

Nevermind, was thinking of the option pack - redoing this has really
refreshed my memory

i thought it went

sp3, option pack, sp4, 5, 6

but it really doesnt matter if option pack is installed after sp6a

i believe

-Original Message-
From: Gavin Myers [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 15, 2000 9:40 AM
To: CF-Talk
Subject: OT: Setting up a webserver


hey, i havent done this in awhile, and i've only done it once. But i'm
trying to set up a webserver on nt, this is going to be a local intranet
deal. 

I'm installing the SP's right now, but isn't there some order that they get
installed? I thought it went like sp 5, 6 then 3 or something like that...

any help is appreciated

thanks!

Gavin


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

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



RE: Re: Netscape 6 out UGH!!!!

2000-11-15 Thread Gavin Myers

I guess it all depends on target market, who the site is developed for

example, building an intranet i know for a fact that everyone in the office
will be using ie, so it doesnt matter what it looks like on netscape

building a website for a company in the middle of farmland may require me to
create a website geared towards IE 3+ and NN 4+ @ 640 x 480 because who
knows what sort of computers they will be using

building a website for a company that sells software at the 400k level may
require me to design it for high bandwith companies, 800 x 600 because
companies with 56k modems probally wont be interested

it all breaks down to who the website is for

this is still a great reference:
http://www.thecounter.com/stats/2000/November/browser.html

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 15, 2000 12:26 PM
To: CF-Talk
Subject: re: Re: Netscape 6 out UGH


Isn't that a bit like riding a bicycle instead of owning a car, because a
car may break down.
I personally use IE, because it does more. if oyu look at netscape 6 they
have  obviously been looking to catch up to the goodies available in IE.
Now what will you do, stay with the old version on netscape?

Actually i lied i don't use IE  i'm a Neoplanet man (a skin to IE5.0)

maybe we need a recount

Mike Cartier
#code.monkey#


> ** Original Subject: Re: Netscape 6 out UGH
> ** Original Sender: "Justin Scott" <[EMAIL PROTECTED]>
> ** Original Date: Tue, 14 Nov 2000 21:05:45 -0500

> ** Original Message follows... 

>
> > IE, while not everyone's most favorite, actually does tolerate
developers
> > more. It allows for errors. Figures out what you were most likely trying
> to do.
> >
> > Netscape doesn't allow for that as much. But if you do exactly what it
had
> > intended, then it could very well work better than IE.
> 
> For me, this is the exact reason I stay with Netscape as my primary
browser.
> By coding all my HTML and JavaScript for Netscape first, it's much more
> likely to work in IE with no problems than if I did the HTML in IE first
and
> then tried to make it work in Netscape also.  There are some situations
> where this is not the case, but 99% of the time it saves me hours of
> development time because I never have to go back and rewrite half my
> HTML/JavaScript to make it compatible with both browsers.
> 
> Our entire development team (except me) uses IE as the primary browser,
and
> I can't even begin to count the number of times I've heard "!@#$%^&*
> Netscape!!" come from someone's desk because they thought the site they've
> been working on for days or weeks was done, but low and behold the display
> gets all screwy in Netscape and they have to spend another day fixing it.
> 
> I see Netscape as the HTML equivalent to coding with "Strict Attribute
> Validation" turned on .
> 
> ___
> 
> Justin Scott :: [Staff Developer]
> http://www.annex.com
> 
> 
>


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

>** - End Original Message --- **

> 








Change is the only constant

Download NeoPlanet at http://www.neoplanet.com



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

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



OT: Setting up a webserver

2000-11-15 Thread Gavin Myers

hey, i havent done this in awhile, and i've only done it once. But i'm
trying to set up a webserver on nt, this is going to be a local intranet
deal. 

I'm installing the SP's right now, but isn't there some order that they get
installed? I thought it went like sp 5, 6 then 3 or something like that...

any help is appreciated

thanks!

Gavin

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



RE: fusebox

2000-11-13 Thread Gavin Myers

I think it would be nice if there was a spot where we could put the most
common topics on this discussion board. 

For example: A fusebox pro / con. Two seasoned cf coders one that is for
fusebox, one that is against fusebox that are willing to write a page or
five describing the benifits/drawbacks of the methodolgy.

I strongly believe that methodogies are crucial when dealing with a large
group of coders. You can't have all 12 programmers doing their own format of
code, that would be messy and difficult to backtrack.

People who do their own programming without large groups of coders may not
see the importance of methodologies. Because, what does it matter if it
works? I can read it just fine. I belive that is a valid point. But for
large scale operations that involves several departments/groups/people one
single format is necessary for maximum effeciency

Wether or not fusebox is that methodogy i can honestly say i dont know, i've
paged through the free paper on it. I picked out somethings I thought were
cool and adapted them into my own format (like putting queries in their own
file and cfincluding them, that's a good idea). But I am in no means a
seasoned fusebox vetran.

Short: 
We've had this discussion a thousand times, and still havent found any good
ground. We need a reference of two programmers, one who is pro-fusebox and
willing to write out what he likes/dislikes, another programmer who is
anti-fusebox and willing to write out what he likes/dislikes.

I'd like to see the other methologies that are out there though,

Thanks,
Gavin

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



Cflocation and Session.variable

2000-11-10 Thread Gavin Myers

I think i remember hearing that you cannot use cflocation and set a cookie
on the same page - if this is correct, can you set a session variable and
use cflocation? This could explain a few problems I am having,

If you cannot use cflocation and set a session variable, anyone know of a
better workaround? Will using a meta refresh, or javascript work then?

Thanks,
Gavin

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



RE: CF editing software - vote

2000-11-09 Thread Gavin Myers

notepad
its find feature rocks

-Original Message-
From: Scott Wolf [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 09, 2000 8:28 AM
To: CF-Talk
Subject: RE: CF editing software - vote


I use Studio 4.5 for my development primarily
for the docs (which ROCK) and tag completion.
They're the only features (IMHO) that make it
worth using.  Well.and the Query Builder.


Did I just say that?  Nevermind.  :P


Scott Wolf
Goodfriend Computer Training


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

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



RE: Paranoid programming...

2000-11-02 Thread Gavin Myers

---Excerpts from stuff around the net that you probally allready have, worth
a shot though---

http://alive.allaire.com/CatalogCourseDetail.cfm?CourseID=20


http://alive.allaire.com/CatalogCourseDetail.cfm?CourseID=40
Solaris 

You can debug custom tags on UNIX using the dbx debugger. You should
shutdown ColdFusion using the stop script. 

Set the environment variables, including LD_LIBRARY_PATH and CFHOME as they
are set in the start script. You should then be able to run the cfserver
executable under the dbx debugger and set break points in your CFX code. You
may need to set a break point in main ("stop in main") so dbx loads the
symbols for your CFX before you can set breakpoints in your code. 

HP-UX 10.20 

You can debug custom tags on UNIX using HP's DDE debugger. You should
shutdown ColdFusion using the stop script. 

Set the environment variables, including SHLIB_PATH and CFHOME as they are
set in the start script. You should then be able to run the cfserver
executable under the DDE debugger and set break points in your CFX code. You
may need to set a break point in main ("stop in main") so the debugger loads
the symbols for your CFX before you can set breakpoints in your code. 

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



RE: What is the best source?

2000-11-02 Thread Gavin Myers

Are you going to have it hosted locally or through a web hosting company?

-Original Message-
From: bajaria aslam [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 02, 2000 1:49 PM
To: CF-Talk
Subject: What is the best source?


Hi All,

I have to create a new website from scratch (including
programming, getting an IP address, hardware etc) for
a company. What is the best source for this?

I am a CF programmer. But, All I have done is do CF
and Javascript programming. But, I don't know much
about web hosting.

If  you can give any books, websites etc, I would
highly appreciate that.

Thank You All!
A.B.

__
Do You Yahoo!?
>From homework help to love advice, Yahoo! Experts has your answer.
http://experts.yahoo.com/


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

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



RE: Paranoid programming...

2000-11-02 Thread Gavin Myers

how about this:

what about a dummy database?

once again, i don't know how this would work but you make one database that
serves as a relay to another... so the person submits the information to
one, and on a time basis another off server database would link to that one,
download the information and delete everything off of the relay database?

web -information-> database1

database1 -information-> database2(real database, not accessable via web,
download information then close link to network)

database1(deletes itself after upload)


if database2 retreives the information then database1 deletes everything,
even if they access database1 they cant get at database2... maybe?


I guess my question would be is: 

How many people will be using this, and how dynamic can it be? For example,
is this something 5 people would use maybe once every third day, or 100,000
people using every hour?

*shrug*

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



RE: Paranoid programming...

2000-11-02 Thread Gavin Myers

How about this:

you have a database, here are the table names:


password / content


password would be like this:
:654312324968765132165463213216479897
:6546464634455678998545613213
:54546465465f6asa6sfas1z3x2cz6x5v4a64

content would be like this:
:
:


now, i do not know if this would work or not but... if you could store each
page inside the database and then you would only need one page and have the
information dynamically called from there, that way the only way anyone
could see anything other then an empty query is to hack the database?

make sense?

don't know if this'll work or not though

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



RE: Input type = arrrrh! -fixed-

2000-10-31 Thread Gavin Myers

that's what i was looking for, thanks Courtney!

-Original Message-
From: Courtney Payne [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 31, 2000 12:30 PM
To: CF-Talk
Subject: RE: Input type = ah!


Gavin,

If you're concerned about the field widths, what I usually do is specify the
size attribute with Netscape in mind, then define a style 'on top of it' for
my IE users.

ex.



Netscape picks up the size=25 and ignores the style while the style takes
*precedence* over the size attribute in IE.  Using both settings combined
you can get the fields to be the same width in both browsers.

Courtney E. Payne, Developer
Fig Leaf Software
"We've got you covered"
[EMAIL PROTECTED]
www.figleaf.com 


-----Original Message-
From: Gavin Myers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 31, 2000 12:05 PM
To: CF-Talk
Subject: Input type = ah!


I made this little thing:
http://www.lightrodsoft.com/test/input.cfm

those are examples of what this looks like on the listed types of
browsers/computers




anyone have any hints as to making this display more universal?

thanks,

Gavin


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


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

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



Input type = arrrrh!

2000-10-31 Thread Gavin Myers

I made this little thing:
http://www.lightrodsoft.com/test/input.cfm

those are examples of what this looks like on the listed types of
browsers/computers




anyone have any hints as to making this display more universal?

thanks,

Gavin

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



dynamic variables

2000-10-31 Thread Gavin Myers

this doesnt work, of course, but it best clarifies what I am trying to do:

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



RE: Power of 3

2000-10-27 Thread Gavin Myers

I guess you could run a loop and keep dividing by 3 until the final number
is either 1 or has a decimal

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



RE: Power of 3

2000-10-27 Thread Gavin Myers

would this work:


The random number is:

#x#




went one stage: #x# 


went two stages: #x# 

a power










-Original Message-
From: Simon Horwith [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 27, 2000 11:47 AM
To: CF-Talk
Subject: RE: Power of 3




~Simon

-Original Message-
From: Jon Hall [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 27, 2000 12:36 PM
To: CF-Talk
Subject: Power of 3


Anyone have an idea on how to check to see if a value is a power of 3?

I have a loop that needs to fire an event at every power of three that it
hits and I am having problems getting my brain around how I need to do this.
My first thoughts are to have a loopcounter and each time around the counter
is incremented check and see if the counter value is the Next power of
three.
The end effect is that the if statement is triggered the following
intervals: 3,9,27,81...

jon



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


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

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



RE: Moving large files w/CRC checking

2000-10-27 Thread Gavin Myers

>Probably TIF.  Whatever format is being used by people doing creative
>work for product packaging, POP displays, trade ads, FSI's, etc.
>Mac users, no doubt.

I'd assume that would be like:
AI,
PSD,
EPS
and just about anything else

*shrug*

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



RE: NEED HELP!! Ignore Previously SQL Error I posted. New SQL Error 408

2000-10-26 Thread Gavin Myers

what sort of data feilds are the rows you are putting this stuff into?

datetime, char, varchar, etc...

-Original Message-
From: James Taavon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 26, 2000 2:27 PM
To: CF-Talk
Subject: Re: NEED HELP!! Ignore Previously SQL Error I posted. New SQL
Error 408


This is a multi-part message in MIME format.
--4FB7B0DD43D4F9E2FDA1BF6B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

You mean like using SQL Query Builder in Studio? The problem there is
that I am unable to setup a connection with the remote database. At
least I think I cant. I will try.



Simon Horwith wrote:
> 
> do you have any sort of visual query builder available to you, for
> debugging, etc.?  I'd try that if you're getting a lot of errors...just to
> get a good example or two if nothing else.
> 
> ~Simon
> 
> -Original Message-
> From: James Taavon [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 26, 2000 3:12 PM
> To: CF-Talk
> Subject: NEED HELP!! Ignore Previously SQL Error I posted. New SQL Error
> 408
> 
> This is a multi-part message in MIME format.
> --294808483026881139F5AB7E
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> Ok, I understand what the error is saying, but I can't figure why it is
> saying it. All my columns are set to the proper data types. I am really
> getting tired of getting all these errors. I am sorry for filing up the
> messages with all of them.
> 
> Thanks in advance for the help.
> 
> DB2 Error Code = -408
> 
> [IBM][CLI Driver][AS] SQL0408N An UPDATE, INSERT, or SET
> transition-variable value is not compatible with the data type of its
> target column "EST_START_DATE". SQLSTATE=42821
> 
> SQL = "update oimdbadm.assigned set est_start_date = 10/31/2000,
> est_comp_date = 10/31/2000, est_man_hrs = '1', act_start_date =
> 10/31/2000, act_comp_date = 10/31/2000, act_man_hrs = '1',
> staff_comments = 'Test' where id = '1006'"
> 
> Data Source = "OIMDBADM"
> 
> SQL = "update oimdbadm.assigned set est_start_date = 10/31/2000,
> est_comp_date = 10/31/2000, est_man_hrs = '1', act_start_date =
> 10/31/2000, act_comp_date = 10/31/2000, act_man_hrs = '1',
> staff_comments = 'Test' where id = '1006'"
> 
> The error occurred while processing an element with a general identifier
> of (CFQUERY), occupying document position (33:1) to (33:46) in the
> template file oim_edit_action.cfm
> 
> UPDATE FILE (oim_edit_action.cfm)
> 
> 
> update oimdbadm.assigned
> set est_start_date = #form.est_start_date#,
> est_comp_date = #form.est_comp_date#,
> est_man_hrs = '#form.est_man_hrs#',
> act_start_date = #form.act_start_date#,
> act_comp_date = #form.act_comp_date#,
> act_man_hrs = '#form.act_man_hrs#',
> staff_comments = '#form.staff_comments#'
> where id = '#form.id#'
> 
> --294808483026881139F5AB7E
> Content-Type: text/x-vcard; charset=us-ascii;
>  name="jtaavon.vcf"
> Content-Transfer-Encoding: 7bit
> Content-Description: Card for James Taavon
> Content-Disposition: attachment;
>  filename="jtaavon.vcf"
> 
> begin:vcard
> n:Taavon;James
> tel;cell:(443) 506-2117
> tel;fax:(410) 333-5203
> tel;work:(410) 767-3415
> x-mozilla-html:FALSE
> org:Department of Labor, Licensing and Regulation;Office of Information
and
> Technology
> version:2.1
> email;internet:[EMAIL PROTECTED]
> title:Senior Web Developer
> adr;quoted-printable:;;1100 N. Eutaw Street,=0D=0ARoom
> 203;Baltimore;MD;21201;
> fn:James Taavon
> end:vcard
> 
> --294808483026881139F5AB7E--
> 
>

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


> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send
a message with 'unsubscribe' in the body to
[EMAIL PROTECTED]
--4FB7B0DD43D4F9E2FDA1BF6B
Content-Type: text/x-vcard; charset=us-ascii;
 name="jtaavon.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for James Taavon
Content-Disposition: attachment;
 filename="jtaavon.vcf"

begin:vcard 
n:Taavon;James
tel;cell:(443) 506-2117
tel;fax:(410) 333-5203
tel;work:(410) 767-3415
x-mozilla-html:FALSE
org:Department of Labor, Licensing and Regulation;Office of Information and
Technology
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Web Developer
adr;quoted-printable:;;1100 N. Eutaw Street,=0D=0ARoom
203;Baltimore;MD;21201;
fn:James Taavon
end:vcard

--4FB7B0DD43D4F9E2FDA1BF6B--

--

CFUGers in Minneapolis

2000-10-25 Thread Gavin Myers

Are there any cfug members in minneapolis on this board? if so can you
contact me off list

thanks,

Gavin

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



RE: CF 5.0 "Bug Vote" is Now Open!

2000-10-25 Thread Gavin Myers

I think they mean what bugs to fix in the next software release and what
bugs to fix in the one after that

*shrug*

kinda like any peice of software

if you have 10 bugs they break down to

1 mission critical bug
2 critical bugs
4 non-critical bugs
3 non-bug updates (syntax, interface look etc.)

then timelines:

mission critical bug #1: 3 months to fix
critical bug #1: 1 month to fix
critical bug #2: 2 months to fix
non-critical bug #1: 4 weeks to fix

in order for any company to make money they have to release a product on a
deadline, therefore to reach that deadline to contune being a company they
have to push somethings off to the side. No application larger than 

if 4 eq 4 then print "4"

will ever be completely 100% bug/error/annoyance free

if a company stopped to fix everything then their product release date would
dissolve and the company would have to live off of previous sales for the
next x years. Wich in some cases work, and in others dont

when dealing with any product the size of cold fusion you probally have
thousands of quirks/bugs most of wich the average user doesn't even see, to
fix all of them would mean years of work.

but i don't know much about this subject, so if i'm wrong i assume no
responsibility for property damage


-Original Message-
From: Max Paperno [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2000 1:57 PM
To: CF-Talk
Cc: Damon Cooper
Subject: Re: CF 5.0 "Bug Vote" is Now Open!



Well, as an Allaire customer, I say fix all the bugs.

So you're saying some bugs will deliberately not be fixed in 5.0 unless
perhaps they win some popularity contest.  Is that as absurd as it sounds or
is it just me?  Next time my client comes to me and says, hey, there are 10
bugs in the program you wrote, I'll say, well, 10 is a lot, so pick 6 of 'em
that you dislike the most and I'll just fix those.Puuuhleeease!

Thanks,
-Max


At 10/25/2000 10:39 AM -0400, Damon Cooper wrote:
>I want to make sure that you, our customers, have a major say in what goes
>into the release.  We are reviewing all existing bug entries and will
>include what we believe to be top priority issues, but what YOU believe to
>be issues are really what's important.



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

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



RE: html ideas on this - fixed -

2000-10-25 Thread Gavin Myers

Bah!

I was batting your html around with mine
back... forth... back... forth...
trying to figgure out how they are different (nestled table wise)

finally I noticed that I didn't put a  to start a new row and had a  inside one of my nested tables that only had one column
(wouldn't hurt anything but i fixed it)

aside from those two quirks I had used the same method you had described,
unless i'm mistaken.

this is how i'm doing it:













vs the way you showed me:


Left Outer
Left Outer


  
right?

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



RE: html ideas on this - fixed -

2000-10-25 Thread Gavin Myers

Thanks for all of your input, 

Neil, if what I did with nesting tables was the wrong way, 
how do you properly nest tables?

Thanks,
Gavin

-Original Message-
From: Neil Clark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2000 9:35 AM
To: CF-Talk
Subject: RE: html ideas on this


also NN will *NOT* render any bg colours etc... of a cell unless it has
something in it.

http://www.mcbdigital.com
--->





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

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



ot: html ideas on this

2000-10-25 Thread Gavin Myers

here is a resume i've been working on
http://www.100poundgorilla.com/resume/rsm.htm

for some reason on IE it looks fine, but on NN its all funky looking.

Does anyone else notice this when you look at it on NN? Any ideas?

I just hope its me, because my NN has always been a pain (does stuff that
doesnt happen on other computers)

thanks,

Gavin

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



RE: Instructor seeking book suggestions

2000-10-20 Thread Gavin Myers

If there is a Visual Quickstart guide to it, i highly recommend it.

made by peachpit press, available at any bookstore.

I have bought 5 vq books and have absolutely loved them 

they are probally the best books to get for a person who has no knowledge in
the subject you are teaching.

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



RE: Detecting if java enabled for CFSET flashmoviename.swf

2000-10-20 Thread Gavin Myers

How about this:

you can either make a blank page called index.cfm
that does this:


if (navigator.javaEnabled() == "0")

{

location = "index2.cfm?java=0"


}
else
{
location = "index2.cfm?java=1"
}
 <noscript>
   <meta http-equiv="refresh" content="0; URL=index2.cfm?java=0">
 </noscript>




and then on the second page check the variable #java# with a case of
statement

or do it on the same page (like a refresh) then check if the variable #java#
is defined then do a case of statement

-Original Message-
From: Gavin Myers [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 20, 2000 10:27 AM
To: CF-Talk
Subject: RE: Detecting if java enabled for CFSET flashmoviename.swf




would this work?

 
   
 


if (navigator.javaEnabled() == "0")

{

location = "error_java.cfm"


}



can change it from re-locating the page to displaying something different

**shrug**

gavin
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 20, 2000 9:58 AM
To: CF-Talk
Subject: Re: Detecting if java enabled for CFSET flashmoviename.swf


Patricia,

Thanks for the quick response however my problem is not that I'm trying
to determine if a browser supports Java or even what type of browser is
being used. That is easy enough through cgi variables. 

Symptoms:
The problem I'm having can best be explained with the following link and
a couple of steps:
1. View http://www.trifolium.com/ with Netscape
2. Everything including the Flash file at the top should be working fine
3. In Netscape go to Preferences, Advanced, Uncheck "Enable JAVA"
4. View page, Now it should continuously show the loading screen.

Cause:
Much like this site I am using in the body tag and onload function that
= play (). The play () function is defined in the Javascript. This code
looks like this:


function go() 

{
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1
var header = InternetExplorer ? window.movie : window.document.movie
  header.Play()
}

In the first frame of the flash file I have set a stop () command so
that soon as the user hits the page it holds the playing of the movie
until everything is loaded which then triggers off the onload function
in the body tag which in turn executes the go () function in javascript
which sends a play () command to Flash.

Again the problem's core issue is that JAVA needs to be enabled for
these steps to work. Else it will not since the message is never sent to
Flash or Received by Flash, take your pick I'm not sure.

Possible Solution:
The possible solution to this problem is since Cold Fusion code will
always execute before Javascript will there must be a way of using Cold
Fusion to detect if the End Users browser has the setting "Enable JAVA"
turned on. If that is possible then I could easily point the End User to
a Flash file that has the "stop ()" function in the first frame or a
Flash file that just begins playing after a few frames have past etc.

I know you guys at Figleaf are pretty good at merging Flash and CF
figured I'd shoot this on the chattyfig mailing list since this is an
issue I'm sure someone has run into before.

Thanks,

Jack

Patricia Lee wrote:
> 
> It looks like you're relying on the Browser Version to determine Java
> ability.  AS such, there are quite a few Cold Fusion Custom Tags out there
> that are pre-coded to scan the cgi.http_user_agent variable. Using Cold
> Fusion to do this task, rather than javascript, means you can
pre-determine
> the Flash File quite easily... and before the page ever gets returned to
the
> client's machine.
> 
> I would check out the Allaire Tag Gallery www.allaire.com/taggallery and
> download one or more of these tags:
> 
> 1) CF_BrowserCheck (free)
> BrowserCheck gives you the information you need to dynamically
> include content depending on what browser is accessing your site. It
> translates the browser's USER_AGENT field into a set of variables that
> define the name of the browser, version, OS, and JavaScript compatability.
> 
> 2) CF_BrowserHawk (not free)
> BrowserHawk is the ultimate browser sniffer, recognizing visiting
> web browsers and their capabilities from your ColdFusion scripts. This
> allows you to achieve a consistent layout and level of site operation for
> all visitors to your site, regardless of their browser used! Easily detect
> disabled cookies, JavaScript, and applets. Detect user connection speed,
> screen size, Flash, Shockwave, Acrobat, MediaPlayer, RealPlayer and other
> plug-ins, WAP devices, reverse DNS, and over 70 properties in all.
Available
> as a COM object or JavaBean for use with ColdFusion, ASP, JSP, servlets
and
> other environmen

RE: OT setting form variables in asp -fixed-

2000-10-20 Thread Gavin Myers

that's what i needed!

thanks,

Gavin

-Original Message-
From: Garza, Jeff [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 20, 2000 1:40 PM
To: CF-Talk
Subject: RE: OT setting form variables in asp


I beleive what you are trying to accomplish is this:

<% 
Session("COLL_FORM_ID") = Request.form("id")
%>

No?

Jeff Garza
Web Developer
Spectrum Astro, Inc.
480-892-8200

[EMAIL PROTECTED]
http://www.spectrumastro.com



-----Original Message-
From: Gavin Myers [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 20, 2000 11:32 AM
To: CF-Talk
Subject: OT setting form variables in asp


hah, i have the pleasure of mudding up some asp code on this site

if i have this:

form.cfm




form_submit.asp

Session("COLL_FORM_ID") = "#form.formid#"


thanks,
Gavin


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


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

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



OT setting form variables in asp

2000-10-20 Thread Gavin Myers

hah, i have the pleasure of mudding up some asp code on this site

if i have this:

form.cfm




form_submit.asp

Session("COLL_FORM_ID") = "#form.formid#"


thanks,
Gavin

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



RE: Detecting if java enabled for CFSET flashmoviename.swf

2000-10-20 Thread Gavin Myers



would this work?

 
   
 


if (navigator.javaEnabled() == "0")

{

location = "error_java.cfm"


}



can change it from re-locating the page to displaying something different

**shrug**

gavin
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 20, 2000 9:58 AM
To: CF-Talk
Subject: Re: Detecting if java enabled for CFSET flashmoviename.swf


Patricia,

Thanks for the quick response however my problem is not that I'm trying
to determine if a browser supports Java or even what type of browser is
being used. That is easy enough through cgi variables. 

Symptoms:
The problem I'm having can best be explained with the following link and
a couple of steps:
1. View http://www.trifolium.com/ with Netscape
2. Everything including the Flash file at the top should be working fine
3. In Netscape go to Preferences, Advanced, Uncheck "Enable JAVA"
4. View page, Now it should continuously show the loading screen.

Cause:
Much like this site I am using in the body tag and onload function that
= play (). The play () function is defined in the Javascript. This code
looks like this:


function go() 

{
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1
var header = InternetExplorer ? window.movie : window.document.movie
  header.Play()
}

In the first frame of the flash file I have set a stop () command so
that soon as the user hits the page it holds the playing of the movie
until everything is loaded which then triggers off the onload function
in the body tag which in turn executes the go () function in javascript
which sends a play () command to Flash.

Again the problem's core issue is that JAVA needs to be enabled for
these steps to work. Else it will not since the message is never sent to
Flash or Received by Flash, take your pick I'm not sure.

Possible Solution:
The possible solution to this problem is since Cold Fusion code will
always execute before Javascript will there must be a way of using Cold
Fusion to detect if the End Users browser has the setting "Enable JAVA"
turned on. If that is possible then I could easily point the End User to
a Flash file that has the "stop ()" function in the first frame or a
Flash file that just begins playing after a few frames have past etc.

I know you guys at Figleaf are pretty good at merging Flash and CF
figured I'd shoot this on the chattyfig mailing list since this is an
issue I'm sure someone has run into before.

Thanks,

Jack

Patricia Lee wrote:
> 
> It looks like you're relying on the Browser Version to determine Java
> ability.  AS such, there are quite a few Cold Fusion Custom Tags out there
> that are pre-coded to scan the cgi.http_user_agent variable. Using Cold
> Fusion to do this task, rather than javascript, means you can
pre-determine
> the Flash File quite easily... and before the page ever gets returned to
the
> client's machine.
> 
> I would check out the Allaire Tag Gallery www.allaire.com/taggallery and
> download one or more of these tags:
> 
> 1) CF_BrowserCheck (free)
> BrowserCheck gives you the information you need to dynamically
> include content depending on what browser is accessing your site. It
> translates the browser's USER_AGENT field into a set of variables that
> define the name of the browser, version, OS, and JavaScript compatability.
> 
> 2) CF_BrowserHawk (not free)
> BrowserHawk is the ultimate browser sniffer, recognizing visiting
> web browsers and their capabilities from your ColdFusion scripts. This
> allows you to achieve a consistent layout and level of site operation for
> all visitors to your site, regardless of their browser used! Easily detect
> disabled cookies, JavaScript, and applets. Detect user connection speed,
> screen size, Flash, Shockwave, Acrobat, MediaPlayer, RealPlayer and other
> plug-ins, WAP devices, reverse DNS, and over 70 properties in all.
Available
> as a COM object or JavaBean for use with ColdFusion, ASP, JSP, servlets
and
> other environments.
> 
> < snip >

- Original Message ---


All,

I'm trying to come up with an equivalent solution to detecting if java
is enabled on a end user's browser and if so then use a specific flash
file in the object/embed tags that are set through use of ColdFusion. So
far I have this javascript:

if (navigator.appName == 'Microsoft Internet Explorer' &&
navigator.appVersionindexOf('MSIE 3'))
var java = false;
else
var java = navigator.javaEnabled();


My question is if I am using cold fusion variables to define the
parameters and settings how can i add logic to this to be able to use
say a specific flash file instead of another? (this is a specific
problem i've seen when trying to do fscommands to flash or flash to
javascript, etc.) I want to create a work around that enables me to use
one of two flash files, etc.

The problem I see is that since cold fusion will always execute before
javascript this is not

RE: CFTREE Error

2000-10-19 Thread Gavin Myers

In order to run CFTRee do you need to download that CAB file that is default
required on cfforms?

-Original Message-
From: Mike Connolly [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 19, 2000 8:53 AM
To: CF-Talk
Subject: RE: CFTREE Error


We looked down the route already, any other possible causes?

> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: 19 October 2000 14:29
> To:   CF-Talk
> Subject:  RE: CFTREE Error
> 
> I seem to recall a similar error that we traced to browser security. The
> user had disallowed the java class and the tree generated an error.
> 
> Scott
> 
> -Original Message-
> From: Mike Connolly [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 19, 2000 8:32 AM
> To: CF-Talk
> Subject: CFTREE Error
> 
> 
> This error appears
> 
> ' Applet allaire.controls.CfTreeFormApplet class
> allaire.controls.CfTreeFormApplet could not be loaded '
> 
> when attempting to access a CF page with a CFTREE.
> 
> Anyone any ideas?
> 
> 
> 
> 
> 
> 
> ---
> Any opinions expressed in this message are those of the individual and not
> necessarily the company.  This message and any files transmitted with it
> are
> confidential and solely for the use of the intended recipient.  If you are
> not the intended recipient or the person responsible for delivering to the
> intended recipient, be advised that you have received this message in
> error
> and that any use is strictly prohibited.
> 
> Sapphire Technologies Ltd
> http://www.sapphire.net
> --
> --
> 
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send
> a
> message with 'unsubscribe' in the body to
> [EMAIL PROTECTED]
> 
> --
> --
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send
> a message with 'unsubscribe' in the body to
> [EMAIL PROTECTED]


---
Any opinions expressed in this message are those of the individual and not
necessarily the company.  This message and any files transmitted with it are
confidential and solely for the use of the intended recipient.  If you are
not the intended recipient or the person responsible for delivering to the
intended recipient, be advised that you have received this message in error
and that any use is strictly prohibited.

Sapphire Technologies Ltd
http://www.sapphire.net


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

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



cferror

2000-10-19 Thread Gavin Myers

can you put cfm commands on a cferror page?

application.cfm:


error.cfm

AN ERROR HAS OCCURED AT:
#error.datetime#
#error.remoteaddress#
#error.browser#
#error.template#
#error.querystring#


if i do this, the contents of the cfmail just show up and doesnt send out an
e-mail to me


thanks,
Gavin

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



RE: Variables in Java and Javascript - Fixed -

2000-10-18 Thread Gavin Myers

Thanks for all of your inputs. I actually wound up doing this:


demo_verify_javascript.cfm
 
  
   
  
 


demo_verify_java.cfm

document.write("navigator.javaEnabled(): " + navigator.javaEnabled() +
"
"); if (navigator.javaEnabled() == "0") { location = "error_java.cfm" } then them on the pages that need to test for this stuff, does anyone forsee a problem doing it this way? One thing is that each page that needs java, also needs javascript, so if they have them both disabled then they will get redirected to the javascript page Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]

RE: Variables in Java and Javascript

2000-10-18 Thread Gavin Myers

What i've been looking into is cfwddx, i think its my only hope:





  <CFOUTPUT>#javascript_final_verify#</CFOUTPUT>

<!-- 
document.write((javascript_final_verify = 1)); 

document.write((javascript_final_verify)); 
//--> 


#javascript_final_verify#

the problem is I cant carry this number from js back to cf. Any suggestions
on this? Or is it because js is a broswer lang, you cant go back to running
cf again?

By using cfwddx, can i then put java and asp on the same page?


-Original Message-
From: Patricia Lee [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 18, 2000 10:33 AM
To: CF-Talk
Subject: RE: Variables in Java and Javascript


The javascript would work, yes.

The java wouldn't work as you have it because you can only process one
server side language per application page.  Java and ColdFusion cannot be
called on the same page.

I do not know if or how you could tell that a broweser is java-enabled.  I'd
wait and see if Watts responds to this... one can always hope.

-Patti

-Original Message-
From: Gavin Myers [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 18, 2000 11:07 AM
To: CF-Talk
Subject: Variables in Java and Javascript


Hey people,

New thing:
I need to check if a certing browser has java enabled, and javascript

can you set a variable in java or javascript and let it be read in cold
fusion?

this is what i'm thinking:




javacode
put 1 into java
/javacode

javascript code
put 1 into javascript
/javascript code


no javascript


no java


any ideas on how to do this? better then this one? And, if you can cross
variables through different peices of code, what is the syntax for writing
this in javascript, java? Can you have Java on a cfm page?


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


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

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



Variables in Java and Javascript

2000-10-18 Thread Gavin Myers

Hey people,

New thing:
I need to check if a certing browser has java enabled, and javascript

can you set a variable in java or javascript and let it be read in cold
fusion?

this is what i'm thinking:




javacode
put 1 into java
/javacode

javascript code
put 1 into javascript
/javascript code


no javascript


no java


any ideas on how to do this? better then this one? And, if you can cross
variables through different peices of code, what is the syntax for writing
this in javascript, java? Can you have Java on a cfm page?

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



Browser Detection

2000-10-17 Thread Gavin Myers

Now i feel dumb for recently deleating all of that past browser detection
talk

this is all i want to do:
verify that whomever is using IE 5.0 or greater

so if I use

CGI.http_user_agent Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt)

How can I just look for the MSIE 5.0, or is there something else I should be
looking for?
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Beep, Beep?

2000-10-17 Thread Gavin Myers

could make a little flash object with a sound to call. I know for mac you
have the ability in director to make the default mac beep (Called... beep).

-Original Message-
From: Michael Rosario [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 17, 2000 10:01 AM
To: CF-Talk
Subject: Beep, Beep?


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--_=_NextPart_001_01C0384B.0EA54D90
Content-Type: text/plain;
charset="iso-8859-1"

Hello there!
   
Is there an easy way to make a beep from Internet Explorer
javascript?   I've already tried using an  to put a wav file 
into the page and play it.  That works, but I've found this causes
javaScript errors in some unknown cases.   (It may be caused by difference
media player
active X object)In addition, this doesn't cause a beep for people who
don't have sound cards.   Any suggestions?   Thanks!

/\/\ichael

--_=_NextPart_001_01C0384B.0EA54D90
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable






Beep, Beep?



Hello there!
Ā Ā  
Ā Ā Ā  Is there =
an easy way to make a beep from Internet Explorer =
javascript?Ā Ā  I've already tried using an  to =
put a wav file 

into the page and play it.Ā  That works, but I've =
found this causes javaScript errors in some unknown cases.Ā Ā  =
(It may be caused by difference media player

active X object)Ā Ā Ā  In addition, this =
doesn't cause a beep for people who don't have sound cards.Ā Ā  =
Any suggestions?Ā Ā  Thanks!

/\/\ichael




--_=_NextPart_001_01C0384B.0EA54D90--

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



RE: NASDAQ.com... ERRRRR!

2000-10-17 Thread Gavin Myers

fuseobjects... hah, i mean siteobjects

-Original Message-
From: Gavin Myers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 17, 2000 9:29 AM
To: CF-Talk
Subject: NASDAQ.com... ER!


okay, i'm pulling xml info off of nasdaq.com. You can find the xml stuff
they have at:
http://quotes.nasdaq.com/quote.dll?page=xml&mode=stock&symbol=ALLR

every %&*@ minute they change the way they handle best-bid-price, and
best-ask-price
they do this:

from 

to



so, needless to say, this throws an error every time they change it around.

I was thinking of doing a cftry, but I was unsure on how to do this, is this
correct?

http://quotes.nasdaq.com/quote.dll?page=xml&mode=stock&symbol=ALLR"
r_struct="sALLR">



#sALLR["NASDAQAMEX-DOT-COM"][2]["EQUITY-QUOTE"]["best-bid-price"][1
].value#


#sALLR["NASDAQAMEX-DOT-COM"][2]["EQUITY-QUOTE"]["best-bid-price"].v
alue#


when i do that, it just doesnt show up with a bid price at all...

any suggestions?

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



RE: NASDAQ.com... ERRRRR! - Fixed it -

2000-10-17 Thread Gavin Myers

Nevermind, Had my stuff inside the cfcatch... shoulda been like this:

#sALLR["NASDAQAMEX-DOT-COM"][2]["EQUITY-QUOTE"]["best-bid-price"][1].
value#


#sALLR["NASDAQAMEX-DOT-COM"][2]["EQUITY-QUOTE"]["best-bid-price"].val
ue#



-Original Message-
From: Gavin Myers 
Sent: Tuesday, October 17, 2000 9:29 AM
To: '[EMAIL PROTECTED]'
Subject: NASDAQ.com... ER!


okay, i'm pulling xml info off of nasdaq.com. You can find the xml stuff
they have at:
http://quotes.nasdaq.com/quote.dll?page=xml&mode=stock&symbol=ALLR

every %&*@ minute they change the way they handle best-bid-price, and
best-ask-price
they do this:

from 

to



so, needless to say, this throws an error every time they change it around.

I was thinking of doing a cftry, but I was unsure on how to do this, is this
correct?

http://quotes.nasdaq.com/quote.dll?page=xml&mode=stock&symbol=ALLR"
r_struct="sALLR">



#sALLR["NASDAQAMEX-DOT-COM"][2]["EQUITY-QUOTE"]["best-bid-price"][1
].value#


#sALLR["NASDAQAMEX-DOT-COM"][2]["EQUITY-QUOTE"]["best-bid-price"].v
alue#


when i do that, it just doesnt show up with a bid price at all...

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



NASDAQ.com... ERRRRR!

2000-10-17 Thread Gavin Myers

okay, i'm pulling xml info off of nasdaq.com. You can find the xml stuff
they have at:
http://quotes.nasdaq.com/quote.dll?page=xml&mode=stock&symbol=ALLR

every %&*@ minute they change the way they handle best-bid-price, and
best-ask-price
they do this:

from 

to



so, needless to say, this throws an error every time they change it around.

I was thinking of doing a cftry, but I was unsure on how to do this, is this
correct?

http://quotes.nasdaq.com/quote.dll?page=xml&mode=stock&symbol=ALLR"
r_struct="sALLR">



#sALLR["NASDAQAMEX-DOT-COM"][2]["EQUITY-QUOTE"]["best-bid-price"][1
].value#


#sALLR["NASDAQAMEX-DOT-COM"][2]["EQUITY-QUOTE"]["best-bid-price"].v
alue#


when i do that, it just doesnt show up with a bid price at all...

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



RE: CF Resources

2000-10-16 Thread Gavin Myers


http://www.cfvault.com/index.cfm/mode/ContentPage/Element/tutorials_full_ind
ex

http://hotwired.lycos.com/webmonkey/programming/coldfusion/

http://www.builder.com/Programming/ScriptMagic/

http://html.about.com/compute/html/library/weekly/aa080299.htm

http://curry.edschool.virginia.edu/teacherlink/infotech/database/coldfusion/
home.html

http://html.about.com/compute/html/cs/coldfusion/index.htm?rnk=r1&terms=Cold
+Fusion


go to www.google.com (the ONLY search engine) and keyword "Cold Fusion
Tutorials" or "Cold Fusion" Tutorials, "Cold Fusion Help", "Learn Cold
Fusion" etc...
-Original Message-
From: Peter Benoit [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 16, 2000 9:37 AM
To: CF-Talk
Subject: RE: CF Resources


Good sites, problem being that the majority of this stuff is encrypted so
seeing how someone did something, then building upon it myself isn't an
option.  Just don't seem to be a wide variety of "source" sites out there,
or at least I can't find em. :(

*  -Original Message-
*  From: JustinMacCarthy [mailto:[EMAIL PROTECTED]]
*  Sent: Monday, October 16, 2000 10:28 AM
*  To: CF-Talk
*  Subject: Re: CF Resources
*  
*  
*  You will find a load of stuff like this at
*  http://devex.allaire.com/developer/gallery/
*  
*  Also there are lots of CF resources out there
*  
*  www.cfadvisor.com
*  www.houseoffusion.com
*  www.defusion.com
*  
*  Also check out your local CFUG
*  http://devex.allaire.com/developer/usergroups/
*  
*  JustinMacCarthy
*  
*  - Original Message -
*  From: "Peter Benoit" <[EMAIL PROTECTED]>
*  To: "CF-Talk" <[EMAIL PROTECTED]>
*  Sent: Monday, October 16, 2000 3:13 PM
*  Subject: CF Resources
*  
*  
*  > Boy what a hard time I had this weekend trying to find 
*  some resources on
*  > Cold Fusion.  Basically I was trying to write a few scripts, but I
*  couldn't
*  > find any decent examples online.  Much different from the 
*  PHP community
*  out
*  > there.  The examples I could find were done as CFX, which 
*  I can't use on
*  my
*  > current host.
*  >
*  > I just want to do some simple things right off the bat, server side
*  browser
*  > detection, sessions, etc...
*  >
*  > Can someone help me with this?
*  >
*  >
*  > -Pete
*  >
*  > 
*  -
*  -
*  
*  > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
*  > To Unsubscribe visit
*  http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lis
ts/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
>


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


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



RE: cfif help???

2000-10-12 Thread Gavin Myers

if #user_id# equals #user_id# ?

wouldn't that always return true?

but you could try


Sorry User_ID is taken


but that will always return true... there's a bunch of ways of doign this -
here's one, i'm sure there are better ways


select count(*) as user_id_check
from database
where '#form.userid#' eq user_id



sorry that username is taken




-Original Message-
From: HappyToad.com [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 12, 2000 2:08 PM
To: CF-Talk
Subject: cfif help???


I am trying to set up a form that compares the form field user_id to the
database.  Here is what I have written:


Sorry User ID is Taken







I am getting an error saying:
Error Diagnostic Information
InsideText

Cannot convert user1 to boolean.

user1 is what was entered as user id on the form page.

Any ideas,
Rich



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



RE: HEEEEEEEEELLLLLLLLLLLLPPPPPPPPPPPPPP! Access Memory Error

2000-10-12 Thread Gavin Myers

Could make a customized cferror for the time being until its fixed... 
not a solution, but it'll look better at least

sorry i cant be of more help

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



cf website

2000-10-12 Thread Gavin Myers

hey sorry to repeat the same question, cant find this on my bookmarks:

way back when, someone mentioned a site that listed a bunch of cf web
hosting sites, and they were ranked by popularity... anyone know what i'm
talking about?
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Access question

2000-10-12 Thread Gavin Myers

I think this is more of a project by project discussion. There cant be a set
of truths that can be applied to everything, customer is the one to make
that descision anyways:

"Right now you don't get many hits on your server, we can use access as the
main database to save you money, access is a decent database but not as good
as SQL Server, while I suggest SQL server the overhead cost of implementing
it will cost x dollars. This may or may not be within your budget at the
moment. Eventually, if you are planning on making this site popular you will
have to go with SQL, Oracle, DB2 or some other higher end database program,
you can either spend this money now or later, it is up to you."

But I use SQL whenever possible, but if you let them know about access then
you can come back in 6 months to set up SQL and get a few extra pennies :)

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



source code

2000-10-12 Thread Gavin Myers

http://www.mydomain.com/null.htw?CiWebHitsFile=/pagenamehere.asp%20&CiRestri
ction=none&CiHiliteType=Full#CiTag0

allowes you to view asp pages (you all probally know this, its been out for
awhile).

Is there any current trick that allows people to view cfm files? I couldn't
find anything on the allaire site, either old bugs or new ones?

thanks,
Gavin

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



RE: Big developments

2000-10-12 Thread Gavin Myers

everyone does this differently: here's how i did it for
http://www.lightrodsoft.com

#1 Talk to everyone that will have a say in the website see what they are
looking for before starting _anything_. Dont even try to code/design for the
first 3-5 days. Take notes, start a word doc that will record everything
people say.

#2 Formulate a plan with the word doc, before you start
programming/designing you need to have a clear view of what they are going
to want. Write out (in as great a detail as possible) the formula for this
web site. Like this:

Lightning Rod Software, Website A&A

The website can be broken down into 8 main areas:
Home
Company
Products

etc...

Home can be broken down into 4 main areas

Contact Us
Employment
Privacy Statement
Directions

Even go as far as to name all of the files you are going to need. I give my
files very long winded names (this is just me, so i can look through the
directory and know what does what). Example:
products.cfm
products_imexpress.cfm
products_platform_gateway.cfm
products_platform_modules.cfm
products_platform_modules_email.cfm
products_platform_modules_fax.cfm
products_platform_modules_ivr.cfm
products_platform_tools.cfm
products_platform_tools_itools.cfm

I had every file written down on a word doc before I even started. I did the
same with my database (including the column names). This way there are no
suprises. From this point is where I started coding (i only had 2 weeks to
do what is out there now, i just finished phase 2 wich should be live on
friday). Take everything that is written down and order it by importance,
take the same list and order it by difficulty. Take the most difficult
things and write out the process, continue on until you know exactily what
the most difficult things are going to need in order to function. Then
you'll have a clear idea on how to proceed.

See, this is how i do it, a lot of writing because writing slows me down
enough to think more clearly. Everyone is different though

good luck!



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



RE: [slightly ot: math question, needed for cold fusion programming]

2000-10-11 Thread Gavin Myers

this is actually what i'm doing












but I'll look into UUID, that sounds pretty cool
-Original Message-
From: Cameron Childress [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 11, 2000 1:59 PM
To: CF-Talk
Subject: RE: [slightly ot: math question, needed for cold fusion
programming]


I thought it was added in 4.0, but it might have been 4.0.1.  I think it was
added while Allaire was developing Spectra.  I guess is could be a 4.5
thing, but I don't see it in the "new functions" page in my 4.5 docs.  Most
RDBMS systems also have a comparable UUID type of functionality as well, but
using that will, tie you to the RDBMS platform to a certain extent.

-Cameron


Cameron Childress
ElliptIQ Inc.
p.770.460.7277.232
f.770.460.0963

> -Original Message-
> From: Gavin Myers [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 11, 2000 2:43 PM
> To: CF-Talk
> Subject: RE: [slightly ot: math question, needed for cold fusion
> programming]
>
>
> is CreateUUID() a 4.5 feature? I dont see any reference to it in 4.0
>
> -Original Message-
> From: Cameron Childress [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 11, 2000 1:33 PM
> To: CF-Talk
> Subject: RE: [slightly ot: math question, needed for cold fusion
> programming]
>
>
> I haven't really been watching CF-Talk that closely lately, so I may be
> missing some info here, but...
>
> If you are in need of a random and unique ID, I would suggest using the
> CreateUUID() function, not a timestamp.  It is unique across the universe
> and is only 35 characters long.  Also, if you actually store this
> as a date
> stamp in a database (which I'm not sure you are doing), I recall reading
> that SQL 7 (and probably other RDBMS platforms as well) don't store date
> stamps with millisecond precision, so the chances of dups would be much
> higher.
>
> -Cameron
>
> ----
> Cameron Childress
> ElliptIQ Inc.
> p.770.460.7277.232
> f.770.460.0963
>
> > -Original Message-
> > From: Gavin Myers [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, October 11, 2000 1:37 PM
> > To: CF-Talk
> > Subject: RE: [slightly ot: math question, needed for cold fusion
> > programming]
> >
> >
> > okay, that sounds good
> >
> > so the chances of two people getting the same timestamp is the
> same as the
> > packers making it to the superbowl.
> >
> > pretty much impossible.
> >
> > i'll put that in my report (using timestamp (thanks to whomever
> suggested
> > that awhile back) to create a series of random 60 digit
> numbers, and their
> > can never be duplicates).
> >
> > Thanks!
> > Gavin
> >
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, October 11, 2000 12:21 PM
> > To: CF-Talk
> > Subject: Re: [slightly ot: math question, needed for cold fusion
> > programming]
> >
> >
> > 1.4884 x 10^19
> >
> > Gavin Myers <[EMAIL PROTECTED]> wrote:
> > Lets say you have 1 page that scores 1,000,000 unique visitors a month
> >
> > here's what I came up with:
> >
> > 1,000,000/30/24/60/60/1000 = 0.000385
> >
> > So that means that 0.0003 people a milisecond hit the sight, correct?
> > what is the % chance of 2 people hitting on the same milisecond
> (and math
> > equation for that?)
> > --
> > --
> > --
> > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> > To Unsubscribe visit
> >
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the
> body.
>
>
> 
> Get free email and a permanent address at http://www.netaddress.com/?N=1
> --
> --
> --
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> --
> 
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

-

RE: So, the Client isn't an issue to the CF Server?

2000-10-11 Thread Gavin Myers

so if you set up a structure like this (to remove everything but the
problem) this would or wouldnt work

file1.cfm


file2.cfm


that doesn't work?

-Original Message-
From: Owens, Howard [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 11, 2000 1:38 PM
To: CF-Talk
Subject: RE: So, the Client isn't an issue to the CF Server?




All other includes on this site work.

The one difference, which I failed to mention until just my last post ...
this is the only include that includes a  tag that uploads a pic.

However, as I said previously, the  as well as all other code in the
includes on this set of includes works when all of the code is dumped onto a
single page.  Everything executes beautifully on the Mac with IE if all of
the code is on a single .cfm page.

H.


=
Howard Owens
Web Producer
InsideVC.com
mailto:[EMAIL PROTECTED]
=

> -Original Message-
> From: Gavin Myers [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, October 11, 2000 11:35 AM
> To:   CF-Talk
> Subject:  RE: So, the Client isn't an issue to the CF Server?
> 
> will any cfinclude work?
> 
> 
> 

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



RE: [slightly ot: math question, needed for cold fusion programming]

2000-10-11 Thread Gavin Myers

is CreateUUID() a 4.5 feature? I dont see any reference to it in 4.0

-Original Message-
From: Cameron Childress [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 11, 2000 1:33 PM
To: CF-Talk
Subject: RE: [slightly ot: math question, needed for cold fusion
programming]


I haven't really been watching CF-Talk that closely lately, so I may be
missing some info here, but...

If you are in need of a random and unique ID, I would suggest using the
CreateUUID() function, not a timestamp.  It is unique across the universe
and is only 35 characters long.  Also, if you actually store this as a date
stamp in a database (which I'm not sure you are doing), I recall reading
that SQL 7 (and probably other RDBMS platforms as well) don't store date
stamps with millisecond precision, so the chances of dups would be much
higher.

-Cameron


Cameron Childress
ElliptIQ Inc.
p.770.460.7277.232
f.770.460.0963

> -Original Message-----
> From: Gavin Myers [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 11, 2000 1:37 PM
> To: CF-Talk
> Subject: RE: [slightly ot: math question, needed for cold fusion
> programming]
>
>
> okay, that sounds good
>
> so the chances of two people getting the same timestamp is the same as the
> packers making it to the superbowl.
>
> pretty much impossible.
>
> i'll put that in my report (using timestamp (thanks to whomever suggested
> that awhile back) to create a series of random 60 digit numbers, and their
> can never be duplicates).
>
> Thanks!
> Gavin
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 11, 2000 12:21 PM
> To: CF-Talk
> Subject: Re: [slightly ot: math question, needed for cold fusion
> programming]
>
>
> 1.4884 x 10^19
>
> Gavin Myers <[EMAIL PROTECTED]> wrote:
> Lets say you have 1 page that scores 1,000,000 unique visitors a month
>
> here's what I came up with:
>
> 1,000,000/30/24/60/60/1000 = 0.000385
>
> So that means that 0.0003 people a milisecond hit the sight, correct?
> what is the % chance of 2 people hitting on the same milisecond (and math
> equation for that?)
> --
> --
> --
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the
> body.
>
>
> 
> Get free email and a permanent address at http://www.netaddress.com/?N=1
> --
> --
> --
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> --
> 
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


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



RE: So, the Client isn't an issue to the CF Server?

2000-10-11 Thread Gavin Myers

will any cfinclude work?

like:

make a page called cfinclude1.cfm
and it contans
hello

make a page called cfinclude2.cfm
and it contains
#x#

cfinclude3.cfm


X is 1




cfinclude4.cfm


cfinclude5.cfm



include all of those on one page and see what happens?

curious to know if its cfinclude in general or the contents of, or what

-Original Message-
From: Owens, Howard [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 11, 2000 12:30 PM
To: CF-Talk
Subject: So, the Client isn't an issue to the CF Server?



We've discussed many times ... the Cold Fusion server doesn't care what
client a user is using.  Everything happens on the server, so, logically,
the client is irrelevant. CF should process a page sent from Internet
Explore just the same as a page sent from Navigator, right? And a Mac
running IE should get the same results as a Wintel running IE, right?

Well, read on ... 

Background: I have a client who is paying me a pretty fair sum to build a
Web site. With the basic programming done, he flew me to Hawaii to train his
staff on how the new site works. Everything was fine at home. Everything was
fine on my laptop when I got there. About an hour before the staff meeting,
I met with the client and we started to go over the functionality of the
site using the shiny new computer he bought for the staff to use with the
site.  That's when disaster struck.  It didn't work.  Fortunately, I was
able to use bubble gum and bailing wire to cobble together a substitute page
that did work on the new computer and we got through training fine.  When I
got home, I rebuilt that section of the site using a similar method as the
original build, but a bit more refined and stripped down.  Again, it worked
locally.  But when I notified staff to give it a try on the new computer, it
didn't work.

Method: I don't use FuseBox. I use my own system I call FuseBastard.
Basically, it's using cfswitch/cfcase to call includes -- it gives me some
code reuse, but in a way I can understand. 

The Error: When a specific page is executed, on the problem machine, I
receive an error ... the specified query for  doesn't exist.
Again, this works fine on my development machine but not on the new
computer.

The apparent cause:  The  that calls the query that populates the
CFoutput doesn't seem to get included when the code is executed from the
problem machine.

I did further testing this morning and found that I can duplicate the error
on another machine I have at home. Read on ... 

Where it works: The application works as expected when run from my NT 4.0sp4
using Internet Explorer 5.0 and Netscape Navigator 4.5. It also works on my
Win95 laptop using IE.  It also works on my MacOS 8.5 using Netscape Nav
4.0.

Where it doesn't work: It doesn't work on my clients new IMac running OS 9.x
with IE 5.x. It also doesn't work on my MacOS 8.5 with IE 5.0.

So why would CF not execute code when called by IE running on a Mac, but
execute it with IE on Windows and Netscape everywhere?  Why should the CF
server care what the client is?

The problem doesn't seem to be the code itself.  If I put all of the queries
on the same app page as the output tags, then everything is hunky dory.
It's only when I try to call the queries in a  that I run into
problems.

H.



=
Howard Owens
Web Producer
InsideVC.com
mailto:[EMAIL PROTECTED]
=



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



RE: So, the Client isn't an issue to the CF Server?

2000-10-11 Thread Gavin Myers

can you toss out a simple source code example of something that wouldn't
work?

-Original Message-
From: Owens, Howard [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 11, 2000 12:30 PM
To: CF-Talk
Subject: So, the Client isn't an issue to the CF Server?



We've discussed many times ... the Cold Fusion server doesn't care what
client a user is using.  Everything happens on the server, so, logically,
the client is irrelevant. CF should process a page sent from Internet
Explore just the same as a page sent from Navigator, right? And a Mac
running IE should get the same results as a Wintel running IE, right?

Well, read on ... 

Background: I have a client who is paying me a pretty fair sum to build a
Web site. With the basic programming done, he flew me to Hawaii to train his
staff on how the new site works. Everything was fine at home. Everything was
fine on my laptop when I got there. About an hour before the staff meeting,
I met with the client and we started to go over the functionality of the
site using the shiny new computer he bought for the staff to use with the
site.  That's when disaster struck.  It didn't work.  Fortunately, I was
able to use bubble gum and bailing wire to cobble together a substitute page
that did work on the new computer and we got through training fine.  When I
got home, I rebuilt that section of the site using a similar method as the
original build, but a bit more refined and stripped down.  Again, it worked
locally.  But when I notified staff to give it a try on the new computer, it
didn't work.

Method: I don't use FuseBox. I use my own system I call FuseBastard.
Basically, it's using cfswitch/cfcase to call includes -- it gives me some
code reuse, but in a way I can understand. 

The Error: When a specific page is executed, on the problem machine, I
receive an error ... the specified query for  doesn't exist.
Again, this works fine on my development machine but not on the new
computer.

The apparent cause:  The  that calls the query that populates the
CFoutput doesn't seem to get included when the code is executed from the
problem machine.

I did further testing this morning and found that I can duplicate the error
on another machine I have at home. Read on ... 

Where it works: The application works as expected when run from my NT 4.0sp4
using Internet Explorer 5.0 and Netscape Navigator 4.5. It also works on my
Win95 laptop using IE.  It also works on my MacOS 8.5 using Netscape Nav
4.0.

Where it doesn't work: It doesn't work on my clients new IMac running OS 9.x
with IE 5.x. It also doesn't work on my MacOS 8.5 with IE 5.0.

So why would CF not execute code when called by IE running on a Mac, but
execute it with IE on Windows and Netscape everywhere?  Why should the CF
server care what the client is?

The problem doesn't seem to be the code itself.  If I put all of the queries
on the same app page as the output tags, then everything is hunky dory.
It's only when I try to call the queries in a  that I run into
problems.

H.



=
Howard Owens
Web Producer
InsideVC.com
mailto:[EMAIL PROTECTED]
=



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



RE: [slightly ot: math question, needed for cold fusion programming]

2000-10-11 Thread Gavin Myers

okay, that sounds good

so the chances of two people getting the same timestamp is the same as the
packers making it to the superbowl.

pretty much impossible.

i'll put that in my report (using timestamp (thanks to whomever suggested
that awhile back) to create a series of random 60 digit numbers, and their
can never be duplicates).

Thanks!
Gavin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 11, 2000 12:21 PM
To: CF-Talk
Subject: Re: [slightly ot: math question, needed for cold fusion
programming]


1.4884 x 10^19

Gavin Myers <[EMAIL PROTECTED]> wrote:
Lets say you have 1 page that scores 1,000,000 unique visitors a month

here's what I came up with:

1,000,000/30/24/60/60/1000 = 0.000385

So that means that 0.0003 people a milisecond hit the sight, correct?
what is the % chance of 2 people hitting on the same milisecond (and math
equation for that?)

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



Get free email and a permanent address at http://www.netaddress.com/?N=1

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



slightly ot: math question, needed for cold fusion programming

2000-10-11 Thread Gavin Myers

Lets say you have 1 page that scores 1,000,000 unique visitors a month

here's what I came up with:

1,000,000/30/24/60/60/1000 = 0.000385

So that means that 0.0003 people a milisecond hit the sight, correct?
what is the % chance of 2 people hitting on the same milisecond (and math
equation for that?)
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Round Decimals

2000-10-11 Thread Gavin Myers

you mean like this?
numberformat(number, ".999")

so
numberformat(1453.8764, ".999")

= 1453.876

and

numberformat(1453.8766, ".999")

= 1453.877

-Original Message-
From: Robert Everland [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 11, 2000 11:22 AM
To: CF-Talk
Subject: Round Decimals


Ok I know of ceiling and round but how do I round decimals. Say I
have 4.59 how do I get it to say 4.6 or if I have 4.585 to be 4.59

Robert Everland III
Web Developer
Dixon Ticonderoga

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



RE: AOL mayheim

2000-10-11 Thread Gavin Myers

so you'd want to do this then? (this is how they have it set up on the
webmaster.info.aol.com)

 



-Original Message-
From: Kevin Queen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 11, 2000 9:34 AM
To: CF-Talk
Subject: RE: AOL mayheim


OK, I have watched this thread for the past two days and am now going to
magically solve the AOL caching issues for everybody.



http://webmaster.info.aol.com/index.cfm?article=12



Look, if you read the information provided by AOL in their ColdFusion based
webmaster information page they tell you how to cause their servers to not
cache.

P.S. - Has anybody read that book about the Spanish guy named Manuel, it
does help. ;)

Kevin Queen
Software Developer||""||
SyntheticLogic||__||
Atlanta, Ga   [ -=.]
  ===:0~

"Ah, I see!", said the blind man to the deaf mute.  -Unknown


-Original Message-
From: Simon Horwith [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 11, 2000 10:20 AM
To: CF-Talk
Subject: RE: AOL mayheim


Boy, that's a tough one.  I'd ask the folks at AOL, to be honest.  Good luck
getting an answer anytime relatively soon, though.  If you are able to get
the stats from them regarding frequency of caching, etc., please do share
the numbers with this list.  I don't target AOL users, nor do I generally
even stop to think about what my site is going to look like to an AOL user,
to be honest.  However, AOL users do represent a large audience, and I
probably should be more concerned about how my clients' sites look to them.
If you discover any tips, tricks, or standard procedures for making a
dynamic site more "AOL friendly", I'd be interested in knowing about it, as
would many other folks on this list I'm sure.  You are correct in your
statement that AOL's problems are not ColdFusion specific, in regards to
their probable inability to cache dynamic sites.  These problems would exist
for any dynamic site technology, not just CF.  Until you get answers from
the folks at AOL, my best advice (if this is a real concern of yours) is to
post a little disclaimer for AOL users stating the possibility of outdated
material and the like, and let them know you're working on it.  Of course,
the best thing for you to do is to download and install a free AOL trial
membership, and view your site the way other AOL user would.

~Simon

-Original Message-
From: John Allred [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 11, 2000 9:58 AM
To: CF-Talk
Subject: RE: AOL mayheim


Thanks for this insight, Simon. According to this logic, Cold Fusion would
not be singled out by AOL. It would not be friendly to any server
technology that presents dynamic pages based on database content, including
ASP, PHP, and Domino.

Can you or anyone else shed some light on just how far behind AOL's caching
is? For instance, if I have info on a site that changes daily, how long
will AOL users go between snapshots? This would help me explain to AOL
users what they're not seeing.

--John






Simon Horwith


leaf.com>cc:

 Subject: RE: AOL mayheim

10/10/2000

01:51 PM

Please

respond to

cf-talk








I haven't been following this entire thread, but you've got to remember
that
for all intents and purposes, AOL is a cached intranet.  AOL (or anyone
else) cannot cache pages that are dynamically changing based on database
content... or at the very least, they cannot keep very current copies of
dynamic sites on their network.From AOL's standpoint, the statement
that
they are not "ColdFusion" friendly makes sense.

~Simon

-Original Message-
From: Warrick, Mark [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 10, 2000 2:34 PM
To: CF-Talk
Cc: [EMAIL PROTECTED]
Subject: RE: AOL mayheim


Hey Brian,

For those of us (such as myself) who apparently need new glasses, could you
help us out with a link to that info you're talking about?

---mark


--
Mark Warrick
Phone: (714) 547-5386
Efax.com Fax: (801) 730-7289
Personal Email: [EMAIL PROTECTED]
Personal URL: http://www.warrick.net
Business Email: [EMAIL PROTECTED]
Business URL: http://www.fusioneers.com
ICQ: 346566
--


> -Original Message-
> From: Brian bouldernet [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 10, 2000 6:58 AM
> To: CF-Talk
> Subject: AOL mayheim
>
>
> You cannot email AOL using Cold Fusion Application Server... The default
> serverid, You must change it.. Also it transforms all likes like
> Hotmail to
> single quote instead of doublequotes
> - Original Message -
> From: Ryan <[EMAIL PROTECTED]>
> To: CF-Talk <[EMAIL PROTECTED]>
> Sent: Tuesday, 

OT: found myself on this thing

2000-10-10 Thread Gavin Myers

Sorry about this not referencing anything to do with cold fusion; but I
figgured this is the best place to ask this question to other designers,
programmers, directors etc.

Every now and then I like to go to google and keyword search my name "Gavin
Myers" just to see where I am listed, I came acrosse this old, OLD
newsletter release from Epic Megagames (their first newsletter actually):

http://zzt.org/zzt/zztnl1.gif
http://zzt.org/zzt/zztnl2.gif
http://zzt.org/zzt/zztnl3.gif

Saw my name listed there in honorable mention (yeah i didn't get first
place, but this was 8 years ago and I was like 13). 

What I've been thinking is, should I add this to my portfolio/resume to
reiterate my computer expierence, or would it seem pretty cheesy to a
prospective employer in the technical/design field?

once again i apologize for being so far ot


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



seedy random numbers

2000-10-06 Thread Gavin Myers

okay, i've looked into randomize()
and from b.f.'s book it states:


Randomize(Number) seed the random number generator with the passed number

so if I do this:


#Randomize(1)#

#x#


I get:

0.31415822
41


If I put #randomize(2)# instead of 1 i get:

0.62831643
50 


with that being said, i could randomze off the timer... but as far as i can
see the timer runs only in seconds... wich would be bad.

So this boils down to:

Question 1 Is it important to seed the randomizer before using random
commands? Or does cf automatically do this. The odd part is if it does do
this automatically then why would we need a seed in the first place?

Question 2 If it doesnt how can i seed the random number generator? If cf
doesnt auto-seed the random number generator then I cant do this:


#x#


#randomize(x)#

because the randrange wouldn't be seedy and random. Wich brings me over to
question 3

How can i use randomize(x) in a fasion that would make it not show up?
Because in order to use it in the way stated above i have to turn it into a
variable...

do i do this:

#randomize(124, randrange(x))#

or would it be more like

#randomize(124, x)#


i don't understand why we still have to seed the randomizer... I know a
computer cannot technically whip out random numbers, but the moment you ask
like :dd:mm:hh:mm:
should get a pretty random number... unles again if you have a site that
gets tons of hits per day, there could be a chance of 2 people calling the
same thing the same second (or even mili-second) and that may depend on how
cold fusion server side works.

feh

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



RE: CF XML Parser

2000-10-06 Thread Gavin Myers

The guys at siteobjects.com made an excellent one, you can download it at
http://www.siteobjects.com

and check out 

forums.siteobjects.com



-Original Message-
From: Duane Boudreau [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 06, 2000 12:38 PM
To: CF-Talk
Subject: CF XML Parser


Hi All,

Has anyone written an CF based xml parser. I believe I saw a parser that was
written in C++ but I need one one in CFML.

TIA,
Duane


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



Realsim and 4D Arrays

2000-10-06 Thread Gavin Myers



Maybe its because I don't exist in some Sci-Fi Channel tv show, but I'm
having a hard time thinking of what a 4D Array looks like.

1d = X cordinate
2d = X,Y cordinate
3d = X,Y,Z cordinate
4d = bah!

Considering a 1d array is a line, a 2d is a plane, 3d is a cube, would 4d
then in this sense, be 1 cube seperated by several smaller cubes wich are in
turn seperated by even smaller cubes?

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



RE: show my stuff

2000-10-05 Thread Gavin Myers

steal the server the intranet is on

or, from sql server go to tables, 
right click on the table you want to export 
go to all tasks 
and export table

then again, there's the problem of if its secure information.. i'd just make
a new sql database and give it the same column names but with useless data. 

I personally think what wins over is ability to describe what you did, and
how you did it, if you can do that well you shouldn't have to show them.

-Original Message-
From: S R [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 05, 2000 1:28 PM
To: CF-Talk
Subject: show my stuff


Hi everyone,

I am currently looking for a job but i am running into a problem because I 
want to interview with people and cannot show them my work because all the 
stuff I have been doing is on an intranet. I am currently creating a CD rom 
and basically exporting and modifying my ColdFusion work to run on any 
desktop. My question is how do I export a database from SQL to another 
person's system? It's easy to do it with an ACCESS database because you just

copy and paste it. Would I do some sort of backup and then just create a 
device on their system, then restore my Database? How would you go about 
interviewing if you were in my situation. Do ColdFusion companies accept 
just screen shots and an explanation of what each page does? I'm lost...

Thanks

Sal
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


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



Realsim and 4D Arrays

2000-10-05 Thread Gavin Myers

Maybe its because I don't exist in some Sci-Fi Channel tv show, but I'm
having a hard time thinking of what a 4D Array looks like.

1d = X cordinate
2d = X,Y cordinate
3d = X,Y,Z cordinate
4d = bah!

Considering a 1d array is a line, a 2d is a plane, 3d is a cube, would 4d
then in this sense, be 1 cube seperated by several smaller cubes wich are in
turn seperated by even smaller cubes?

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



RE: HTML Email Tracking

2000-10-05 Thread Gavin Myers

i don't think you can do anything in an html e-mail campaign other then
html. Even javascript wont work 98% of the time. What about setting the
images you are going to use aside from the rest of your web directory like
put them in
www.mydomain.com/htmlemailcampaign/imagepool/
link them to the html document and use web trends to track each time those
images get hit?

-Original Message-
From: Sean Daniels [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 05, 2000 11:29 AM
To: CF-Talk
Subject: HTML Email Tracking


I feel like I've seen this done before, but I can't for the life of me
figure out how to get it to work.

What I have is a marketing email that is going out HTML formatted. I want to
include in it a reference to an image file. I've heard that some people have
successfully referenced a CFM file in the src of the image that would allow
you to have some code executed each time the image was grabbed. Then you use
cfcontent maybe to push out an actual image.

Anyone got some code that shows how this is actually done? I've tried just:



The code in thefile.cfm doesn't get run though. All it does by the way is
increment a counter in a db table.

TIA

- Sean

~~
  Sean Daniels
  Manager, Engineering
  (T): 207.439.6030
  (C): 978.764.0799
~~
  http://www.dealforce.com
  http://www.mergernetwork.com




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



RE: Netscape?

2000-10-05 Thread Gavin Myers

can you copy/paste the source? that may make it easier to find a problem

-Original Message-
From: HappyToad.com [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 05, 2000 9:21 AM
To: CF-Talk
Subject: RE: Netscape?


OK explain this. The form works when I use it as a CFINCLUDE but not on its
own.  I can't figure it out.
Rich

-Original Message-
From: James Taavon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 05, 2000 10:08 AM
To: CF-Talk
Subject: Re: Netscape?


This is a multi-part message in MIME format.
--9F438ACC8159EB2C0B77E0AA
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

It must be your code.

I got cfform running using both IE and Netscape.

"HappyToad.com" wrote:
>
> Is there something wrong with my code or does Netscape not recognise
> ?
>
> Rich
--9F438ACC8159EB2C0B77E0AA
Content-Type: text/x-vcard; charset=us-ascii;
 name="jtaavon.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for James Taavon
Content-Disposition: attachment;
 filename="jtaavon.vcf"

begin:vcard
n:Taavon;James
tel;cell:(443) 506-2117
tel;fax:(410) 333-5203
tel;work:(410) 767-3415
x-mozilla-html:FALSE
org:Department of Labor, Licensing and Regulation;Office of Information and
Technology
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Web Developer
adr;quoted-printable:;;1100 N. Eutaw Street,=0D=0ARoom
203;Baltimore;MD;21201;
fn:James Taavon
end:vcard

--9F438ACC8159EB2C0B77E0AA--


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


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



dynamic form

2000-10-02 Thread Gavin Myers

this is buggin' me
okay, lets say the database consists of:

emp_name
roy
joe
billy
gus


cf_code (simplified)


select * from names


Who woule you like to fire?

#emp_name# NoYes





In order for this to work i have to specify a name so my radio buttons will
work. In order to give my radio buttons a name i have to give them a dynamic
name (like #emp_name#)

so when i go to my next page, how do i call those dynamic set feild names?

like #form.#emp_name##?

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



RE: Fusebox [CF-Talk]

2000-10-02 Thread Gavin Myers

I thought more game developers prefer OO...

To bring it back (way back) take a look at moocode (who here programmed in a
MU*)
Or to bring it up, look at director lingo script

I recently made a game in director, you were a guy who walked around a maze
with a laser rifle trying to explode these buzz saws before they killed you.
I am familair to OO (thanks to moocode) and I knew that director supported
programming in OO, but since I didn't know how to script it in director I
was forced to build the game non-oo.

So my buzz saws all did the same action, they would approach the person.
Once that person intersected them they would kill it. And one laser shot
killed it.

Had I developed it in OO, i could create a list of things like:
$generic_buzzsaw
verbs:
hit
die
move
properties:
buzz_saw_delay_factor: 4
buzz_saw_speed: 2
buzz_saw_strength: 5
buzz_saw_image: 3

Therefore I could re-use the one parent ($generic_buzzsaw) and create the
children that had different effects to them... without having to cut and
paste the code and changing a few variables around for each difference. 

*shrug*

oh, if anyone wants the game i can put it out on my web site, (its pretty
cheesy)


-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 02, 2000 11:07 AM
To: CF-Talk
Subject: RE: Fusebox [CF-Talk]


> Why are people so hell bent on OO, lets face it OO seems to 
> be a good idea. But good ideas cost us in the long run. Lets 
> look at c++ for instance, before c++ was introduced programs 
> where smaller memeory wasn't and issue and hard drive space 
> either was not an issue. Then somwhere along the lines we began 
> coding with OO, then we needed 10 times as much memory and now 
> we need thousands more hardrive space.

People are "hell bent" on OO because it solves quite a few problems, and in
cases where it's the appropriate answer, the fact that OO code is less
efficient from a performance standpoint is outweighed by its advantages.

> Ask a games developer what the prefer and you will find that 
> they opt out of oo big time, remember that when you inheret a 
> class you inherit everything about that class everytime you 
> need it. So this means that the code runs slower becuase it 
> has more work to do, it becomes larger because it has more
> code that is compiled that is maybe not needed.

While I respect game developers as much as anyone else does, asking a game
developer what they prefer is relevant if you want to develop games, but not
necessarily if you want to develop business applications.

Game developers build applications which fit within a specific niche - where
performance and efficiency count more than anything else. They can't afford
to waste resources in storage or calculation.

Business developers, on the other hand, build applications within a
different niche - where maintenance and extensibility count more than
anything else. They can't afford to build applications that are so low-level
and tightly written that they can't be maintained.

I'm a big fan of Quake, but I don't think people will be playing it twenty
years from now. A successful business application may well be in existence
that long, or longer - just ask all the COBOL developers who were patching
applications last year!

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

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



RE: ...list...array

2000-09-29 Thread Gavin Myers


thanks for the info Steve,

this is what i'm working on (right now the array is visible as you travel
through the quiz)
http://www.lightrodsoft.com/training/training_quiz_listquizzes.cfm

i actually figgured most of it out by... reading the books!

for some reason ever since i joined this list i've gotten more and more lazy
when it comes to figguring stuff out myself

from now on i'll try to exaust my other resources before asking questions
like this



-Original Message-
From: Steve Bernard [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 29, 2000 12:19 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: ...list...array


- To create a list by hand just use CFSET:


- If you have an existing one dimensional array, arr_MyArray[], you could
use ArrayToList():


- To carry variables through pages you can use a variety of methods. If you
want to pass complex structures
like arrays and structures you can use APPLICATION or SESSION variables, or
WDDX on the client, in CLIENT variables, or in a database. Passing lists and
simple variables via "hidden" form input will work but, isn't very secure.
Cookies have the same problem although you could use memory resident cookies
instead of writing them to disk. The variety of tools and methods with each
makes it impossible to definitively say, "THIS is how to do it."

- A list differs from a one dimensional array in the way that they are
indexed and searched. They are just different ways of storing information.
What and how you need to interact with data should dictate the storage and
retrieval method(s) used. In some cases it is necessary to convert between
various types to do what you need to do.

- A one dimensional array is not arr_MyArray[1,2,3], it's:

arr_MyArray[0]="1"
   [1]="2"
   [2]="3"

This may seem like semantics but, it's an important distinction.

Steve

-Original Message-
From: Gavin Myers [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 29, 2000 12:11 PM
To: CF-Talk
Subject: ...list...array

okay, I've been getting into lists and arrays but I cant find very much good
reference

1: is a list just a 1d array?
2: how do you carry a list/array through pages? Is the only way to do it via
application.cfm and locking the list/array?
3: I can figure out how to make a new array, pretty tough arraynew(1) ;),
but how do you make a new list? couldnt find the function for it...

I'm pretty famaliar with arrays, they arent a very tough concept, my main
problem is syntax, wich i can put togethor via developin web applications
(the cf standard book). How to compare them to another when done, how to add
the person picked the letter b on the third question... most of this stuff i
can figgure out by looking at the functions.. my main problem is question
#2.


when i do this:




It bascially does this:
myarray = [1,2,3]

right?

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



RE: ...list...array

2000-09-29 Thread Gavin Myers

thanks for the info Steve,

this is what i'm working on (right now the array is visible as you travel
through the quiz)
http://www.lightrodsoft.com/training/training_quiz_listquizzes.cfm

i actually figgured most of it out by... reading the books!

for some reason ever since i joined this list i've gotten more and more lazy
when it comes to figguring stuff out myself

from now on i'll try to exaust my other resources before asking questions
like this



-Original Message-
From: Steve Bernard [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 29, 2000 12:19 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: ...list...array


- To create a list by hand just use CFSET:


- If you have an existing one dimensional array, arr_MyArray[], you could
use ArrayToList():


- To carry variables through pages you can use a variety of methods. If you
want to pass complex structures
like arrays and structures you can use APPLICATION or SESSION variables, or
WDDX on the client, in CLIENT variables, or in a database. Passing lists and
simple variables via "hidden" form input will work but, isn't very secure.
Cookies have the same problem although you could use memory resident cookies
instead of writing them to disk. The variety of tools and methods with each
makes it impossible to definitively say, "THIS is how to do it."

- A list differs from a one dimensional array in the way that they are
indexed and searched. They are just different ways of storing information.
What and how you need to interact with data should dictate the storage and
retrieval method(s) used. In some cases it is necessary to convert between
various types to do what you need to do.

- A one dimensional array is not arr_MyArray[1,2,3], it's:

arr_MyArray[0]="1"
   [1]="2"
   [2]="3"

This may seem like semantics but, it's an important distinction.

Steve

-Original Message-
From: Gavin Myers [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 29, 2000 12:11 PM
To: CF-Talk
Subject: ...list...array

okay, I've been getting into lists and arrays but I cant find very much good
reference

1: is a list just a 1d array?
2: how do you carry a list/array through pages? Is the only way to do it via
application.cfm and locking the list/array?
3: I can figure out how to make a new array, pretty tough arraynew(1) ;),
but how do you make a new list? couldnt find the function for it...

I'm pretty famaliar with arrays, they arent a very tough concept, my main
problem is syntax, wich i can put togethor via developin web applications
(the cf standard book). How to compare them to another when done, how to add
the person picked the letter b on the third question... most of this stuff i
can figgure out by looking at the functions.. my main problem is question
#2.


when i do this:




It bascially does this:
myarray = [1,2,3]

right?

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



RE: Refresh Question?

2000-09-29 Thread Gavin Myers

bunch of ways

could have a function like this

form.cfm 


form_submit_query.cfm


form_submit_thank_you.cfm


there's probally a ton of other ways

-Original Message-
From: HappyToad.com [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 29, 2000 11:08 AM
To: CF-Talk
Subject: Refresh Question?


How can I stop multiple records being added to the database when a user
clicks refresh on a form action page?

Rich


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



...list...array

2000-09-29 Thread Gavin Myers

okay, i've been getting into lists and arrays but i cant find very much good
reference

1: is a list just a 1d array?
2: how do you carry a list/array through pages? Is the only way to do it via
application.cfm and locking the list/array?
3: i can figgure out how to make a new array, pretty tough arraynew(1) ;),
but how do you make a new list? couldnt find the function for it...

I'm pretty famaliar with arrays, they arent a very tough concept, my main
problem is syntax, wich i can put togethor via developin web applications
(the cf standard book). How to compare them to another when done, how to add
the person picked the letter b on the third question... most of this stuff i
can figgure out by looking at the functions.. my main problem is question
#2.


when i do this:




It bascially does this:
myarray = [1,2,3]

right?

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



RE: Protecting Content / content leeching... A CF method?

2000-09-29 Thread Gavin Myers

i get it now...

okay to show an image but to mask the source it is coming from...
well, this isn't totally secure but what about renaming each file to
something like

logo_aoighoaihgoaoo31905u3051.jpg
welcome_apgaahha939393593595931.jpg
hello_09q3570931209275029602.jpg
contactus_3-699696969696.jpg

even though they know where the files are coming from, if they dont have
names like "Logo.jpg" they wouldn't be able to just guess the other files in
there. the logo_ part of it helps the programmer to know what file it is..
but the wopitywoihwohgow.jpg part makes it almost impossible for someone to
just guess it


-Original Message-
From: Nadir Ait-Laoussine [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 29, 2000 10:34 AM
To: CF-Talk
Cc: Kristina Patterson; Michael Kilkelly
Subject: RE: Protecting Content / content leeching... A CF method?


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--_=_NextPart_001_01C02A2A.BB0551EA
Content-Type: text/plain;
charset="iso-8859-1"

Gavin, you are not confused, just off base. :)

The issue is not to make a document not available to someone who can see it
but to someone who cannot see it...

Case in point...  the  tag will let you know that a file is
located at /a/b/file.jpg
so you could go to the location bar and look for that image.  You could get
tricky and try to view other files located at that location...
/a/b/anotherfile.jpg.  For us, that is a problem.  The img tag reveals a
little too much information.

So the concern is not so much the document itself, but rather the ability to
figure out where it is located.  It's been recommended to me to use CF
mappings to substitue for that, problem is that CF mappings, as far as I
know, do not work with the IMG tag, let alone the EMBED tag.

So I am left with the CFCONTENT tag, problem with the content tag is that it
takes over the entire screen.  I've tried to embed it in a layer or IFRAME,
but it still takes over the whole window.

There are a few PERL scripts out there that "mask" the path to the file.  So
by typing www.mydomain.com/getstuff.cgi?image.jpg, the script would display
the image but masking it's location (which in reality is not a web location,
but a physical location on the web server [c:\...]) This works well except
that all the scripts that I have tried choke (by that I mean render only
part of) the file.  regardless of the MIME type.  I think the problem is
that those scripts were written on UNIX, and we are on WIN2K.

So that is where we are.

Note that the last option (the PERL option) is still not exactly what we are
looking for because of
1. security problems with CGI scripts in general
2. it does not work with the IMG tag.

Nadir


-Original Message-
From: Gavin Myers [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 29, 2000 9:37 AM
To: CF-Talk
Subject: RE: Protecting Content / content leeching... A CF method?


I'm kinda confused (hah!) but isn't it technically impossible to protect any
content that the person can see?

In order to see an image/pdf/text file it has to be downloaded - therefore
it is accessable. There is no possible way to protect an image from being
taken (SnagIT).

or am i off subject?

-Original Message-
From: Bosky, Dave [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 29, 2000 7:02 AM
To: CF-Talk
Subject: RE: Protecting Content / content leeching... A CF method?


I'm having trouble displaying the pdf in netscape it doesn't give me the
navigational toolbar at the top of the document.
Any ideas what would cause netscape to act this way?
Thanks,
Dave
  

> -Original Message-
> From: Hayes, David [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, September 28, 2000 4:54 PM
> To:   CF-Talk
> Subject:  RE: Protecting Content / content leeching... A CF method?
> 
> FYI - It's working fine on my machine; acrobat reader loads and the pdf is
> displayed properly.
> 
> -Original Message-
> From: Nadir Ait-Laoussine [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 28, 2000 1:40 PM
> To: CF-Talk
> Subject: RE: Protecting Content / content leeching... A CF method?
> 
> 
> This message is in MIME format. Since your mail reader does not understand
> this format, some or all of this message may not be legible.
> 
> --_=_NextPart_001_01C0297B.7F2629C8
> Content-Type: text/plain;
>   charset="iso-8859-1"
> 
> Rob, thanks for the feedback.
> 
> For PDF files I am using the standard MIME types.
> 
> Here is my code.
> 
>  deletefile="No">
> 
> You can go to 
> http://www.edificium.com/imagetest/getstuff.cfm?bob=pdf to see the (awful
> mess of a) result
> 
> 
> On the second part of your message, if I do use the CF directory

...array

2000-09-29 Thread Gavin Myers

I have a little project, i'm thinking I should use an array, but i've never
used an array in cold fusion. I have in other langs though.

If you check out
http://collab.lightrodsoft.com/lrscheck/
(you dont have to enter in real information, it doesnt write to a db)

it is a series of questionairs.

This is what I'm thinking
each time someone guesses an answer it goes into an array

myguesses = [a,b,a,c,d]

at the end it gets compared to the list of answeres in the db

theansweres = [a,b,c,a,b]

Now i need to compare these two to see how many match.

How do i go about doing this in cold fusion?

Does anyone have any good examples of doing questionares in CF and have some
suggestions to how to store the q/a in the db?

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



RE: ColdFusion & Flash4

2000-09-29 Thread Gavin Myers

Are you going to be making your flash pages in Flash or Director? I'm
guessing director
I have run into problems using flash/director and transporting data with
them (not just with cold fusion, this is more of a universal thing). For
example, i've never been able to pass variables through flash.

Your best option would be to make it out of director (unless you perfer fs
to director lingo)

I'm not sure exactily how to do this but it would be something like this (in
director)

Your form frame

put "enter your username" into field "username"
put "enter your password" into field "password"

after you submit you take those two feild variables and put them on a link
structure like this

global x, y
put feild "password" into x (arrrh! i allready forgot the syntax for putting
field data into a variable, but you need to do that)
put field "username" into y

http://www.mypage.com/coldfusionsubmit.cfm?username=y&password=x">

or something to that extent

never tried it, worth a shot


-Original Message-
From: Dominic J. Doucet-Lorang [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 29, 2000 8:50 AM
To: CF-Talk
Subject: ColdFusion & Flash4


This is a multi-part message in MIME format.

--=_NextPart_000_0002_01C02A2C.E10D5990
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

I am wondering if there are ways to pass information between flash and
coldfusion. I am thinking of using a login using flash with cf pages.


Dominic

--=_NextPart_000_0002_01C02A2C.E10D5990
Content-Type: application/ms-tnef;
name="winmail.dat"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="winmail.dat"

eJ8+IigNAQaQCAAEAAABAAEAAQeQBgAI5AQAAADoAAEIgAcAGElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAgACAAEGgAMADgAAANAHCQAdAA8AMQUAQgEB
A5AGAFwFAAAlCwACAAELACMAAAMAJgAACwApAAADADYAAB4AcAAB
FENvbGRGdXNpb24gJiBGbGFzaDQAAgFxAAEWAcAqHByIlnnJe5XnEdSyzgAB
Ag6NugEdDAEaU01UUDpET01JTklDQEdSRU5MQU5ELkNPTQsAAQ4AQAAG
DgDuIgUcKsABAgEKDgEYAColP7coXtQRqM4AAQIOjbjCgAAACwAfDgECAQkQ
AQAAAP8AAAD7SAEAAExaRnUbmOZtAwAKAHJjcGcxMjUWMgD4C2BuDhAwMzNPAfcCpAPjAgBj
aArAc/BldDAgBxMCgwBQEGZYcHJxDlAQ330KgXZJCJB3awuAZDQMYGMHAFALAwu1IEkgYW2cIHcC
IASBC4BnIAaQaCB0aASQZRYQF1F3xGF5BCB0byAKsAQRSwuAAhByAMB0aQIgICpiETB3CeEgDvFz
aIsWEBSwIAjhZGZ1AJB9AiAuFfQXIAuAFJEW0G+nFwAawRbBYSAJAGcLgH8cNRnUA/AXIBpgFwAK
sGe9B5AuCqIKhAqBEgMyFNB9HtNEA3ALgA3gHsQUEQABIXAACwABgAggBgAAwEYA
A4UDAAOACCAGAADARgAQhQMAB4AIIAYAAMAA
AABGAFKFAAAnagEAHgAJgAggBgAAwEYAVIUAAAEEOS4w
AB4ACoAIIAYAAMBGADaFAAABAQAeAAuACCAGAADA
RgA3hQAAAQEAHgAMgAggBgAAwEYAOIUAAAEB
AAsADYAIIAYAAMBGAIKFAAABCwA6gAggBgAAwAAA
AEYADoUDADyACCAGAADARgARhQMAPYAIIAYA
AMBGABiFCwBSgAggBgAAwEYABoUDAFOA
CCAGAADARgABhQIB+A8BEColP7coXtQRqM4AAQIOjbgC
AfoPAQAAABAqJT+3KF7UEajOAAECDo24AgH7DwEAAACOADihuxAF5RAaobsIACsq
VsIAAFBTVFBSWC5ETEwAAE5JVEH5v7gBAKoAN9luRDpcV0lOTlRcUHJvZmlsZXNc
ZGpkbFxMb2NhbCBTZXR0aW5nc1xBcHBsaWNhdGlvbiBEYXRhXE1pY3Jvc29mdFxPdXRsb29rXG91
dGxvb2sucHN0AwD+DwUDAA00/TcAAAIBfwABNDxORUJCS0lNT0NLQ0VETkxK
S0ZPR0VFRkpDQkFBLmRvbWluaWNAZ3JlbmxhbmQuY29tPgADAAYQPT5xiAMABxB4AwAQEAAA
AAADABEQAB4ACBABZQAAAElBTVdPTkRFUklOR0lGVEhFUkVBUkVXQVlTVE9QQVNTSU5G
T1JNQVRJT05CRVRXRUVORkxBU0hBTkRDT0xERlVTSU9OSUFNVEhJTktJTkdPRlVTSU5HQUxPR0lO
VVNJTkdGTEEAwQE=

--=_NextPart_000_0002_01C02A2C.E10D5990--


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

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



RE: Protecting Content / content leeching... A CF method?

2000-09-29 Thread Gavin Myers

I'm kinda confused (hah!) but isn't it technically impossible to protect any
content that the person can see?

In order to see an image/pdf/text file it has to be downloaded - therefore
it is accessable. There is no possible way to protect an image from being
taken (SnagIT).

or am i off subject?

-Original Message-
From: Bosky, Dave [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 29, 2000 7:02 AM
To: CF-Talk
Subject: RE: Protecting Content / content leeching... A CF method?


I'm having trouble displaying the pdf in netscape it doesn't give me the
navigational toolbar at the top of the document.
Any ideas what would cause netscape to act this way?
Thanks,
Dave
  

> -Original Message-
> From: Hayes, David [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, September 28, 2000 4:54 PM
> To:   CF-Talk
> Subject:  RE: Protecting Content / content leeching... A CF method?
> 
> FYI - It's working fine on my machine; acrobat reader loads and the pdf is
> displayed properly.
> 
> -Original Message-
> From: Nadir Ait-Laoussine [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 28, 2000 1:40 PM
> To: CF-Talk
> Subject: RE: Protecting Content / content leeching... A CF method?
> 
> 
> This message is in MIME format. Since your mail reader does not understand
> this format, some or all of this message may not be legible.
> 
> --_=_NextPart_001_01C0297B.7F2629C8
> Content-Type: text/plain;
>   charset="iso-8859-1"
> 
> Rob, thanks for the feedback.
> 
> For PDF files I am using the standard MIME types.
> 
> Here is my code.
> 
>  deletefile="No">
> 
> You can go to 
> http://www.edificium.com/imagetest/getstuff.cfm?bob=pdf to see the (awful
> mess of a) result
> 
> 
> On the second part of your message, if I do use the CF directory mappings,
> aren't I suddenly unable to user the   tag - is there a
> work
> around?
> 
> Thanks fo ryou help
> Nadir
> 
> -Original Message-
> From: Rob Keniger [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 28, 2000 12:48 AM
> To: CF-Talk
> Subject: Re: Protecting Content / content leeching... A CF method?
> 
> 
> on 9/28/00 7:28 AM, Nadir Ait-Laoussine at [EMAIL PROTECTED] wrote:
> 
> > Now, I've been
> > recommended to user CFCONTENT, the problem with CFCONTENT is that it
> just
> > spews out the content, so a PDF file (even if I specify the mime type)
> will
> > come not come out as a PDF file, but some garbled text.
> 
> What MIME type are you using for PDFs? What you describe works perfectly
> for
> me.
> 
> You could also try using CF directory mappings - these will prevent anyone
> directly accessing the files if you point them outside the Web root
> directory.
> 
> Rob Keniger
> [EMAIL PROTECTED]
> __
> __
> 
> big bang solutions
>  p +61 7 3311 2733  f +61 7 3311
> 2744
> __
> __
> 
> 
> --
> --
> --
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> 
> --_=_NextPart_001_01C0297B.7F2629C8
> Content-Type: text/html;
>   charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> 
> 
> 
>  charset=3Diso-8859-1">
>  5.5.2650.12">
> RE: Protecting Content / content leeching... A CF =
> method?
> 
> 
> 
> Rob, thanks for the feedback.
> 
> 
> For PDF files I am using the standard MIME =
> types.
> 
> 
> Here is my code.
> 
> 
>  file=3D"F:\projectdata\1\1\test.pdf" =
> deletefile=3D"No">
> 
> 
> You can go to 
>  HREF=3D"http://www.edificium.com/imagetest/getstuff.cfm?bob=3Dpdf" =
> TARGET=3D"_blank">http://www.edificium.com/imagetest/getstuff.cfm?bob=3D=
> pdf to see the (awful mess of a) result
> 
> 
> 
> On the second part of your message, if I do use the =
> CF directory mappings, aren't I suddenly unable to user theĀ  =
>  tag - is there a work =
> around?
> 
> Thanks fo ryou help
> Nadir
> 
> 
> -Original Message-
> From: Rob Keniger [ HREF=3D"mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]]=
> 
> Sent: Thursday, September 28, 2000 12:48 AM
> To: CF-Talk
> Subject: Re: Protecting Content / content =
> leeching... A CF method?
> 
> 
> 
> on 9/28/00 7:28 AM, Nadir Ait-Laoussine at =
> [EMAIL PROTECTED] wrote:
> 
> 
> > Now, I've been
> > recommended to user CFCONTENT, the problem with =
> CFCONTENT is that it just
> > spews out the content, so a PDF file (even if I =
> specify the mime type) will
> > come not come out as a PDF file, but some =
> garbled text.
> 
> 
> What MIME type are you using for PDFs? What you =
> describe works perfectly for
> me.
> 
> 
> You could also try using CF directory mappings - =

RE: Costing a private project.. dont forget about taxes

2000-09-28 Thread Gavin Myers

one mistake i first made when i was freelancing was looking at a job for
$1,000 and thinking "woah, that's not bad money"

uh-huh

Lets say you do a project for $1
Take out social security %15
Take out federal income %30

So you really only make .55 out of every dollar

what you can do to avoide the federal income (this is lega)
is to put the money you earn back into your business

for example, i'm making an extra $4,000 this month from a project,
with that money i'm taking out %15 in SS because i have to
and turning around and purchasing a $3,400 computer with the rest

since the computer is for my business i don't have to pay
Federal Income for the $3,400.

Otherwise, if you want to freelance and actually make money... that sounds
funny ;)

you'd have to charge double what you want to earn. So to do a job you want
to make $1000 off of it, charge for $2,000.

Yup, the gov just rakes small businesses...
I'm pretty sure this is accurate, at least this is what a vp of a bank told
me.
So if anyone knows any better please correct me

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



RE: Delay

2000-09-28 Thread Gavin Myers

i still think javascript would be the most effective method

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



ot: sql question

2000-09-27 Thread Gavin Myers

here's what i'm doing

delete from class_registration
where users_id='123123'
and class_id='4242424'

here's what the table looks like

nameusers_idclass_id
gavin   123123  4242424
gavin   123123  4242424
gavin   123123  4242424
gavin   123123  4242424

what i want to do is delete only 1 of those rows

suggestions?

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



super random

2000-09-27 Thread Gavin Myers

double question







Question #1

i figgure the chances of hitting the same number twice is like 1 in 10x32

but as i remember with ye old BASIC programming:
In basic you never have a truly random number unless you create a random
number unless you
randomize timer
i'm assuming that this is done automatically with most programming languages
> 1984
does anyone know how cf gets its random number, does it run it off the
timer? what are the chances of hitting the same query the same .01
second of another person? Or does it do more then run of the timer.

Question #2

Is the code i'm using above "fine"? Or should I use a different method to
get a random number (it can be random numbers and characters or whatever)?

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



RE: Relief from redundancy?

2000-09-27 Thread Gavin Myers

I've used Extended Find/Replace quite a bit to run long tedious stuff, like
when people say

"can you make the background cornflower blue instead of white? because white
is so blah, i know that our site spans over 160,000 cfm pages but i'm sure
you can do it!"

It works for things like that as long as you can find a similarity to
replace...

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



RE: Delay

2000-09-27 Thread Gavin Myers

why not make a delay w/javascript?


RE: Costing a private project.. kinda :ot

2000-09-27 Thread Gavin Myers

This is my personal opinion so i don't mean to offend anyone

Designing A Web Site
for some reason the first word always gets cut off: DESIGNING

I cant agree with going by a price per page sort of method (ie $75 per page
with x number of images, $150 per page with x + 5 number of images). If
someone is hired to design a web page they are not hired to do a bunch of
 then go to clipart.com and call it a day. To me, that
is not designing.

Designing is creating a reflection on how what the customer feels they want
their image to be. This has nothing to do with the number of images that
will be there, it has to do with how complex they want their site to be,
what meaning they want to get accrose, type faces, color combinations, image
textures (feelings), thumbnails, rough drafts, marker renderings, !!!.

Once all that is done you can figure out how LONG it will take to build and
then charge it at an hourly rate.

I prefer to take my work and break it down into an hourly rate like this:

#1 Assesment of web site 20 - 60 hrs 
(this involves checking out the current status of the web site there, what
isp owns it, what they support, will you need to make changes to this,
getting the ftp username/password, contacting old graphic design company for
ai formatted logo etc.)

#2 Pre-design phase 5 - 40 hrs
Taking all the pages that will be needed and putting them on a heirarchy to
show the customer exactily how many pages there are and the number of pages
"deep" a person can get

and so on...

Give them a final estimated quote (that may change do to unseen
circumstances) ask for 25 - 50% upfront and start working. Give them a
spreadsheet every friday(or monday, or saturday, or whenever) that shows the
# of hours you have worked and what you have done. Give the customer a call
once a week also to see if they have any more questions, additional things.
Always keep in contact with them

This is a method, so it is not the "correct" method. Find something that
works for you. Charge an hourly rate that is competitive, but never
undersell yourself. This method is what I personally do, and so do my
friends/coworkers that have side work as graphic designers.

IMPORTANT
To a company with more then 75 people $5,000 to $10,000 is nothing, they can
afford that in a second. Do NOT undersell yourself unless:

a) you need it for the portfolio
b) your mom owns the company

like i said this is just the way i do it, have been for awhile *shrug*
doesn't make it right or anything
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: URLs

2000-09-27 Thread Gavin Myers

on IE 5.0 its 459 or 460

-Original Message-
From: Parker, Kevin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 26, 2000 8:58 PM
To: CF-Talk
Subject: URLs


Correct me if I'm wrong but I think there used to be limit on the length of
a URL, about 256 characters or something. Is that still correct?



Kevin Parker
Service and Communication
WorkCover Corporation

[EMAIL PROTECTED]

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






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


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



RE: Hanging - Netscape

2000-09-25 Thread Gavin Myers

http://www.netobjects.com/support/html/nf3unnetscape.html

Problem: I have objects with actions on a page. The page is published with
nested tables as the HTML output method. Actions do not work when I view the
page in a browser.

Solution: In general, you should publish pages with actions with regular
tables or CSS and layers as the HTML output method. Many actions, such as
those triggered by mouse events, do not display properly in Netscape
Navigator 4.x when the page is published with nested tables as its HTML
output method. 

There's a whole bunch of q/a's on that page about nested tables and
navigator... have fun

-Original Message-
From: Chris Straight [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 25, 2000 6:23 AM
To: CF-Talk
Subject: RE: Hanging - Netscape


well I think it has to do with bad coding on netscapes part. I know for a
fact that Netscape 6 beta 2 does not have these problems. The best guess is
caching problems.

Concerning the nested tables: That is exactly what I have.
If it were a perfect world everyone would be running the latest browser
version but it isn't and I am not willing to conform to substandard
implementations of standards that have already been set. Don't get me wrong
I was a netscape fan for a long time but with all the problems I have been
having (that have nothing to do with what's between the keyboard and the
chair.) I am moving farther and farther away from it. All I hope is that
netscape 6 will revive my interest in their products again.

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

-Original Message-
From: J.Milks [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 25, 2000 7:50 PM
To: CF-Talk
Subject: Re: Hanging - Netscape


I had the same problem developing at home on the most recent Netscape
version (4.7.3?). It was not consistent, and was on a page with several
nested tables and form elements.

In any event, it went away at the client site, who is running a dino version
of 4.08. The only other difference was that I was using IIS, while the
client had NES 2.0 (more dinoware...)

Jim


- Original Message -
From: "Chris Straight" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, September 25, 2000 6:14 AM
Subject: RE: Hanging - Netscape


> I am having the same problem and the hang is unacceptable. People will
leave
> before they get past our first page.
>
> Chris Straight
> Web Applications Developer
> University of Oregon Bookstore, inc.
> 895 E. 13th Ave
> Eugene, OR 97401
> (541) 346-4331 x215
> http://www.uobookstore.com
>
> -Original Message-
> From: David Clay [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 25, 2000 7:07 PM
> To: CF-Talk
> Subject: Hanging - Netscape
>
>
> This is a MIME message. If you are reading this text, you may want to
> consider changing to a mail reader or gateway that understands how to
> properly handle MIME multipart messages.
>
> --=_6F379465.076602CE
> Content-Type: text/plain; charset=US-ASCII
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: inline
>
> Does anyone know why netscape 4.61 hangs until it is minimized or one goes
=
> to another window? This happens when dynamic pages are being generated in
=
> CF 4.5.1.
>
> Does anyone have a workaround for this?
>
> IE 4.5 and 5.5 fly to the next page.
>
> Any help would be appreciated. Thank you
>
> Dave Clay
> Internet Facilitator
> Trus Joist, A Weyerhaeuser Business
> 5995 Greenwood Plaza Blvd, Suite 100
> Greenwood Village, CO 80111
> 303.770.8506
>
>
> --=_6F379465.076602CE
> Content-Type: text/plain
> Content-Disposition: attachment; filename="David Clay.vcf"
>
> BEGIN:VCARD
> VERSION:2.1
> X-GWTYPE:USER
> FN:Clay, David
> EMAIL;WORK;PREF;NGW:[EMAIL PROTECTED]
> TEL;PREF;FAX:(303) 770-8506
> X-GWUSERID:clayd
> ADR;DOM;WORK;PARCEL;POSTAL:;Denver
> LABEL;DOM;WORK;PARCEL;POSTAL;ENCODING=QUOTED-PRINTABLE:Clay, David=0A=
> Denver
> ORG:;Engineering Automation Group
> N:Clay;David
> TEL;WORK:(303) 967-1558
> TITLE:Web Facilitator
> END:VCARD
>
>
> --=_6F379465.076602CE--
> --
--
> --
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
>
> --

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


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.

re: time

2000-09-25 Thread Gavin Myers

had the same problem, heres the solution

if you try and run an if then statement using standard time, like this:

If now gt "5:30AM" and now lt "4:00PM then
hey we're open
else
sorry closed
/if

it doesnt work right?

what you have to do (just for the if then part) is use military time
like this just goes by hours(HH), so 5:30AM is 5, and 4:00PM is 16











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



ot: the black book of sql

2000-09-25 Thread Gavin Myers

Hey, okay i've been getting rather famaliar with sql over the last year but
I've never had any classes/training/books on it. So I know the basic stuff
(select, insert, update etc.) and would like to get into more indepth things
as I do not like having to write 10 queries that could be summed up into 1.

What i'm looking for is a very good book that shows lots of examples for all
the things i dont know :)
like
Joins (Inner joins, outer joins... whatever)
Functions (date, append)
and Table Information (char vs. varchar, image, text etc.)


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



RE: Sending HTML Email from ColdFusion

2000-09-25 Thread Gavin Myers

Yeah, pretty easy, make a static html page, make all the images call the
complete url (img src = http://www.myurl.com/images/image1.gif") not ("img
srce = "image1.gif") make sure there is nothing very intense, javascript
will not work, once you have all that save it as a html page and do this...






-Original Message-
From: Joshua Miller [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 25, 2000 8:56 AM
To: CF-Talk
Subject: Sending HTML Email from ColdFusion


ANyone know of an article or a method for sending HTML pages via email from
ColdFusion??? Or just a way to send HTML pages in email (like an HTML
Newsletter with photos, etc. in the body)

I get them from WebReference and ClickZ but I can't figure out how to send
one.

Joshua Miller
Web Site Development
Eagle Technologies Group
Business Solutions for the Next Generation
www.eagletgi.com
[EMAIL PROTECTED]


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



RE: OFF topic - Autocad images

2000-09-21 Thread Gavin Myers

Not exactily autocade. at least to the extent of my knowledge...

with Macromedia Director you can get a plugin that allowes you to import 3d
studio max images and display them, but taking that and porting it out to
the web is another story. Flash deffinatly wont do it.

Are you looking to have it just a picture, or a moveable picture, like a
real 3d image?

-Original Message-
From: Michael Gagnon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 21, 2000 9:18 AM
To: CF-Talk
Subject: OFF topic - Autocad images


Hi!

Is there an application out there that would permit me
to show Autocad images on the web?

Thanks!



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



RE: validating cfselect form... [CF-Talk]

2000-09-21 Thread Gavin Myers

the problem looks like your if then statement is wrong
if x = 5 and y = 5 and x2 = 5 and y2 = 5 then
set the membernum of sprite 1 to 5
else
put "yo yo yo" into field "this_feild"
set the blend of sprite 4 to 0

not

if x and y and x2 and y2 = 5 then
set the membernum of sprite 1 to 5
else
put "yo yo yo" into field "this_feild"
set the blend of sprite 4 to 0

for a cfreference it would be: 

No items selected




n
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 20, 2000 3:12 PM
To: [EMAIL PROTECTED]
Subject: validating cfselect form... [CF-Talk]


Am fairly new to CF, but this seems to be terribly easy problem (if that
were the case i suppose i wouldn't be sending this).  Have a simple form
with general mailing address info and multiple SELECT drop-down boxes for
various items, once selections are made sends off basic email.  Problem
comes when trying to validate that the user has in fact selected at least
one item on the form.  Tried using:

   ERROR!
No items selected.
  
   

I'm using CFSELECT on my form page with all values set to 0.  Trying to
avoid users from submitting empty requests. The form is being submitted
apparently regardless of this beginning IF statement and processing the
CFMAIL anyway.  Any suggestionscomments... have been told that CFABORT
isn't necessarily a 'good' tag and have questioned whether or not CFTRY,
CATCH, THROW or CFCASE/SWITCH may be appropriate, but seems too simple to
use these.

Mark

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



RE: [CF-Talk] Form Submission

2000-09-19 Thread Gavin Myers


A longer cludgy way would be to put the  before the 

Like this:












#firstname#



But as far as I know, the only form type that will not pass is a checkbox
because it doesnt have a value for not-checked. 
A radio will work fine in place of check boxes, you just have to add that
no, and make the no checked.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: [CF-Talk] Form Submission

2000-09-19 Thread Gavin Myers

Why would you need to do IsDefined? I've set up hundreds of cfmails and
never had to do that here is the code(snip) from my site:

**
Page 1 (contactus_form.cfm)
**

First Name 
Last Name
Title
Gender
**

**
Page 2 (contactus_form_submit.cfm)
**


**

Now, if you have checkboxes they can be a problem. 
The workaround I had to do was make them Radio buttons with a yes/no (no
auto checked). That way everything has a value

-Original Message-
From: Mark Warrick [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 19, 2000 1:22 PM
To: [EMAIL PROTECTED]
Subject: RE: [CF-Talk] Form Submission


What's wrong is you can't embed the logic you're trying to embed into a
CFMAIL tag.  You've got to figure something else out.

--
Mark Warrick
Phone: (714) 547-5386
Efax.com Fax: (801) 730-7289
Personal Email: [EMAIL PROTECTED]
Personal URL: http://www.warrick.net 
Business Email: [EMAIL PROTECTED]
Business URL: http://www.fusioneers.com
ICQ: 346566
--


> -Original Message-
> From: Peter Benoit [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 19, 2000 7:42 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [CF-Talk] Form Submission
> 
> 
> I put that in my cfmail tag and got an error:
> 
> Error Diagnostic Information
> Invalid tag nesting configuration
> 
> A CFOUTPUT tag is nested inside a CFMAIL tag with no GROUP= or QUERY=
> attributes . This is not allowed. Nesting these tags implies that you want
> to use grouped processing. However, the outer tag does not specify a query
> to loop over or a group to process.
>  
> 
> What did I do wrong?
> 
> 
> 
> *  -Original Message-
> *  From: David Shadovitz [mailto:[EMAIL PROTECTED]]
> *  Sent: Tuesday, September 19, 2000 10:26 AM
> *  To: [EMAIL PROTECTED]
> *  Subject: Re: [CF-Talk] Form Submission
> *  
> *  
> *  Peter,
> *  
> *  You'll probably get several responses suggesting that you use
> *  FORM.FieldNames.  Be aware, though, that some form fields 
> *  are passed even
> *  if they have no value, so you may want to include a check for that:
> *  
> *  
> *  
> *  #field#: #Evaluate(field)#
> *  
> *  
> *  
> *  -David (hoping I didn't omit a necessary pound sign)
> *  
> *  On Tue, 19 Sep 2000 09:51:23 -0400 Peter Benoit
> *  <[EMAIL PROTECTED]> writes:
> *  > I want to email the results of a rather large form to someone.  I 
> *  > can't
> *  > verify that all the form fields have been filled out prior to the 
> *  > submission
> *  > (no client side scripting allowed), so how can I do this without a 
> *  > huge
> *  > number of :
> *  > 
> *  > #form.whatever#
> *  > 
> *  > I end up typing this over and over for each form field.  
> *  Is there a 
> *  > better
> *  > way of doing this?
> *  
> *  YOU'RE PAYING TOO MUCH FOR THE INTERNET!
> *  Juno now offers FREE Internet Access!
> *  Try it today - there's no risk!  For your FREE software, visit:
> *  http://dl.www.juno.com/get/tagj.
> *  -
> *  -
> *  Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> *  To Unsubscribe visit 
> *  http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lis
> ts/cf_talk or send a message to [EMAIL PROTECTED] with
> 'unsubscribe' in the body.
> 
> --
> 
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit 
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
_talk or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.


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



  1   2   >