Re: User Name/Password Concepts

2003-01-01 Thread Jochem van Dieten
Ian Skinner wrote: Jacen van Dieten wrote: ??? Users not sharing the logins but the content they download from your site? If your content is documents/images, have you looked into watermarks? No, this is another new one for me, watermarks on websites? Any good pointers before I dive into

Re: Happy New Year

2003-01-01 Thread Jochem van Dieten
Jim Davis wrote: Hey I DIG that text size thingie you've got on that site. When you have some time I'd love to hear how you did that. It's actually pretty simplistic. This site gets a lot of traffic on New Years so the goal is improve performance. The method I used performs better, but is

indirect reference

2003-01-01 Thread Robert Polickoski
Hello all, Happy New Year. I hope everyone had a safe and enjoyable holiday. I am trying to set a variable indirectly, i.e., I have a variable that contains the name of the variable I want to set. How do you accomplish this? Thank you in advance. Robert J. Polickoski Senior Programmer,

RE: indirect reference

2003-01-01 Thread Dave Watts
I am trying to set a variable indirectly, i.e., I have a variable that contains the name of the variable I want to set. How do you accomplish this? You can use the SetVariable function, or use a string within a CFSET: cfset myvar = foo cfset rs = SetVariable(myvar, foovalue) or cfset

RE: indirect reference

2003-01-01 Thread Samuel Neff
Use array notation on the scope. cfset varName=i cfset variables[varName]=1 cfset Form[varName]=1 Etc. Or you can do this--works with earlier versions of CF but is not as efficient: cfset #varName#=1 -Original Message- From: Robert Polickoski [mailto:[EMAIL PROTECTED]] Sent:

Coldfusion MX and SecureIIS 2

2003-01-01 Thread Jesse Houwing
Hi, I've been testing Secure IIS on one of our servers. It does mostly the samestuff as URLscan from MS, but it's much easier to configure, and has a pretty good logging facility. It was a problem however to get it to work with Coldfusion MX. After a lot of playtesting I found out that under

adding records

2003-01-01 Thread Mike Miessen
I am very new to cold fusion and have been looking at the CFC info and was wondering how to write a CFC to add information to a database. I think having functions to do this would save a lot of time because they are reusable and eliminates the need to rewrite several pages when the database

connecting to linked ODBC data...

2003-01-01 Thread Charlie Griefer
hey all... i'm currently connecting to an Access .mdb file...which has linked tables in it. The linked tables are linked to an Oracle database, which requires a username and password. the .mdb file itself is not password protected. So...if I do not pass username/password attributes in my

RE: connecting to linked ODBC data...

2003-01-01 Thread Samuel Neff
You can have Access store the username/password in the links. There is a checkbox when setting up the links that says store username/password. If you're not joining on Access tables, you're better off querying the oracle tables directly, instead of going through an Access link. -Original

ftp error

2003-01-01 Thread Dave Lyons
Happy new year everyone:) Just curious if anyone nows anything about this ftp error A friend of mine has offered to host my 1st cfmx site for free and it is both of ours 1st cfmx site When I try to ftp the site to his server it logs in ok but then I get the error 227 Entering Passive Mode and

RE: Call to the regex ninja clan

2003-01-01 Thread Ben Doom
This looks good at first glance, but it won't do what they need. Paragraph 1 pParagraph 2/p pParagraph 3/p Paragraph 4 You will end up with Paragraph 1 Paragraph 2/p pParagraph 3 Paragraph 4 Remember -- .* is /very/ greedy. -- Ben Doom Programmer General Lackey Moonbow Software,

Re: ftp error

2003-01-01 Thread Bob Haroche
Sounds like it's not CF related but more an issue of connectivity btwn the FTP server (which one?) and your FTP program. In your FTP client, try toggling on/off the option for use passive mode, wherever that might be. I'd also disable firewalls while trying to isolate the problem to remove that

RE: ftp error

2003-01-01 Thread Dave Lyons
Thanks for your quick answer I do realize it definitely isn't a cf problem just happens to be with the 1st cf site I was doing and I wasn't sure if he set it up right on the server Tried the whole firewall deal But per your suggestion I turned off the passive ftp and it looks like it now works:)

RE: Happy New Year

2003-01-01 Thread Jim Davis
-Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 01, 2003 7:53 AM To: CF-Talk Subject: Re: Happy New Year Jim Davis wrote: Hey I DIG that text size thingie you've got on that site. When you have some time I'd love to hear how you

Re: connecting to linked ODBC data...

2003-01-01 Thread Charlie Griefer
- Original Message - From: Samuel Neff [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 01, 2003 12:36 PM Subject: RE: connecting to linked ODBC data... You can have Access store the username/password in the links. There is a checkbox when setting up the links

Image Resize CFX

2003-01-01 Thread Geoffrey Brown
Hi, I'm looking for a stable CFX for image resizing and obtaining image dimensions of both GIF and JPG images. This cfx will be run on a live, high traffic site, so stability is crucial. I'm presently using CFX_GIFGD, but I have occasional stability problems in my test environment. Can anyone

Re: Image Resize CFX

2003-01-01 Thread Charlie Griefer
I can't recommend cfx_imageCR highly enough. http://efflare.com/products/cfx_imagecr/ Original Message - From: Geoffrey Brown [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 01, 2003 2:30 PM Subject: Image Resize CFX Hi, I'm looking for a stable CFX for

Some idea about the Efficiency of UDFs

2003-01-01 Thread Li Chunshen \(Don\)
According to Macromedia's CFMX References on Using UDFs effectively: Consider the following techniques for making your functions available to your ColdFusion pages: If you consistently call a small number of UDFs, consider putting their definitions on the Application.cfm page. If you call UDFs

Re: Image Resize CFX

2003-01-01 Thread Adam Churvis
Ditto on Efflare's CFX_ImageCR. We use it on a client's high volume news site that uses it as a central component of its daily functioning, and we really beat the hell out of it. The clarity of even its most highly compressed images is amazing. These guys really know their stuff. If you're

RE: Image Resize CFX

2003-01-01 Thread Geoffrey Brown
Hi, Thanks for the info. I'm testing this right now, and it seems to outperform anything I've tried to date. Very nice. Thanks again - Geoff B -Original Message- From: Adam Churvis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 01, 2003 5:10 PM To: CF-Talk Subject: Re: Image

Re: Some idea about the Efficiency of UDFs

2003-01-01 Thread Christian Cantrell
Interesting idea. So how exactly would this work? Would ColdFusion expect one function per file, with the requirement that the file and the function have the same name? Then you could call any arbitrary UDF, and the CF server would look in the proper directory for the right file, then

Re: adding records

2003-01-01 Thread Christian Cantrell
Mike, You are definitely on the right track here. I like to encapsulate all my database access (or at least my inserts and updates) inside of components. For instance, a User component with functions such as... addUser getUser updateUser removeUser .. is a useful data structure. Get

RE: Some idea about the Efficiency of UDFs

2003-01-01 Thread Matthew Walker
I must say I find one huge file with a zillion UDFs declared in it really hard to manage. You tend to forget what's in there, unless you keep it carefully alphabetised and indexed, which is of course what file directories do automatically. So this kind of model has some appeal re maintainability.

Re: Some idea about the Efficiency of UDFs

2003-01-01 Thread Li Chunshen \(Don\)
That's exactly what I have in my UDFlib directory and my thought of how it may work but of course it's up to MM to make it work as you described. btw, you need to help me to push MM to fix some problems as well, such as the Oracle8i driver and request timeout. Matthew Walker's 2 UDF referrals

RE: CFC Question

2003-01-01 Thread Raymond Camden
Just be sure your values are simple - if you had a struct where the value of yourStruct[key] was also a struct, the code below would generate an error. As the later poster said - just use cfdump. ;) Although if you want more control over the look and feel, start w/ Matt's code below. If your

CFHTTP and passing cookies

2003-01-01 Thread Ruslan Sivak
I went to staples.com and added an item to my shopping cart. Then I got all the cookies that were set by using javascript:document.write(document.cookie); Now I'm using the following code to set the cookies and do a cfhttp. For some reason when I do the cfhttp it tells me that there are no items

Re: Some idea about the Efficiency of UDFs

2003-01-01 Thread Christian Cantrell
That's exactly what I have in my UDFlib directory and my thought of how it may work but of course it's up to MM to make it work as you described. I think it's a good idea. Make sure you submit it at the URL I posted earlier. All feature requests get reviewed before work on a new version

RE: connecting to linked ODBC data...

2003-01-01 Thread Samuel Neff
The option shows up on the very last screen when you select tables. -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 01, 2003 3:49 PM To: CF-Talk Subject: Re: connecting to linked ODBC data... - Original Message - From:

Re: CFHTTP and passing cookies

2003-01-01 Thread Jesse Houwing
Ruslan Sivak wrote: I went to staples.com and added an item to my shopping cart. Then I got all the cookies that were set by using javascript:document.write(document.cookie); Now I'm using the following code to set the cookies and do a cfhttp. For some reason when I do the cfhttp it tells me

SOT: HomeSite+ updater now available

2003-01-01 Thread Tilbrook, Peter
Source: Matt Brown's blog (http://radio.weblogs.com/0106884/2002/12/19.html) HomeSite+ 5.2 Udater - If you are using HomeSite+, there is an updater available that you may want to download. I was going to post what was fixed here, but the list is FAR too long to do so. See the fixes in the release

RE: CFHTTP and passing cookies

2003-01-01 Thread Ruslan Sivak
Why would the same session ID not be valid for the server (which is running on the same pc as the browser)? Also I tried getting all the cookies from the server, but I couldn't get that working either, so I'm hoping to get it working with the same session. Russ -Original Message-

APR Calculation Formula??

2003-01-01 Thread Les Mizzell
Does anybody have a formula to calculate Mortgage APR written in Cold Fusion that I could have a look at? All I've been able to find so far is the below, which doesn't exactly give me a complete formula like I need: APR – Annual Percentage Rate The formula used to calculate the APR uses the same

Re: APR Calculation Formula??

2003-01-01 Thread Marlon Moyer
The following function is what I use to calculate mortgage amounts. I don't know if this will help you though. Oh, and it's in Javascript :( function CalculateIt(LoanAmount, InterestRate,Years) { MonthlyInterestRate = (InterestRate / 100) /12; var Multiplier = 1 +

RE: Some idea about the Efficiency of UDFs

2003-01-01 Thread Jim Davis
It might get confusing, but you could use dot notation for the file and function (file.function). To make it less confusing (by enforcing strict rules) you might have CF match this first by directory, then by file name, then by function. So dir.file.function would find the UDF function in the