Hi everybody,
I am hoping someone could provide me with some help in implementing this on my
application. I am running ColdFusion 7 on a Windows Server. I have been asked
to display a image and audio captcha in my form. I've visited both the JCpatcha
)http://jcaptcha.sourceforge.net/) and
XSL supports FUNCTION recursion, but NOT data isolation. variables
are in the context of the xpath path, and are NOT hidden on function
recursion. (ie you have to be done with the variables, they will NOT
survive. (I have a nice xslt that demonstrates the problem clearly)..
I'd be interested
Rob
I sent your updated code to you via email
Sam
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
Hi everybody,
I am hoping someone could provide me with some help in implementing
this on my application. I am running ColdFusion 7 on a Windows Server.
I have been asked to display a image and audio captcha in my form.
I've visited both the JCpatcha )http://jcaptcha.sourceforge.net/)
Need a little help. This query fails when the encrypted PW contains a single
quote...
UPDATE Members
SET PW = '#Encrypt(form.PW,EncryptKey)#'
WHERE Member_ID = #form.Member_ID#
I've tried PreserveSingleQuotes like this...
UPDATE Members
SET PW =
Try something like...
UPDATE Members
SET PW = cfqueryparam value=#Encrypt(form.PW,EncryptKey)# /
WHERE Member_ID = cfqueryparam value=#form.Member_ID#
cfsqltype=cf_sql_integer /
HTH
2009/1/12 Ron Gruner webmas...@gruner.com:
Need a little help. This query fails when the encrypted PW contains
Always wrap your query parameters in cfqueryparam tags as another poster
already showed. To elaborate a little bit on that, using cfqueryparam will
avoid the exact problem you are having with the single quote, but more
importantly, not using cfqueryparam opens you up to all kinds of sql
I don't even want to know what value that method would return.
mike
-Original Message-
From: Raymond Camden [mailto:rcam...@gmail.com]
Sent: Sunday, January 11, 2009 9:44 PM
To: cf-talk
Subject: Re: Is it possible to reference a cfc method using ajax?
Don't forget that in CF8, you can
My suggestion is to scan all your code for var scoping with varScoper:
http://varscoper.riaforge.org/
It helped us out a lot.
-Original Message-
From: Brett Hellman [mailto:bhellm...@gmail.com]
Sent: Saturday, January 10, 2009 4:21 PM
To: cf-talk
Subject: Server slowly dying - Possibly
Hi Sam,
Thank you for your post. I have copied the files FreeTTS.jar file to my
standalone ColdFusion installation folder: C:\CFusionMX7\lib\freetts.jar. I
restarted ColdFusion and the jar file is now showing up in the class-path which
is good. I can dump the methods in the FreeTTS class like
I am hoping someone could provide me with some help in implementing this on my
application. I am running ColdFusion 7 on a Windows Server. I have been asked
to display
a image and audio captcha in my form. I've visited both the JCpatcha and
FreeTTS
websites.
I would recommend that you
Hopefully this is very simple and I am just missing something here, but I am
trying to insert some text watermark-style onto a PDF document using the new
text attribute that was added to the CFPDF tag in 8.0.1. The problem I am
having is that I cannot seem to affect the size of the font being
Hi Sam,
Thank you for your post. I have copied the files FreeTTS.jar file to
my standalone ColdFusion installation folder:
C:\CFusionMX7\lib\freetts.jar. I restarted ColdFusion and the jar
file is now showing up in the class-path which is good. I can dump the
methods in the FreeTTS
I'm building a cart-like application where I intend to store the
(usually anonymous) user's intra-session web site state in a database
table. Using cfid and cftoken are the obvious choice to use to ID a
given user's state (I do realize that it would be system-unique and
wouldn't follow the user
I'm building a cart-like application where I intend to store the
(usually anonymous) user's intra-session web site state in a database
table. Using cfid and cftoken are the obvious choice to use to ID a
given user's state (I do realize that it would be system-unique and
wouldn't follow the user
Hi
How do you query a logged in domain users networkID/accountname via
Coldfusion.
I would like CF to pick up automatically a users domain networkID and
then set this as a variable to query against another database, although
at the moment I am using a CFDUMP just to see the result.
This is
Steve, HTH -
The cfqueryparam change fixed the problem. The support here is so much better
than anything I've found on the Adobe site.
Thanks for the help
Need a little help. This query fails when the encrypted PW contains a single
quote...
UPDATE Members
SET PW =
You should use CFQUERYPARAM to prevent SQL Injection attacks from hurting
your database. Here is a good example of why you want to use CFQUERYPARAM.
I just pulled this from my log files.
07/12/08 08:12.13: Error; christianmp3.com; Thread[ServletExec: request:
time=1228659133439,
SAMACCOUNTNAME is not a variable you can dump in this example. Try cfdump
var=#adresult# / and you will see what you are getting back from the server.
Adresult should be similar to a query object, with samaccountname as a column.
Steve
From: Ian
If you are using Windows authentication security, it will be available
as cgi.auth_user.
It may be different, depending on your web server. CFDUMP the cgi scope
to be sure.
Mike
-Original Message-
From: Ian Vaughan [mailto:i.vaug...@neath-porttalbot.gov.uk]
Sent: Monday, January 12,
Also, watch out for possible legal values that users pass in.
They can enter:
username
domain\username
domain/username
usern...@domain.com
You will need to strip off anything that is not the username before you
use it in your CFLDAP filter, if you are filtering on sAMAccountName.
If they type
Has anyone tried tapping into Asterisk with CF?
I would like to look at building a manager interface or a page that at least
displays what phone lines are being used or not used.
Any code tips or examples would be appreciated.
Thanks!
Hi Mike
It is using Windows authentication security but on a thin client device
not an actual PC
Then following just brings back a blank page?
pcfoutput#cgi.auth_user#/cfoutput/p
Ian
-Original Message-
From: Dawson, Michael [mailto:m...@evansville.edu]
Sent: 12 January 2009 16:20
Good morning everyone,
No amount of audio will help an individual who is both blind and deaf.
Peter Donahue
- Original Message -
From: cf coder mailinglistid2...@yahoo.com
To: cf-talk cf-talk@houseoffusion.com
Sent: Monday, January 12, 2009 8:35 AM
Subject: Re: Using JCaptcha and
Good afternoon again everyone,
Email verification is a much better alternative as it permits those who
use all types of access technology systems to gain access to secured Web and
application content.
Peter Donahue
- Original Message -
From: Dave Watts dwa...@figleaf.com
To:
Chad I would start by looking at how the flash panel (from asternic.org)
works, I think it has a Perl backend that talks AGI to asterisk. I
think AGI works all through pipes, so that will be hard to do with CF.
I think you'll need to reach down into Java to do it.
-Ryan
Chad Gray wrote:
Thanks for the info Ryan.
I found one small chunk of code using PHP and they appear to be using the
fsockopen function in PHP that opens an socket connection. I don't know much
about PHP though.
http://www.telephreak.org/code/basic/
I will keep playing with it and see what I can figure out.
That depends on the function's attributes. The returnFormat argument
will automatically serialize the ColdFusion datatype into a JSON object.
I suggest that anyone using it should play with the returns a bit to see
what comes back for the different CF datatypes. Most things are fairly
We just installed ColdFusion 801 64bit on a brand new Solaris server.
The install did not properly configure the Apache web server to connect
to ColdFusion. When we manually ran the wsconfig tool, the connection
is made but then Apache will no longer serve up any content, ColdFusion,
HTML or
Regardless of the device (PC, thin client, phone), if you are using
Windows Basic Authentication, it probably brings back a
username/password in the CGI scope.
Dump the entire CGI scope and see if you can find the username/password
values.
Are you using a different type of authentication such as
Good to know...thanks, Cutter...
Rick
-Original Message-
From: Cutter (CFRelated) [mailto:cold.fus...@cutterscrossing.com]
Sent: Monday, January 12, 2009 12:30 PM
To: cf-talk
Subject: Re: Is it possible to reference a cfc method using ajax?
That depends on the function's
Don't forget that in CF8, you can convert a result to JSON over the
wire. So if some CFC, let's call it, um, nose, had a method, pick, that
returned an array, if you did an Ajax call to
nose.cfc?method=pickreturnFormat=json ...
I don't even want to know what value that method
We just installed ColdFusion 801 64bit on a brand new Solaris server.
The install did not properly configure the Apache web server to connect
to ColdFusion. When we manually ran the wsconfig tool, the connection
is made but then Apache will no longer serve up any content, ColdFusion,
HTML or
Sounds like an Apache connector issue. You'll want to double check that
your version of Solaris and Apache are supported by the CF Installer.
If you've got your heart set on your current config, you may end up
needing to compile the connector by hand for your particular system.
Adobe was cool
Jordan Michaels wrote:
Sounds like an Apache connector issue. You'll want to double check that
your version of Solaris and Apache are supported by the CF Installer.
Any hints or pointers to information in what is involved in manually
compiling the ws configuration? We apparently have Solaris
Hi,
I have a CF8 dev server and production server (both with the same
version 8,0,1,195765 and the latest code)
When sending an html format email using the dev server the email is
sent ok, while on the production server the email being sent out has:
MIME-Version: 1.0
Content-Type: text/html;
sent the code, data and xsl sheet to you via email.
Thanks Sam, I got them... Haven't had a chance to look at them yet...
been busy preparing for a move. Hopefully soon. :)
--
s. isaac dealey ^ new epoch
isn't it time for a change?
ph: 781.769.0723
http://onTap.riaforge.org/blog
It's a bit out-dated, but here's the info:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_18572#Apache
---excerpt---
Where is the Apache connector source located and how can I compile my
own Apache EAPI connector?
For ColdFusion MX Updater
$('#input_cfoutput#mls_number#/cfoutput').show()...
or
var mls_number = cfoutput#mls_number#/cfoutput
$('#input_' + mls_number).show()...
or
???
Rick
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic
thank you Breadcrumbs worked perfectly.
Keith
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
Yes it is. Remember that jQuery code executes after the page is fully loaded
in the browser.
-Original Message-
From: Rick Faircloth [mailto:r...@whitestonemedia.com]
Sent: Monday, January 12, 2009 12:47 PM
To: cf-talk
Subject: Is it possible to use a CF variable in jQuery?
erm... did you try? :)
On Mon, Jan 12, 2009 at 10:46 AM, Rick Faircloth
r...@whitestonemedia.comwrote:
$('#input_cfoutput#mls_number#/cfoutput').show()...
or
var mls_number = cfoutput#mls_number#/cfoutput
$('#input_' + mls_number).show()...
or
???
Rick
Yes, should work just fine. To keep the code clean and safe, you could use
jsStringFormat(), too:
var mls_input = cfoutput##input_#jsStringFormat(mls_number)#;/cfoutput
$(mls_input).show()...
~|
Adobe® ColdFusion® 8 software
Thought I'd ask from the fount of wisdom first,
rather than use half-an-hour with trials... :o)
-Original Message-
From: Charlie Griefer [mailto:charlie.grie...@gmail.com]
Sent: Monday, January 12, 2009 1:55 PM
To: cf-talk
Subject: Re: Is it possible to use a CF variable in jQuery?
Thanks, Jason, and everyone...
Rick
-Original Message-
From: Jason Fisher [mailto:ja...@wanax.com]
Sent: Monday, January 12, 2009 1:53 PM
To: cf-talk
Subject: Re: Is it possible to use a CF variable in jQuery?
Yes, should work just fine. To keep the code clean and safe, you
half an hour? really? the time it took to type the code into the e-mail
could have been typed into the IDE and run.
unless it took you a half hour to compose the e-mail. in which case... my
condolences :)
On Mon, Jan 12, 2009 at 11:00 AM, Rick Faircloth
r...@whitestonemedia.comwrote:
Thought
any suggestions, anyone?
I have a Spry Auto suggest widget where I select a list of names from
a cfc object which generates an XML data set. What I need to do is to
add those selections to a list below the widget input box, so as I
search in the auto suggest list and select a name John
Haha! So busy reading the thread as a whole that I missed the full
context of that particular postOne of the few examples where I would
have rather had one of Ben Nadel's examples over Ray's (Sorry bro)...
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7
Afternoon guys,
Any good recommendations on load testing tools? Iâm just looking for
something thatâll make HTTP requests to a bunch of given URLS on set
intervals for a period of time, monitoring response times etc. Iâve used a
couple in the past but forget which, thought Iâd get your
Jordan Michaels wrote:
It's a bit out-dated, but here's the info:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_18572#Apache
Thanks, I finally found that and this
[http://www.zrinity.com/developers/apache/apache2cfmx.cfm]. With these
two resources, we where able to get to the
Steve, I've admittedly only skimmed your blog post, but could your
problem with CF's JSON encode of Queries be fixed with the queryFormat
attribute? It's another 'special' attribute like returnFormat.
On Mon, Jan 12, 2009 at 11:30 AM, Cutter (CFRelated)
cold.fus...@cutterscrossing.com wrote:
Most people use their most common personal experiences when
creating examples... :o)
I must say, however, that Dave's comment stuck with me for awhile...
-Original Message-
From: Cutter (CFRelated) [mailto:cold.fus...@cutterscrossing.com]
Sent: Monday, January 12, 2009 2:21 PM
To:
Ray, (Please, call me Cutter.) I want to say I looked at that once
before, but I just don't remember. At the time, I was also looking to
write an implementation that would take the JSON return at it's base
level, without additional attributes. I'll take another look at it
though, it may be
I get an error in CF while trying to create an object for a CFC. The error is
as follows:
Invalid method Code length 74584 in class file [filename]
This file has just over 4200 lines of code and 2200 lines in the largest of 4
functions. When I remove the function, I can create the object just
On Mon, Jan 12, 2009 at 7:29 PM, Victor Moore wrote:
When sending an html format email using the dev server the email is
sent ok, while on the production server the email being sent out has:
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Mailer:
You'll have to break your method up in to smaller methods. CFSWITCH
used to have this same problem, but Adobe (or maybe Macromedia)
changed the compiler to work around it. CFC's also are exempt, but
function bodies apparently aren't. Make sure you submit a bug to
Adobe on it as well:
A Google search indicates there is a Java limitation of 64k, but that answer
doesn't satisfy
me.
I'm not sure what you mean by it not satisfying you. You can't
create a function larger than that. There is no workaround, other than
writing two or more smaller functions.
Each function is
Make sure you submit a bug to Adobe on it as well:
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
Do you really consider that a bug? Given that there has to be some
maximum size for an individual program, where should that line be
drawn?
Dave Watts, CTO, Fig Leaf Software
I got quite into jMeter, but its a bit finicky to get into.
Once you understand how it works, tho', its very flexible (and free!)
Mark
On Tue, Jan 13, 2009 at 6:28 AM, Robert Rawlins
robert.rawl...@thinkbluemedia.co.uk wrote:
Afternoon guys,
Any good recommendations on load testing tools?
Yes, I think it's a bug. Just because Java has a hard limit doesn't
mean that CFML should. CFML is NOT Java. An analogous bug was fixed
in CFSWITCH's compilation (the _factorN classes), and I don't see a
fundamental difference here. Obviously the underlying Java is
different, but from the CFML
Yes, I think it's a bug. Just because Java has a hard limit doesn't
mean that CFML should. CFML is NOT Java. An analogous bug was fixed
in CFSWITCH's compilation (the _factorN classes), and I don't see a
fundamental difference here. Obviously the underlying Java is
different, but from the
Cool - sorry Cutter. ;)
FYI, the ability to generate 2 styles of json from a query is also
available in serializeJSON, and can also be used within deserialize as
well.
On Mon, Jan 12, 2009 at 2:07 PM, Cutter (CFRelated)
cold.fus...@cutterscrossing.com wrote:
Ray, (Please, call me Cutter.) I
Something else that should be pointed out about the example...
UPDATE Members
SET PW = cfqueryparam value=#Encrypt(form.PW,EncryptKey)# /
WHERE Member_ID = cfqueryparam value=#form.Member_ID#
cfsqltype=cf_sql_integer /
Simple one first - there's no cfsqltype attribute on the first cfqp. Although
On Mon, Jan 12, 2009 at 1:36 PM, Dave Watts dwa...@figleaf.com wrote:
Well, ok, would you consider this bug resolved if Adobe stated in the
documentation that you can't have a CF file larger than x KB?
That doesn't address the issue. The issue is that a bytecode method
can't be longer than X,
Yeah, I have to look at the two formats again (I think the attribute is
queryFormat), but I personally like the default format over the standard
format. It has a much smaller footprint, with a lot smaller bit set
going over the wire. If I remember correctly though, even the alternate
format
Well, ok, would you consider this bug resolved if Adobe stated in the
documentation that you can't have a CF file larger than x KB?
That doesn't address the issue. The issue is that a bytecode method
can't be longer than X, and there's no way to translate between CFML
and bytecode. If it
All I'm asking is, given some arbitrary number, would you accept that
as a bug fix?
No, that just makes it a known issue. But it's really irrelevant. If
I ever write 250-line method/UDF, I'll be quite surprised, let alone a
2000-line one. I've got plenty of files that are far larger than
+1 for jMeter. It's not *too* finicky...
Coupla nice features worth mentioning:
1. You can set it to either remember or forget cookies. With cookies on,
you can script a whole login sequence and use that as your load test. With
cookies off, you can stress your server with 50,000 live sessions
I don't really know much about how the aforementioned black box works,
but I wonder if it would be possible for CF to somehow break up your
code and split it into multiple classes behind the scenes.
I don't know if I am in the bug camp on this one, but isn't CF's job
to keep us from having to know
The question to further this discussion is to ask, is it a good idea to mix
coldfusion markup and javascript?
What is a better approach?
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
To me, that's kind of like asking Is it a good idea to use a database
in my application?
If you need something to happen on the server, then use CF. If you need
processing to happen on the client, use JavaScript.
If you want the JavaScript to be dependent on the outcome of CF code,
then you
I played around with WebLoad and thought it was pretty easy to use.
http://www.webload.org/
Will
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
is it a good idea to mix coldfusion markup and javascript?
Try doing it with PHP or mixing and escaping it with another C-ish/ECMA type
language... say cfscript.
The goggles... they do NOTHING
G!
On Mon, Jan 12, 2009 at 5:41 PM, Tony Bentley t...@tonybentley.com wrote:
The question
Jeff,
If the font size is smaller than you would like it might be due to the
automatic scaling done to try to fit text into the available space.
Just a guess. Can you make the font smaller but not larger? Are you
using inline styles? Posting a code snippet might help.
-Mike Chabot
On Mon, Jan
I found that you need to include javascript w cf variables in the .cfm
file, and not a .js file (for obvious reasons).
Speeves
On 1/12/09, Gerald Guido gerald.gu...@gmail.com wrote:
is it a good idea to mix coldfusion markup and javascript?
Try doing it with PHP or mixing and escaping it
Thanks Paul and Brad,
Looks like I'll have to ask the host about this one. I have no idea what
CRLFCRLF is nor anything about web proxies or IIS.. a bit beyond me. And yes,
the downloading the source must be why it is rendered as text in the browser.
Strange indeed.
Cheers
Looks like I'll have to ask the host about this one. I have no idea what
CRLFCRLF is nor
anything about web proxies or IIS.. a bit beyond me. And yes, the downloading
the source
must be why it is rendered as text in the browser. Strange indeed.
CRLF is carriage return and line feed. Your
This app is used for client communication. It basically creates an
email based on existing form fields and sends it to the client.
The funny part is that it seems it's happening only with that
particular form (not the form it self, just the information entered on
form).
The line above is:
contact
On Tue, Jan 13, 2009 at 5:35 AM, Victor Moore wrote:
The line above is:
contact info and remove jack
which actually was supposed to be part of the subject line.
Make sure you remove all carriage returns and linebreaks from your
subject (do a replace on the variable) and try again.
Jochem
Hey Everyone,
I have a project and I'm trying to figure out the best way to go about
it. What I want to do is keep track of what songs a user has listened
to and what songs they haven't. The first thing that comes to mind is a
table with song IDs and a table with user IDs and a join table
Databases are good at storing data. With proper indexing, a few
million rows is nothing. I'd store tracks listened to. Make the
model simpler, speed user creation, and odds are most people are going
to listen to less than 25K distinct songs so it'll require less rows
too.
---
Barney
81 matches
Mail list logo