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
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 + MonthlyInter
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
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-
From:
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
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
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 -
> Fro
> 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
versio
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
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 values
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 are
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.
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 funct
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 ex
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: I
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 doin
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
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
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
- 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 t
> -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 h
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:)
T
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 v
This looks good at first glance, but it won't do what they need.
Paragraph 1
Paragraph 2
Paragraph 3
Paragraph 4
You will end up with
Paragraph 1
Paragraph 2
Paragraph 3
Paragraph 4
Remember -- .* is /very/ greedy.
-- Ben Doom
Programmer & General Lackey
Moonbow Software, Inc
-O
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
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
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 tag,
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 structu
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 t
Use array notation on the scope.
Etc.
Or you can do this--works with earlier versions of CF but is not as
efficient:
> -Original Message-
> From: Robert Polickoski [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 01, 2003 1:23 PM
> To: CF-Talk
> Subject: indirect reference
>
> 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:
or
Or, if you're using a newer version of CF, and the scope withi
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, ISRD
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,
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 di
34 matches
Mail list logo