Also, if it really is just flat HTML you are working with, you could use SSI
includes inside shtml pages (Apache or IIS will serve them without the need
of a separate application server).
Dominic
On 8 November 2010 22:18, Russ Michaels r...@michaels.me.uk wrote:
The age old method is to
If you don't want to run your own dev server then you can always use
www.cfmldeveloper.com instead.
Russ
~|
Order the Adobe Coldfusion Anthology now!
plenty of ideas, but you unfortunately forgot to mention the
condition(s)/validation rule(s) when you want your trap/filter to
spring/run...
what does the value of your 'start' url var have to be to 'pass'? i.e. a
positive integer? an numeric value within a certain range? something else?
You might have them tag like this ~word~, then parse for that when
building your search.
Not sure what you mean by parsing for it? When I use a word like this in my
data (with tildes around it), and then search for it (including the tildes), I
get no results back from Solr. It does match
I'm confused - why not just add a form field to their content editor
where they can enter the tags there?
On Mon, Nov 8, 2010 at 11:08 AM, Mary Jo Sminkey mary...@cfwebstore.com wrote:
I have an unusual request from my client, they want to be able to have their
people in the field put tags
I'm confused - why not just add a form field to their content editor
where they can enter the tags there?
Unfortunately, we have no access to that system, I can only pull the data that
has been entered into it.
--- Mary Jo
Yes, cfsavecontent appears to use a java buffer internally, and runs
just about as fast. Pick whichever method gives you code you like
better with your content, its source, and your coding style.
Dave
Its actually faster according to the tests I've seen. Both ArrayAppend and
cfsaveContent
Ok - so then if you use tildes like Muareen suggested, you can parse
for them when you index the data. Do you have control over the code
that does the indexing?
On Tue, Nov 9, 2010 at 9:27 AM, Mary Jo Sminkey mary...@cfwebstore.com wrote:
I'm confused - why not just add a form field to their
What I mean by parsing is that you use the tildes to determine what to
search for by extracting what is between them and using that to build
your search.
On Tue, Nov 9, 2010 at 6:55 AM, Mary Jo Sminkey mary...@cfwebstore.com wrote:
You might have them tag like this ~word~, then parse for
On 11/8/2010 9:55 AM, Robert Gallagher wrote:
Using attachment forces the user to make a selection on a dialog
box and I wanted to bypass that dialog box and have the file open
every time.
You do not get to make that choice. It is *MY* computer and *MY*
browser and *I* get to say
Use something like http://cflib.org/udf/parseExcel to read the Excel into a
struct of arrays and then use, for example,
http://cflib.org/udf/StructOfArraysToQuery -
http://cflib.org/udf/QueryToCsv to create the text file.
On Tue, Nov 9, 2010 at 10:06 AM, fun and learning
Hi everyone, this one has had our collective heads banging against a wall for
longer than any of us would like to admit. Bit of back story, our site has been
having long 'pauses' and sometimes total downtime now for months and months,
sometimes it will be fine for weeks and sometimes it'll go
Hi all,
So I haven't blogged in about a year because of different issues with my
website provider... Any how I'm looking to get my blog going again, but
I don't know how I should proceed. I used to use blogcfc, but my
provider restricts a bunch of tags (below). Can anyone suggest which
blog
HI All -
I am uploading an excel file using coldfusion. Once the file has been uploaded,
I want to convert it to a text file. What I am trying to do now is once the
file is uploaded, I am reading the excel file and then writing the output to
text file. but the write method creates all junk
Let me refine this a little more. IE6 (the company browser) treats inline
versus attachment slightly different as far as the Open/Save dialog
box is concerned. Attachment *FORCES* the user to always choose open or
save. Inline allows the user to permanently select Open for
example, but
Change hosting companies. Really.
--- Ben
(Sent from my Flash enabled Android device)
On Nov 9, 2010 2:35 PM, DURETTE, STEVEN J (ATTASIAIT) sd1...@att.com
wrote:
Hi all,
So I haven't blogged in about a year because of different issues with my
website provider... Any how I'm looking to
Hi
Those threads are not your problem... They represent server threads
that are waiting for someone to open a socket to them. (JNDI is built
into java; CF might be using it but either way it isn't directly hurting
anything.)
If your dead/hung servers are using lots of cpu then look for threads
Ok - so then if you use tildes like Muareen suggested, you can parse
for them when you index the data. Do you have control over the code
that does the indexing?
Yes, I'm pulling all the data and then indexing it to make it available for my
client to search, so they can find the specific records
Steve,
One should at least explain why hosts disable those tags.
They are all dangerous tags that provide IO access and the host is probably
just be cautious. If these were just enabled by default then the server
could be hacked in about 5 seconds.
However some of those tags should be allowed
You can also just use the CFSPREADSHEET tag and related functions in
ColdFusion 9.
-Adam
On Tue, Nov 9, 2010 at 11:19 AM, John M Bliss bliss.j...@gmail.com wrote:
Use something like http://cflib.org/udf/parseExcel to read the Excel into
a
struct of arrays and then use, for example,
I am trying to use the cf wrap function and I am getting some odd results.
Here is the text (entered in a text area...the line breaks shown are from
hitting the enter key)
Life is but a stopping place,
A pause in what's to be.
A resting place along the road,
To sweet eternity.
Here is the
thanks a lot Russ . from the links you gave I realized that maybe
the cfprocessingdirective tag is the solution . but I don't know
what's going
wrong that when I wrap my cfquery tag inside the
cfprocessingdirective it gives me error and says that the
/cfprocessingdirective tag
+1 Ben's idea
Some of those are reasonable, but CFCONTENT, CFDUMP, CreateObject()?? Go
to CrystalTech for a few bucks a quarter or something.
From: Ben Forta b...@forta.com
Sent: Tuesday, November 09, 2010 11:37 AM
To: cf-talk
Some of those are reasonable, but CFCONTENT, CFDUMP, CreateObject()?? Go
to CrystalTech for a few bucks a quarter or something.
CFCONTENT and CreateObject both have serious security implications.
Russ knows better than me about sandboxing, but those tags and
functions shouldn't be allowed
Granted they shouldn't have unrestricted access, but I would argue that you
should be able to call them within your own application or else the ability
to build complex applications begins to be pretty well hampered, no?
From: Dave Watts
On 11/9/2010 9:54 AM, Jason Fisher wrote:
Granted they shouldn't have unrestricted access, but I would argue that you
should be able to call them within your own application or else the ability
to build complex applications begins to be pretty well hampered, no?
Well, true. But hosting
Not necessarily. I've got several very complex apps that aren't used by
many users, and they're charity apps for non-profits, so why not host for
$20 / quarter instead of investing $120 / month or something in a full
private server? I've had bad shared hosting experiences before, but
Kind of wish I could, but I get my package for $119 a year, the site
doesn't make any money it is just for personal use, and I can't afford
much more for what I get.
For that price I can host 5 domains, unlimited email addresses for each
domain, I don't remember how much bandwidth or drive
Granted they shouldn't have unrestricted access, but I would argue that you
should be able to call them within your own application or else the ability
to build complex applications begins to be pretty well hampered, no?
Yes, the ability to build complex applications may well be hampered in
a
Take a look at Alurium. They offer shared hosting for about $3 / month with
Railo - and you get full Web Administrator control for each account (because
of the way Railo is sandboxed by default).
--
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's
Experiencing the same issue (blank message body) this past week (as of
11/09/10) as described in this post of 11/12/2003.
No changes to the template(s) calling CFMail - just started sending blank
message bodies. Spam score says negative 1 (-1) where a score of 3 or more is
spam, so that's not
Sounds like it's ttime to change who you host with. How are they blocking
CFC instantiation like that?
Sent from my Droid
On Nov 9, 2010 10:36 AM, DURETTE, STEVEN J (ATTASIAIT) sd1...@att.com
wrote:
Hi all,
So I haven't blogged in about a year because of different issues with my
website
This might have sommething to do with sending multipart MIME messages.
Perhaps one person's client is set to only display plain text and the
message does not contain that part.
Sent from my Droid
On Nov 9, 2010 12:23 PM, Sean Henderson shender...@followup.net wrote:
Experiencing the same
Thanks, I will look at them (I have no experience with Railo), but I am
pre-paid for a few months, so...
Any ideas on cf blogging software I can use? Any tutorials on dumbing
down the current options to make them work? I found a tutorial for
blogcfc but it was so many versions back, some of
What he said - the message body may look blank, but view the raw source of the
received email to see what is really there. There could be an encoding issue.
Wil Genovese
One man with courage makes a majority.
-Andrew Jackson
A fine is a tax for doing wrong. A tax is a fine for doing well.
Sounds like it's ttime to change who you host with. How are they blocking
CFC instantiation like that?
I didn't see CFINVOKE on the list, so you could use that to create CFC
instances (assuming the CFCs have an init method that returns an
instance of the CFC). Of course, that doesn't really
Any ideas on cf blogging software I can use? Any tutorials on dumbing
down the current options to make them work? I found a tutorial for
blogcfc but it was so many versions back, some of the changes that the
tutorial suggested weren't even there anymore.
I haven't worked with BlogCFC so
What I mean by parsing is that you use the tildes to determine what
to
search for by extracting what is between them and using that to build
your search.
That's not going to give me what I need, because I need to find *only* the
results that use the tildes, not the records that might just
There are indeed inherent risks and limitations with shared hosting. But
there are solutions, including ones less expensive than dedicated hosting.
Sandboxing is one option, although not an absolutely perfect one.
The preferred option (these days) is the one Dave mentioned, visualization,
where
Hey Dave,
CFCONTENT and CreateObject both have serious security implications.
I know all about CreateObject's security risks from a hosting perspective,
but I've never heard of an issue with CFCONTENT (I'm not doubting you, I'm
just curious what the issues are.)
=]
On Tue, Nov 9, 2010 at 11:33
I know all about CreateObject's security risks from a hosting perspective,
but I've never heard of an issue with CFCONTENT (I'm not doubting you, I'm
just curious what the issues are.)
It can be used to download any file that the CF service has permission
to access, including sensitive
Ah, that does make sense. Thanks Dave!
=]
On Tue, Nov 9, 2010 at 11:56 AM, Dave Watts dwa...@figleaf.com wrote:
I know all about CreateObject's security risks from a hosting
perspective,
but I've never heard of an issue with CFCONTENT (I'm not doubting you,
I'm
just curious what the
To Dave's suggestion of replacing createObject w/ cfinvoke - I believe
(stress - believe) other BlogCFC users have done it in the past. It
isn't officially supported by BlogCFC, Inc (aka me) but I believe it
can be done.
On Tue, Nov 9, 2010 at 12:59 PM, Alan Rother alan.rot...@gmail.com wrote:
Right, so parse the text for the ~ words. You can use rematch to get
them easily enough. You can then use that list of words as your body
when you add it to your index.
On Tue, Nov 9, 2010 at 12:27 PM, Mary Jo Sminkey mary...@cfwebstore.com wrote:
What I mean by parsing is that you use the
Right, so parse the text for the ~ words. You can use rematch to get
them easily enough. You can then use that list of words as your body
when you add it to your index.
Well, that would work I guess if they *only* wanted to search for those words,
but they want to be able to search on any of
I believe the issue is with createobject using Java, COM and CORBA and not
create object(component)
From the OP:
CreateObject(COM)
CreateObject(CORBA)
CreateObject(JAVA)
Another option would be http://hostek.com/. They have cheap plans and
support everything except CFREGISTRY and CFEXECUTE. But
I believe the issue is with createobject using Java, COM and CORBA and not
create object(component)
From the OP:
CreateObject(COM)
CreateObject(CORBA)
CreateObject(JAVA)
The problem as I recall is that there wasn't a way to exclude one
specific type of CreateObject call. Again, though,
cfset city = model(Cities).findOne(where=id=#id# AND
some_other_param=#param#)
If you know it should only accept a numeric value, you can just throw in a
Val() function and that will ensure nothing but numbers get passed ( e.g.
id=#Val(id)# ). If you need to allow strings, and can restrict to
Have you tried either fusionReactor or seeFusion? So you can see whats
hanging?
Brook
-Original Message-
From: O Hilton [mailto:ojh...@gmail.com]
Sent: November-09-10 8:33 AM
To: cf-talk
Subject: JNDI threads BLOCKED - server falling over
Hi everyone, this one has had our collective
If you know it should only accept a numeric value, you can
just throw in a Val() function and that will ensure nothing
but numbers get passed ( e.g. id=#Val(id)# ).
For numeric inputs that has been my standard for years:
cfparam name=url.id default=0 /
cfset url.id = abs(val(trim(url.id))) /
. The problem as I recall is that there wasn't a way to exclude one
specific type of CreateObject call.
Actually, you can lock it down by the type: COM, Java, CORBA, .Net (c8 +)
and Webservice or you can disable the entire function.
This is on CF 8 standard so it is server wide. No sandbox
Actually, you can lock it down by the type: COM, Java, CORBA, .Net (c8 +)
and Webservice or you can disable the entire function.
This is on CF 8 standard so it is server wide. No sandbox support on
standard but I assume (a dangerous thing to do with Mr. Watts here ;) ) that
it would behave
without sandboxing (cf enterprise required) if all tags are enabled, any
user can read/write files anywhere on the server. Even if lockdown
procedures arr used, coldfusion will at bare allow all users access to each
others sites even if not the whole server.
Any other customers on the server can
Actually Hostek do not allow everything, they lock down the exact same tags.
And what surprised me was cfdump is one, because of the way it is
implemented.
Regards,
Andrew Scott
http://www.andyscott.id.au/
-Original Message-
From: Gerald Guido [mailto:gerald.gu...@gmail.com]
Sent:
On Tue, Nov 9, 2010 at 9:44 PM, Andrew Scott wrote:
And what surprised me was cfdump is one, because of the way it is
implemented.
cfdump internally uses createObject(java, ...) so it isn't as much
that cfdump iself is disallowed as that you can't use it when Java
objects have been disabled.
On Tue, Nov 9, 2010 at 5:35 PM, DURETTE, STEVEN J (ATTASIAIT) wrote:
my provider restricts a bunch of tags (below)
Most of the restrictions are reasonable for a shared host that wants
to provide a modicum of security. In a properly configured Sandbox
cfcontent, cflog and setProfileStrng could
CreateObject(com) is very dangerous and should never be enabled on a shared
server. DANGER will Robinson.
All the sandbox does is either enable or disable this function, as your
calling a COM object which has nothing to do with JAVA it is run totally
outside of the sandbox permissions. Again it
Yes, but you are assuming commercial hosting. I host my own website
(non-commercial) and the website for a club at the local community
college.
Neither generates money so cost is the issue here. I work at a
corporation doing CF during the day, the stuff I'm talking about is my
free-time
Steve,
If the security/reliability is important to you then you sound like a good
candidate for Open BlueDragon or Railo.
Although to be fair most charity websites fit the shared hosting model just
fine as they are not mission critical or anything.
Russ
On Tue, Nov 9, 2010 at 9:07 PM, DURETTE,
I worded that wrong... It's been a long day.
I have two sites, neither of which generate money. One for my own
personal use and one for a club at the local community college. So 9.95
a month or lower is better for me. What I'm not totally understanding
is I could (if I knew how) use Java
you can use both Java and JSP pages on a coldfusion enabled server.
Use of Java just requires CreateObject(java)
Use of JSP pages just requires the .jsp extension to be enabled on the
server. Although you can use servlets and JSP tag libraries within CFM pages
without anything else being enabled
I'm being brain dead here...
We are using a form textarea to input multiple lines of text (this relates
to my previous post to the cf wrap function and trying to fix this using
string functions instead). Some of the lines will be terminated before the
limit using the enter key. As far as i
Look for:
#(chr(13)##chr(10)#
and
#(chr(13)#
and
#chr(10)#
On Tue, Nov 9, 2010 at 3:28 PM, Eric Roberts
ow...@threeravensconsulting.com wrote:
I'm being brain dead here...
We are using a form textarea to input multiple lines of text (this relates
to my previous post to the cf wrap
What do you want to do. Are you looking to replace with br?
Robert B. Harrison
Director of Interactive Services
Austin Williams
125 Kennedy Drive, Suite 100
Hauppauge NY 11788
P : 631.231.6600 Ext. 119
F : 631.434.7022
http://www.austin-williams.com
Great advertising can't be either/or.
I tried that already and no joy :-(
Look for:
#(chr(13)##chr(10)#
and
#(chr(13)#
and
#chr(10)#
On Tue, Nov 9, 2010 at 3:28 PM, Eric Roberts
ow...@threeravensconsulting.com wrote:
~|
Order the Adobe Coldfusion
You're not finding *any* 13's nor *any* 10's? I've never seen that, I don't
think...
On Tue, Nov 9, 2010 at 3:29 PM, Eric Roberts
ow...@threeravensconsulting.com wrote:
I tried that already and no joy :-(
Look for:
#(chr(13)##chr(10)#
and
#(chr(13)#
and
#chr(10)#
On Tue,
They won't find any unless there is a hard return in the text area field.
Robert B. Harrison
Director of Interactive Services
Austin Williams
125 Kennedy Drive, Suite 100
Hauppauge NY 11788
P : 631.231.6600 Ext. 119
F : 631.434.7022
http://www.austin-williams.com
Great advertising can't be
He wrote, Some of the lines will be terminated before the limit using the
enter key. AFAIK, in a textarea, the enter key creates 13-10, 13, or 10.
On Tue, Nov 9, 2010 at 3:42 PM, Robert Harrison
rob...@austin-williams.comwrote:
They won't find any unless there is a hard return in the text
I am trying to load an array with wrapped lines from the text field. We are
feeding this into a function that takes the text and dynamically puts this in a
graphic via java.
Each element in the array will contain a line that is either wrapped or ended
by a cr/lf when the user hits enter at
That's what I thought too John...I have done similar code to this before and
didn't have issues, so i am at a loss as to what is going on. If I look at
the CF Debugging output, it wraps the form vars in a pre tag and the line
breaks are where they should be.
He wrote, Some of the lines will
What do you get when you do this...?
cfoutput
#Find(chr(13) chr(10), variables.text.string)#
#Find(chr(13), variables.text.string)#
#Find(chr(10), variables.text.string)#
/cfoutput
On Tue, Nov 9, 2010 at 3:47 PM, Eric Roberts
ow...@threeravensconsulting.com wrote:
That's what I
What is the value of the wrap attribute for the TEXTAREA tag??
On Tue, 2010-11-09 at 16:47 -0500, Eric Roberts wrote:
That's what I thought too John...I have done similar code to this before and
didn't have issues, so i am at a loss as to what is going on. If I look at
the CF Debugging
It's not specified.
What is the value of the wrap attribute for the TEXTAREA tag??
On Tue, 2010-11-09 at 16:47 -0500, Eric Roberts wrote:
~|
Order the Adobe Coldfusion Anthology now!
hmand I can't recall the default if not specified.
Anywaysjust something to look at. I know using a value of
physical would add line breaks or carriage returns when wrapping
occurredseem to recall the other 2 value options did something
different.
So if you are seeing text on
I truly understand what you're saying but how these things work it not
consistent which is frustrating. What's really crazy is we have dozens of
Excel download links in our various apps like this example and some work
perfectly with value=inline but most have the undesirable behavior (code
Yes I am fully aware of that, which is why I stated the way it was
implemented.
Regards,
Andrew Scott
http://www.andyscott.id.au/
-Original Message-
From: Jochem van Dieten [mailto:joch...@gmail.com]
Sent: Wednesday, 10 November 2010 7:52 AM
To: cf-talk
Subject: Re: CF Blog
I am running mangoBlog on Railo
http://www.mangoblog.org/
http://www.mangoblog.org/
On 10 November 2010 02:25, DURETTE, STEVEN J (ATTASIAIT) sd1...@att.comwrote:
Thanks, I will look at them (I have no experience with Railo), but I am
pre-paid for a few months, so...
Any ideas on cf
So am I and I have no complaints.
Dave McGraw
Oyova Software, LLC
http://www.oyova.com
On Tue, Nov 9, 2010 at 6:27 PM, AJ Mercer ajmer...@gmail.com wrote:
I am running mangoBlog on Railo
http://www.mangoblog.org/
http://www.mangoblog.org/
On 10 November 2010 02:25, DURETTE, STEVEN J
Hi,
I am running the following cfquery which inserts a large amount of rows into a
table (approx 2200)
cfquery name=insertData datasource=dbname
INSERT INTO parentquestions
VALUES
cfloop index=i from=1 to=#arraylen(questionIDArray)#
cfif i neq 1,/cfif
(cfqueryparam
Mango Blog is great but it won't run on a ColdFusion host that restricts CFC
creation...
On Tue, Nov 9, 2010 at 3:27 PM, AJ Mercer ajmer...@gmail.com wrote:
I am running mangoBlog on Railo
http://www.mangoblog.org/
http://www.mangoblog.org/
I have a file that is creating a CF template using the following code:
cfloop Query=languages
cffile
action = write
*file =
#ExpandPath('/contentFiles/#maxContentID#_#language#.cfm')# *
output = #Evaluate( #language#TEXT )#
I have a file that is creating a CF template using the following code:
cfloop Query=languages
cffile
action = write
*file =
#ExpandPath('/contentFiles/#maxContentID#_#language#.cfm')# *
output = #Evaluate( #language#TEXT )#
Ok, I have the following 2 functions:
!--- test---
cffunction name=test access=public output=No returntype=struct
cfscript
var returnData = structNew();
structAppend(returnData, getTest());//failing here!
returnData.test2 = test2;
/cfscript
cfreturn returnData
/cffunction
!--- test2
Confusing. Your access is public but you can call it via remote Ajax?
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
Ok thanks Dave,
On Tue, Nov 9, 2010 at 8:47 PM, Dave Watts dwa...@figleaf.com wrote:
I have a file that is creating a CF template using the following code:
cfloop Query=languages
cffile
action = write
*file =
It may well depend on the size and number of the strings, since the
main inefficiencies can be piling up of immutable strings and
subsequent GC. And like they say, there's lies, damn lies, and
statistics...
d
On Tue, Nov 9, 2010 at 10:10 AM, Larry Lyons larrycly...@gmail.com wrote:
Yes,
Ii don't think many hosts prohibit CreateObject('component'), they're
after the java/com/corba flavors. CreateObject('java') is mighty
useful though; not sure if Mango uses it or not.
Dave
On Tue, Nov 9, 2010 at 7:36 PM, Sean Corfield seancorfi...@gmail.com wrote:
Mango Blog is great but it
Hi,
I have a client who uses the Sybase Advantage JDBC driver on a CF 7 production
machine. I'm trying to get it to work on a CF 9 system. I copied the
configuration over to the CF 9 entry (after installing the drivers, and then
installing the advantage db server). I'm getting the standard
try replacing your failing line with these 2:
var stuctTest = getTest();
structAppend(returnData, structTest);
Azadi
On 10/11/2010 09:56 , Jessica Kennedy wrote:
structAppend(returnData, getTest());//failing here!
~|
Order
FYI if you are in Oz
We are only allowed to ride Kangaroos on the right side of the curb, as we
drive on the left side of the road, the roos do not get spooked at traffic
coming behind them. I think bike riders have the same laws apply but will
check as roos outnumber bikes over here and
I hear banjos... they're everywhere
-Original Message-
From: Eric Roberts [mailto:ow...@threeravensconsulting.com]
Sent: Monday, November 08, 2010 5:04 PM
To: cf-jobs-talk
Subject: RE: Moving to DC
Don't they call that a Yeehaw! Moment?
-Original Message-
From: Scott Stewart
On 11/8/10 2:59 PM, Maureen wrote:
That is legal in California. I hate it, but apparently there have
been few accidents because of it, and no fatalities.
No offense (seriously), but here's my take on why people hate it. It's
a generalization so please try not to take it too personally.
92 matches
Mail list logo