I am having troubles getting the page to display. I think it is the OnSubmit
attribute to be causing the problem. Any idea how I can get this working? Here
is my code:
script language=JavaScript type=text/javascript
function testform() {
alert (hello world);
}
/script
cfform
I really like the work of the File Upload code in Flash forms
(http://www.asfusion.com/blog/examples/item/file-upload-with-coldFusion-flash-forms)
but I deperately need to run a regular expression that verifies that the user
does not have spaces in the file they are about to upload.
I realize
Has anyone been able to get the FCKeditor to work within a CFFORM with format
set to Flash?
I haven't tried it yet but I am wondering if there is any point because CF will
be compiling the code behind the FCKeditor into an swf. This will likely cause
problems.
Any experiences that anyone
I am looking for a VERY simple Content Management System written in CF for a
small community group that has no money but has CF hosting.
Can anyone recommend one or donate some code?
Thanks in advance.
David Adams
Ottawa Ontario
I would imagine the encoded string would have to be inside CDATA tags.
You could base64 encoded and send as string...
I found this very interesting article on this topic
http://www-106.ibm.com/developerworks/xml/library/x-tippass.html
[Todays Threads]
[This Message]
[Subscription]
[Fast
My understanding of webservices are weak but is it possible to pass a webservice a file (as opposed to a string) and have it processed and returned?
I am not concerned about how it is processed or returned but whether or not a webservice accepts binary files.
Thanks in advance.
DA
[Todays
I am thinking more of a image or doc file.
Is this possible or am I confusing the concept of web services?
an xml file?
sure.
tw
-Original Message-
From: David Adams [mailto:[EMAIL PROTECTED]
Sent: Friday, May 21, 2004 10:33 AM
To: CF-Talk
Subject: Passing a webservice a file
My
This script will run the specified command on a Unix or Linux operating system.The script redirects output from STDERR to STDOUT to allow ColdFusionMX to make error messages available to the cfexecute tag.These error messages can be captured in the variable parameter or output to a file.
Will the simplicity and elegance of CF be it's saving grace in the future for the lonely, over paid web developer in North America?
Why sweat learning Java and .Net when off shore development will be doing it better and cheaper in the future anyways?
The way I see it is that I am better off
The intention of the following code is to force a download to the client of an array of files.The problem is that it forces out the first file but exits the loop (or leaves it hanging) and control is lost at the server side.How can the server regain control to carry on with the loop?
!--- STEP 1:
I have some code to force the downloading of a file to the client.It works great but I want to execute some other code before that.Is it possible?
My code looks like the stuff below and when you run it, it fires immediately.
cfset filePath = c:\path\to\file\thefile.ext
cfheader
Is there a better way of writing:
cfif ArrayIsEmpty(arr_one) AND ArrayIsEmpty(arr_two)
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
Have you ever needed to capture output from Standard Error so that you can put it into cfexecute outputfile= or cfexecute variable= on a UNIX system?
For example if you run:
cfexecute arguments=-z name=/bin/ls variable=result timeout=60/cfexecute
cfoutput#result#/cfoutput, this will result in no
Oops, I guess CFTALK does not allow PERL script to be displayed because I cut-n-paste the script into my message.
Well, if anyone wants it, just email me.
Dave Adams ([EMAIL PROTECTED])
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
Rob,
Thanks for the feedback.
I am running the Bash shell and I ran the following and it failed:
cfexecute name=/bin/ls arguments=-z 21 variable=result timeout=60/cfexecute
cfoutput#result#/cfoutput
Also, I deliberately made and error with ls arguement by putting a -z, which is an invalid
Can anyone recommend simple ways of passing client side cookie values to CF?
Below is my way, which I think is clunky.Essentially I grab the cookie value and pass it on via the URL parameter to another page.
script language=_javascript_
function ReadCookie(name) {
if(document.cookie == '') { //
I am looking back at some code I wrote when I was learning CF and typically I used too many # signs.
For example I have lots of these: cfset firstsweep = #GetToken(individualfilename, 1, news)#.
My application is working fine but between being lazy and scared, should I go back and clean up all
In the following snippet, what is better form for representing a true statement in the CFIF (ie. YES, true, or 1)?
cfset arr_fruit=ArrayNew(1)
cfset arr_fruit[1]=apple
cfset arr_fruit[2]=banana
cfset arr_fruit[3]=pear
cfset edible = ArrayAppend(arr_fruit,pineapple)
!--- cfif edible IS YES ---
or
My advice is to always check that your certificate got registered and shows up in the list.There is lots of documentation how to use the keytool from Sun.
I had a lot of problem setting it up myself at first because I did not know what I was doing but after I finally got it working, it was easy
Can anyone help me with this:
Original String: fts20030918_001_2359.exe_FBISDocsPending
Desired String: fts20030918_001_2359.exe
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
Thanks for the responses.I thought I could do it all with a GetToken() but CFTALK thought differently.Cheers, Dave Adams
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
I just noticed that the Fusebox.org site is back up and working again.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
I need to have an ampersand in a XML object such as:
linkURLhttp://www.houseoffusion.com/cf_lists/index.cfm?method=threadsforumid=4/linkURL
Unfortunately, XML and CF complain about this.Any advice?
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
I have a requirement to append output to file when using CFSCHEDULE.By nature, when you save output to file with the publish option set in CFSCHEDULE, it overwrites the file if it exists everytime the schedule is run.
I don't want to delete the file, I only want to add output data to the existing
I am learning FBX4 using a MVC design approach.I have a question on whether or not each of the fuseactions in the controller's circuit.xml.cfm file have to be linked to each other.
My problem arises when I have a series of fuseactions and only the first one fires. For example in the following
Is it possible to run a single app that has both FBX3 code and FBX4 under one root?I am guessing that that they are really two seperate apps with the appearance on one but wondering if the two can talk to each other and pass variables to each other.
Any advice would be appreciated.Dave Adams
How do I convert an XML object to a 2 dimensional array?
Many thanks,Dave Adams
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
I am using cfschedule with action set to update.Upon completion of the task it overwrites the file I have specified in the file attribute when I really want it to only append to the file.
Any suggestions?
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
I have noticed that you can now get an http server for PocketPC.I have not tested it but I saw it on the MS SDK 2003.
Dave Adams
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
I really like this old utility called ZTreeWin until now.
I had to do some testing on some files and I changed their date with ZTreeWin.When I went to test them using functions like #dateFormat(dateLastModified, 'mm/dd/')# CF started throwing errrors.
After careful inspection, the dates that
I have a problem where I can trap an error in CFMX's application log but not in the w2k Eventlog even though the documentation states that I can.
Here is my code:
cftry
cfexecute name=xyz arguments=x variable=xyz timeout=1/cfexecute
cfcatch
cflog type=Error log=APPLICATION text=hello_I_am_error
Just to clarify, your question is a Fusebox 3 question and not Fusebox 4.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
A characteristic of the ColumnList variable is that it returns a list of the column names in alphabetical order.Is there anyway to get the same list but in the order that specified in the select statement?
Thanks in advance.Dave Adams
[Todays Threads]
[This Message]
[Subscription]
[Fast
Does anyone know if there is a tool or technique for representing text through a series of small images that substitue for letters or characters?
On a website, I would like to have all displayable email addresses as image files instead of text so that spammers cannot parse and capture them.
Any
I have a simple form that allows me to upload a file.I need to write a test page that can calculate the time it takes to upload this file to the server.Is this possible?
I thought that GetTickCount() could tell me this but it only calculates how long it takes to process a file once the CF Server
I am new to Linux as well and the installation of CF went so smooth it was almost anti climatic.
I would encourage others to look into this platform as well.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
I am using CFEXECUTE on a PKZIPC application and I need to be able to capture the output of PKZIPC to STDERR.
I can successfully capture STDOUT but this does not help if the UNZIP fails for some reason.
PKZIPC sends error messages to STDERR explaining the reason for the failure and also returns
I found this article:
http://www.macromedia.com/support/coldfusion/ts/documents/config_default_err_out.htm
As far as I can see, I have two options.One choice is the use the about solution to output the STDERR to file and then read the file.The second choice is the redirect STDERR to STDOUT and
What are the available CF code editors for Linux.I love HomeSite but I am sure there is no market demand to port it over to Linux.Any comments?
Using VI is not the answer I am looking for.;)
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
FuseBox 4 supports a Developer switch.Then when you complete you turn the switch to Production.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
I am also just starting out developing on a Linux platform and it has been relatively trouble free but any catches that I have encountered have always boiled down to a permissions issue.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
I have two lists and I want to combine them into a single two dimensional array, how do I
do it??
Here are my two lists..
cfset myList1 = apple,banana,orange
cfset myList2 = bird,fish,mammal
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
Is it possible to build a service control interface with CF? I need to detect the
status
of a service.
Hope someone can comment.
Dave Adams
~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription:
I have lots of CF How to books but none dealing with good coding practises.
Any suggestions out there?
Thanks in advance,
Dave Adams
Ottawa, Ontario, Canada
~|
Archives:
I have lots of CF How to books but none dealing with good coding practises.
Any suggestions out there?
Thanks in advance,
Dave Adams
Ottawa, Ontario, Canada
~|
Archives:
Another thing when working with CFEXECUTE is to turnoff the output to
screen of the outside process. I have been caught many times on this
where I get the outside process to give me something back and it tries
to return it to screen and it tries and tries until is timesout.
Dave Adams
CFUG
To save messing around with config files, I have found a quick way to
configure two instances of an IIS webserver running CFMX. I am doing
this for security where I put my public website on port 80 and then run
my CF Admin on a second instance running on port 81.
My steps:
1. Install IIS.
Problem Solved. I had to qualify CFHTTP with a CHARSET and specify
ISO-8559-1.
The funny thing is that this code originally worked in CF Server 4.5. I
guess CFMX is much more rigorous.
Dave Adams
CFUG Ottawa, Canada
David Adams wrote:
I am getting errors when using CFHTTP.FileContent
To save messing around with config files, I have found a quick way to
configure two instances of an IIS webserver running CFMX. I am doing
this for security where I put my public website on port 80 and then run
my CF Admin on a second instance running on port 81.
My steps:
1. Install IIS.
I am getting errors when using CFHTTP.FileContent to grab pages that contain special
characters such as î, è, à, etc.
To diagnose the problem I use cfdump var=#CFHTTP.FileContent# and it displays the
HTML code of the target page right up until the first special character and stops.
When I
Microsoft provides a whole bunch of Security Toolkits to help lock down
a server. For example there is the Microsoft Baseline Security
Analyzer. Some of these tools blindly goes in and locks down a bunch
of stuff that you are not aware of.
Has anyone had problems running CFMX after applying
I am looking for a simple block of code that will loop through a
directory and delete it's files when called. I do NOT want to delete
the directory, only its contents.
Pseudo code:
Set CurrentDirectory
For each file in directory
Delete it
Next.
I am sure this is easy for some of you and I
For the benefit of others the following is a summary of the code
snippets sent in from the various developers. Thanks to all that
responded.
Dave Adams
CFUG Ottawa
cfexecute
name=c:\winnt\system32\cmd.exe
parameters=/c del c:\trash\*.* /q /
OR
cfset mypath =
Does anyone have any good information on working with both CF and PERL?
Dave Adams
CFUG Ottawa
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
Have you tried HTMLDOC by Easysoftware. I am really satisfied with it.
Dave Adams
CFUG Ottawa
-Original Message-
From: webguy [mailto:[EMAIL PROTECTED]]
Sent: November 27, 2002 6:18 AM
To: CF-Talk
Subject: RE: activePDF
One thing that annoys me about ActivePDF is the lack of a
I am having a hard time calling a PERL script from a CFEXECUTE tag. It
seems to not accept more than one argument.
For example the following code with FAIL:
cfexecute
name=C:\perl\bin\perl.exe
arguments=c:\scripts\run_myPERLapp.pl http://www.cnn.com;
I am using CFEXECUTE to initiate an outside process from a small binary
file. In the CFEXECUTE tag I set the time out to be something like 60
seconds and CFMX will try several times to initiate this process and
will eventually give up and render a timeout error in the client
browser.
I can run
For your information:
http://www.macromedia.com/v1/Handlers/index.cfm?ID=23161
Dave Adams
CFUG Ottawa
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
On a CF 4.5 platform, I had enormous trouble using CFHTTP to access a
page behind a proxy server. I got the typical Connection Failure
message. After verifying my CF code, using CF-Talk and all other
resources, it was clear that I was not going to be successful.
Instead, I resorted to using
behind everytime it runs. In my case I have a job
that
runs every minute so it creates way too many files. I handle this by
deleting them with another job on a nightly basis.
Overall, it's an excellent utility and very reliable.
-Frank
- Original Message -
From: David Adams [EMAIL
Webmonkey has done a review on MM's Contribute product.
http://hotwired.lycos.com/webmonkey/02/45/index4a.html
Dave Adams
CFUG Ottawa
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
I am using CFHTTP to request a page on a web server behind a proxy
server and it is resulting in a CONNECTION FAILURE. This seems odd
because if I configure the web browser with the proxy IP address and
Port, the web browser will successfully connect to the target page. But
if I apply these
Everyone I know is still using studio and if in a pinch Homesite MX. In
our lives we need more simplicity not complexity.
To be fair to Macromedia, the code base for Studio was not in their
strategic direction and therefore very expensive for them to maintain
it. This probably means that the
I am writing a small utility that I send a bunch of stuff through an
outside process with CFEXECUTE. This process needs some time before I
allow my code to continue on to the next section of code. Is there such
a thing as CFSLEEP timespan=10?
A really bad kludge would be to write a small loop
I know that CF4.5 will run very well on w2k server but has anyone seen any
documentation
stating that CF4.5 is certified to run on W2k?
Ah, the politics of corporate computing!
Any links to info would be appreciated.
Dave Adams
CFUG Ottawa
Environment:
-CFMX
-Win2k Server
-HTMLDOC verion 1.8.23 (www.easysw.com)
I had a simple form that requested the URL of the target webpage. I passed this into a
CFEXECUTE and HTMLDOC handled it from there. Here is my code:
CFEXECUTE NAME=C:\Program Files\HTMLDOC\gHTMLDOC.exe
Would this be a bug?
I am using a text file as my datasource and I go through the regular
process of creating an ODBC connection using MDAC. I then go into CF
Administrator to the Datasources and see if MX will detect this newly
created connection and it does not.
Am I doing anything wrong?
Does anyone know if HomeSite+ or DWMX make good PERL editors? If not,
what is the best application development environment out there for PERL?
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
I am building a template that acts as a relay and I need to download a
file (action=getfile) and then upload the same file (action=putfile) all
within the same loop structure.
Above this loop, I made my two unique connections to each of the FTP
servers (action=open).
I have tested it and
I was hoping that you were going to get more traffic on this thread. I
too am very interested in running CF on Linux. It might even make a
good business case because what you save on MS licenses, gives you the
extra money to buy CF.
Dave Adams
CFUG Ottawa
-Original Message-
From: Eric
I had problems getting CFMAIL to work on my website. It worked for some
users and failed for others. I thought it was a CF problem until I talked
to a mail administrator of one of my users and he reported that mail coming
from my website was denied because my ISP is known for being guilty of
Studio is no longer and instead it is replace by Dreamweaver. If you
want Studio 5 you need to install the HomeSite MX.
Dave Adams
CFUG Ottawa
-Original Message-
From: Troy Simpson [mailto:[EMAIL PROTECTED]]
Sent: October 9, 2002 2:40 PM
To: CF-Talk
Subject: Update for ColdFusion
For some reason, I cannot encapsulate a CFFTP tag within an A HREF.
The result is an empty string, when I go to view source of the rendered
HTML page. Any ideas?
The following code does not work.
a href=cfftp
connection=myConnection
action=getfile
I am looking for a source of inexpensive news-based content that can
be either consumed as a web service or harvested from conventional web
pages. I don't want to have to link or be redirected to the actual
source but include it in my site and make it look as if it is mine.
The reason why I
out on the device
and I am hoping they will put their other products on the market.
I think we all agree by now that the desktop PC is only one of many clients within the
enterprise.
David Adams - CFUG Ottawa (www.cfugottawa.com
]
Sent: Friday, March 22, 2002 9:59 AM
Subject: Re: CF Feature Request - Ability to run CF app on PPC
David Adams wrote:
It would be really great if I can run a CF application on the PocketPC
(PPC). I would even be happy if they compiled CF 1.0 for this platform.
http://www.macromedia.com
on this topic.
David Adams CFUG Ottawa
It is an environment where a device can become present on a Neighbourhood
Area Network (NAN) for brief periods of time or
- Original Message -
From: Dave Watts [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, March 22, 2002 10:38 AM
=cid:552454817@29052001-0ca6;
My question is, does anyone know how to attach an image so that it show up
in place in the email?
Yes, I could put in images as links to my web pages, but this isn't the same
thing. What if my web site is inside a firewall or whatever.
Thank you!
_
David
I like the Forta booklet on SQL. Since it is small and the format simple
you can read it and quiz yourself anywhere anyplace.
Dave Adams
CFUG Ottawa
- Original Message -
From: Lamon, Alec [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, March 29, 2001 1:07 PM
Subject: RE:
This framework looks frighteningly similar to Spectra. I too live in
Canada, Canada's main government town - Ottawa, and we also have to deal
with bilingualism in all our applications.
I have just learned that Spectra can deal quite well with multilingualism
and since it is a framework, if
Web Monkey has reported a very interesting tool called "Code Lifter" that allows you
to grab hidden JS, PL and CSS files from a web page.
Very useful for bug fixing. http://www.codelifter.com/index.html
Dave Adams
CFUG Ottawa
~~
Structure
What is your opinion on whether or not CF studio is a good PERL editor?
I am also interested in hearing opinions on how well PERL works with CF in general.
Might be a good CFUG topic. If any one has already done it, I would love to borrow
their lecture notes.
Thanks in advance,
Dave Adams
This problem has been experienced on IBM Think Pads.
- Original Message -
From: Craig Dudley [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, February 22, 2001 1:24 PM
Subject: RE: blacked-out icons in studio
Sometimes that's a video driver problem, do you have blacked
Is there a way to send a CFPOP command that utilizes Secure Password
Authentication (SPA)?
I'm having trouble with an Exchange server that is set up for basic (clear
text), yet refuses to accept CFPOP commands.
Thanks!
Dave
--
Web Applications Developer
Marconi PLC - MSI Division
425-519-2046
-2046
Date: Mon, 5 Feb 2001 13:22:31 -0800
From: David Adams [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'"
[EMAIL PROTECTED]
Subject: CFPOP requirements with exchange
Message-ID:
[EMAIL PROTECTED]
I get the following error: "A required privilege is not held
Have you looked at NCompass plug-in? I am not sure if they still make it,
but thats what we use for problems similiar to yours.
Dave Adams
CFUG Ottawa
- Original Message -
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, February 09, 2001 8:57 AM
Subject: OT:
Apparently the Oreilly book is very good as well.
This makes me wonder. Does FuseBox methodology and UML compliment each
other or compete?
Dave Adams
CFUG Ottawa
- Original Message -
From: Simon Horwith [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, February 06, 2001
I get the following error: "A required privilege is not held by the client."
This happens when I attempt to get the headers only (and getall) from a user
with password from my exchange server via cfpop.
What does this mean? My mail administrator doesn't know how to help.
Thanks
Dave
Why FAT?
Dave Adams
CFUG Ottawa
- Original Message -
From: Aidan Whitehall [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, January 31, 2001 7:20 AM
Subject: Windows 2000 Professional and CF Server 4.0.1
We're having problems installing CF Server 4.0.1 onto a Windows
In my enterprise all clients have a default html page that gets loaded when they
initiate a web browser. I would like to put some logic in this page to get them to
one of two actively running servers.
I am thinking my code should look like this but not sure. Is this possible??
script
Because of my environment, I am only allowed one port for my webserver, which is port
80, and I would like to include a search interface on my site, running on port 90.
Can I use CFHTTP to masquerade?
This is the code I would normally use to access my search server, if I had the freedom
to
My guts tell me the merger was for business not technology reasons.
A significant portion of the questions were corporate related.
I would have felt more comfortable is there was more dialogue and directions in
regards to CF/MM's position towards MS .net, java, and the UNIX world.
Does
92 matches
Mail list logo