I got a bunch of emails from a form on a particular site with BCC
[EMAIL PROTECTED] in what appears to be an email injection attack on
the site. (Google the aol address above along with spam and you'll get
tons of hits...)
This is something I've never thought about much, to be honest and up to
Hi
I am starting constructing a form using session variables for multiple
page data entry which works fine.
However I would like to add the facility of a 'SAVE AND RETURN' later
option.
So for example the user can start completing the form but can return at
a later date to complete the form
Thanks very much for all of your help, this makes things a heck of a lot
clearer! :-)
~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
OK, so anybody got any best practice ideas to thwart this sort of thing
using CF?
Hi Les,
I've been seeing these on and off for a week or so. Apart from doing the
standard stuff such as setting the maxlength in the form fields and then
enforcing those lengths with a function call like so
There was a minor error in my function I posted
Replace IS True with GT 0 :)
Paul
~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project
Hello
Im running win2k03 server and cfmx7
Ive written a cfc to do the editing of the metabase.xml file i
require, in order to add domains/mappings/ftp sites etc etc...
however i'm running into a problem that corrupts the xml file.
The problem comes with things like webserver bindings. Somebody
Has anybody ever tried to convert a Coldfusion generated PDF, created via
cfdocument, to a word or RTF format? Does anyone know of any custom tag that
may allow this?
~|
Logware (www.logware.us): a new and convenient web-based
The problem comes with things like webserver bindings. Somebody in
their wisdom decided to make them into a list delimited by some sort
of white space, rather than seperate xml entities, and so when i use
XMLParse() to parse the text into coldfusion readable xml, the
whitespace seems to get
Ryan: I started fiddling with the XML metabase at one point, learned how messy
and compromised the XML is, and decided to just CFEXECUTE .vbs scripts instead.
But I'll definitely be watching to if anyone has suggestions for you.
--
Roger Benningfield
JournURL
http://admin.support.journurl.com/
ok i've looked a bit further, and it seems that the problem is with line feeds
being used as a delimiter and being removed... i understand that XMLParse() is
according to the specs, but surely there must be some sort of work-around for
this?
Ryan: I started fiddling with the XML metabase at
Aha! Yet another implementation of the getRelativePath() function...
:) It makes me think perhaps there should be one native in CF.
This is how my custom tag for building forms TerraForm
does it. There are a couple of gotchas. 1) the order of
the items in the stack trace is reversed between
Thanks guys, much appreciated. :)
I did the same as Bobby with no problems
Stan
All of the repo addresses worked fine for me with
TortoiseSVN repo browser.
I exported a couple just to be sure and everything went
fine.
~Bobby
-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL
an alternative method i guess is this:
regex to replace any carriage returns within xml attribute values with a given
string, and then replace them again for carriage returns before save back?
would anyone be able to write a regex to do this?
ok i've looked a bit further, and it seems that
I am getting this error when I run a CFC from 1 program, but don't get it
when I run it from another. Suggestions?
Calling line:
CFSET objProduct.init(UserKey=UserKey,DBSettings=application.DBSettings) /
Associated code:
CFFUNCTION name=init access=public output=true
Forgot to say on which line. See below. And the Exception Message was
Premature end of file.
_
From: Andy [mailto:[EMAIL PROTECTED]
Sent: Monday, September 05, 2005 9:29 AM
To: cf-talk@houseoffusion.com
Subject: An error occurred while Parsing an XML document
I am getting this
Hi Ian, Here are a few ideas regarding this.
Best deal with session variables within a CFLOCK statement (see docs for
details of possible race conditions) and therefore a useful way to go about
this is to copy any session structures to the request scope on each request.
I have a similar
-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 04, 2005 4:25 PM
To: CF-Talk
Subject: Re: Question about my security system
Here's the problem - what if there is a template called
users.cfm for modifying user accounts. Now that user
I am trying to use the CFX_Excel tag but I keep the error 'Can't start excel'.
I have office 2003 installed on my development server so I am assuming that it
may be permission related. My problem is that I do not what permissions to
assign to excel.exe or who for, does anybody know how I can
Hello,
I'm running into problems cause I'm on a headless Unix system
that runs Coldfusion.
I looked into several components and they all have the same issue
with Java an such system.
I can also run PHP on my server, so now I want to use a php class
to resize images. But how can I call such a
You could possibly run a CFHttp call to a php file, passing all the
relative information as a POST or GET, then get the php file to
display the result, thus allowing you to parse the response?
HTH
On 05/09/05, Bram Plessers [EMAIL PROTECTED] wrote:
Hello,
I'm running into problems cause I'm
Sounds like you've either got no XML content (perhaps you need
CFOUTPUT around the body of your include?), or you've got a tag that
isn't closed somewhere.
cheers,
barneyb
On 9/5/05, Andy [EMAIL PROTECTED] wrote:
Forgot to say on which line. See below. And the Exception Message was
Premature
I am not sure this
I actually DO consider Red Cross a political
organization for several reasons. Although I think it
does good work, and useful work, its become so top
heavy that it often isn't as effective as it could be.
As for my reasons I think its a political
organization, well, here's
Why is it that the JNDI listen port is ALWAYS the problem that
prevents CF from installing? ... I've got a new Win2003 server I'm
trying to install my CF server on and I can't get the webserver
connector to find the listen port... I've checked to make sure there
isn't a firewall, proxy or
do you have SP1 installed already? If so, uninstall CF and uninstall
SP1 and run the installer again. Then reapply SP1.
There's a known installer error w/ SP1 on 2k3
later,
Mike
S. Isaac Dealey wrote:
Why is it that the JNDI listen port is ALWAYS the problem that
prevents CF from
you can try what's in the technote as well, but it didn't work for me:
http://www.macromedia.com/go/228c3aaa
I had to uninstall CF and sp1 then reinstall
mike
S. Isaac Dealey wrote:
Why is it that the JNDI listen port is ALWAYS the problem that
prevents CF from installing? ... I've got a
Thanks for your response.
That's an option, but isn't CF able to communicate
with php or other server side languages on another
level ? ( a tighter integration )
On 9/5/05, JediHomer [EMAIL PROTECTED] wrote:
You could possibly run a CFHttp call to a php file, passing all the
relative
This may be the same problem ive been having, how did you know that it
was a jndi problem?
On 9/5/05, S. Isaac Dealey [EMAIL PROTECTED] wrote:
Why is it that the JNDI listen port is ALWAYS the problem that
prevents CF from installing? ... I've got a new Win2003 server I'm
trying to install my
Webservices maybe...?
On 9/5/05, Bram Plessers [EMAIL PROTECTED] wrote:
Thanks for your response.
That's an option, but isn't CF able to communicate
with php or other server side languages on another
level ? ( a tighter integration )
On 9/5/05, JediHomer [EMAIL PROTECTED] wrote:
You
not sure if this is the exact answer to your question, but when you look
at the install log, you may see any of the following errors:
Ryan Guill wrote:
This may be the same problem ive been having, how did you know that it
was a jndi problem?
On 9/5/05, S. Isaac Dealey [EMAIL PROTECTED]
oops, hit ctrl-enter instead of ctrl-v... Let's try this again:
not sure if this is the exact answer to your question, but when you look
at the install log, you may see any of the following errors:
ANT Script Error:
Status: ERROR
Additional Notes: ERROR -
Assume I have a php class which acts kind a like
a cfc. Can't I use createobject or cfinvoke to interact
with the php class ?
On 9/5/05, Ryan Guill [EMAIL PROTECTED] wrote:
Webservices maybe...?
On 9/5/05, Bram Plessers [EMAIL PROTECTED] wrote:
Thanks for your response.
That's an
Roger: i got it working, i was looking for your email address so i could send
what i have got through to you. IF you email me: [EMAIL PROTECTED], i'll pass
what i have done on...
Ryan: I started fiddling with the XML metabase at one point, learned
how messy and compromised the XML is, and
No, you can't. CF only allows creation of Java, CFCs, web service, and
COM components. If you want to call a PHP class and get data back from
it, calling it as a web service is probably the best route.
On 9/5/05, Bram Plessers [EMAIL PROTECTED] wrote:
Assume I have a php class which acts kind a
Thanks for your clear answer !
On 9/5/05, Brian Kotek [EMAIL PROTECTED] wrote:
No, you can't. CF only allows creation of Java, CFCs, web service, and
COM components. If you want to call a PHP class and get data back from
it, calling it as a web service is probably the best route.
On
Now this is off the wall out of the box thinking here, and I havent
done php in a while, but isnt php built in c++? if so, would it be
*possible* to use a php in a cfx tag? I doubt it very seriously, but
I thought I would throw it out there...
On 9/5/05, Bram Plessers [EMAIL PROTECTED] wrote:
Hello,
I'm trying to make use of cfdirectory.
This is the error I get:
The most likely cause of this error is that the
'/usr/local/psa/home/vhosts//httpdocs/backend/portfolio/qsdfqsd' already
exists on your file system. The exception occurred during a cfdirectory
action=create.
Now this is off the wall out of the box thinking here,
and I havent done php in a while, but isnt php built in
c++? if so, would it be *possible* to use a php in a
cfx tag? I doubt it very seriously, but
I thought I would throw it out there...
Only if you can get the PHP to execute within
Its a really bad idea to develop on windows to host on unix. The file
systems are quite different and is most likely your problem.
But try using the expandPath() function.
-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
Sent: Monday, September 05, 2005 11:30 AM
To: CF-Talk
Subject: RE: Question about my security system
I'm sure that's how entitlements are differentiated in
Jim's apps (message_edit, user_edit, etc).
Nope.
I will do that ;)
I don't really have a choice, it's for some personal websites ...
But yes, it can be a pain to port sometimes.
On 9/5/05, Ryan Guill [EMAIL PROTECTED] wrote:
Its a really bad idea to develop on windows to host on unix. The file
systems are quite different and is most
First question - are you sure cfdirectory is enabled on your host?
Second question - are you sure that the CF user has directory create
rights in that folder?
Third question - are you sure all the characters in the path are valid
for unix filesystem paths?
On 9/5/05, Bram Plessers [EMAIL
I checked the tips from Ryan, but had no success in
removing the error from my script.
If any one else can provide me with some clues,
I would be very thankfull
On 9/5/05, Bram Plessers [EMAIL PROTECTED] wrote:
I will do that ;)
I don't really have a choice, it's for some personal
1/ not 100% sure, but I have used it in the past with success (couple of
years ago) on the same hosting servers
2/ I've set them to 777
3/ example path returned from the error message:
'/usr/local/psa/home/vhosts/mysite.com/httpdocs/backend/portfolio/newfolder'
On 9/5/05, Jerry Johnson
is it possible to see if cfdirectory action=create is enabled on a host ?
On 9/5/05, Bram Plessers [EMAIL PROTECTED] wrote:
1/ not 100% sure, but I have used it in the past with success (couple of
years ago) on the same hosting servers
2/ I've set them to 777
3/ example path returned from
A fews ways I can think of:
Read the marketing material on the hosts website. They usually list
the cf functions disabled.
See if they list a cfdirectory/cffile alternative in the docs (which
most hosts provide if they disable cffile/cfdirectory)
Check the support website/faqs
Put in an email
Barney,
The error was caused by the following line at the start of the highest level
program:
CFSETTING enablecfoutputonly=yes
Not sure why this would cause the error, but when I removed the line,
everything worked fine.
Andy
-Original Message-
From: Barney Boisvert [mailto:[EMAIL
cfsETTING enablecfoutputonly=no works fine...
-Original Message-
From: Andy [mailto:[EMAIL PROTECTED]
Sent: Monday, September 05, 2005 3:56 PM
To: CF-Talk
Subject: RE: An error occurred while Parsing an XML document
Barney,
The error was caused by the following line at the start of the
mail to tech support is on his way
uploading files also fails with a somewhat identical error ...
On 9/5/05, Jerry Johnson [EMAIL PROTECTED] wrote:
A fews ways I can think of:
Read the marketing material on the hosts website. They usually list
the cf functions disabled.
See if they list
template and then let the template know whether or not it can go ahead
and perform the requested entitlement.
I think this is where I'm losing you. I see no difference between groups
and tasks in this.
Ok, I think I figured out where we're getting mixed up. I come from
windows
-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
Sent: Monday, September 05, 2005 11:30 AM
To: CF-Talk
Subject: RE: Question about my security system
I'm sure that's how entitlements are differentiated in
Jim's apps (message_edit, user_edit, etc).
Nope. ;^)
Yep, so it was as I suspected. That CFSETTING tag makes generated
content be ignored unless it's inside CFOUTPUT tags. So the content
of your CFINCLUDE probably isn't inside a CFOUTPUT tag, and is
therefore being ignored, so the CFXML tag doesn't have any content,
and you get the error.
cheers,
I have a number of real estate properties, each associated with one or
more city. If I select by specifying a city then I get a list of unique
properties. But if I do a broader select, then I get duplicates of the
property record when a record is assocuated with two or more cities. How
do I
Aha! Yet another implementation of the getRelativePath() function...
:) It makes me think perhaps there should be one native in CF.
Oh I totally agree there should be.
I believe you need to enable robust exception information in the CF
Administrator before cfcatch will populate the
SELECT DISTINCT p.propertyid, p.name, c.name AS city
FROM property p
INNER JOIN property_city pc ON pc.propertyid = p.propertyid
DISTINCT is all you need.
On 9/5/05, Jim McAtee [EMAIL PROTECTED] wrote:
I have a number of real estate properties, each associated with one or
more city. If I
Technically, you could probably use portable php and somehow mangle it to
work, but I doubt you'd get the performance you want. You're best bet is
probably AMFPHP webservices...
Kevin
- Original Message -
From: Ryan Guill [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent:
SELECT p.propertyid, p.name, min(c.name) AS city
FROM property p
INNER JOIN property_city pc ON pc.propertyid = p.propertyid
GROUP BY p.propertyid, p.name
-Original Message-
From: Jim McAtee [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 6 September 2005 10:31 a.m.
To: CF-Talk
Subject: Query
I think Jim wants to output just one row even if there is more than one
city. So the city that is output is an arbitrary selection from the
associated cities. Your solution still outputs one row for each city.
-Original Message-
From: Ryan Guill [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
oh, I read this:
How
do I limit the select results returned so that I get no more than one of
each property record?
as that he wanted one of each property record.
Jim, what is it exactly that you are after?
On 9/5/05, Matthew Walker [EMAIL PROTECTED] wrote:
I think Jim wants to output just
-Original Message-
From: Mike Soultanian [mailto:[EMAIL PROTECTED]
Sent: Monday, September 05, 2005 5:15 PM
To: CF-Talk
Subject: Re: Question about my security system
Users are then assigned into each of those groups utilizing a
many-to-many relationship. I can then assign groups
Thanks, Mathew. That works. It looks familiar... I remember doing this
before, where it required the use of 'fake' aggregate functions on all
other columns I needed returned by the query, as well as in the ORDER BY
clause. The real query is a little more complicated.
SELECT p.propertyid,
Aha! Yet another implementation of the getRelativePath()
function...
:) It makes me think perhaps there should be one native
in CF.
Oh I totally agree there should be.
I believe you need to enable robust exception information
in the CF
Administrator before cfcatch will populate the
Hello all,
I have been asked by a client who operates an online shop to do the
following:
1. Create a spider/crawler that will crawl and collect pricing information
from a number of competitors sites.
2. Update the clients own database with the information collected
undercutting the competitors
There's an mx_7_install.log file it creates in the cfusionmx directory
that tells you what failed and it indicated the webserver connector...
which never fails for any other reason, or at least, I've never seen
it fail for any other reason.
This may be the same problem ive been having, how did
Thanks Mike, that fixed it. :)
I'd seen the other technote but it didn't look to me from the
description of it not being able to write some files that my problem
was being described, so I hadn't bothered to check the workaround at
the bottom. When you suggested it I went ahead and tried it
Perhaps more elegant
SELECT p.adtype,
p.name,
p.longitude,
p.latitude,
p.address1,
p.address2,
p.city,
p.state,
p.zip,
(
So it worked? I'm still a little fuzzy... :P
Yes it worked. Seems to me that checkbox really only changes what is
displayed in the CF error, not what is gathered.
~|
Find out how CFTicket can increase your company's customer
Yes you can do this in CF, but...
Screen scraping is very fragile. It can be useful, but I wouldn't
recommend attaching it to a live database. Your competitors could change
their template and then suddenly you're selling your products for $0.00.
Will you as the developer be liable?
I would
Thanks.
How do I get started with the monitoring service? Any pointers?
Ben
- Original Message -
From: Matthew Walker [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, September 06, 2005 12:10 PM
Subject: RE: CF Spider/Screen Scrape
Yes you can do this in CF,
Im not the familiar with namespace usage in xml. When trying to us mx 7 to
parse this im getting this message:
The prefix xmlns cannot be bound to any namespace explicitly; neither can
the namespace for xmlns be bound to any prefix explicitly.
Not sure what these means in plain English. Should
-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
Sent: Monday, September 05, 2005 5:35 PM
To: CF-Talk
Subject: RE: Question about my security system
Here's the functional difference:
I've provided an application to someone else (not myself), and I've
built in
First you might want to start by having permission from the site owner of
the page your scraping which isn't as easy as a phone call :)
I would use CFHTTP and then search through the page for the specific name
of the products your looking for and the price. It's a lot easier to scrape
a page
Thanks for the explanation. I didn't know why.
Andy
-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Monday, September 05, 2005 4:31 PM
To: CF-Talk
Subject: Re: An error occurred while Parsing an XML document
Yep, so it was as I suspected. That CFSETTING tag
hey Ray, whats the best way to add the username password variables to galleon.
Basically, when I install it I of course get the error message because I need
those variables and of course I could figure something out but just curious to
if thats already being done.
thanks
~Dave the
So it worked? I'm still a little fuzzy... :P
Yes it worked. Seems to me that checkbox really only
changes what is
displayed in the CF error, not what is gathered.
I'm still a bit confused... if it wasn't providing the necessary
tagcontext array data before you checked it and then when you
Let me rephrase
The code I posted earlier works regardless of the Enable Robust
Exception Information setting. This setting does not affect the
availability of context and stack trace in cfcatch data.
The Enable Robust Exception Information setting only seems to affect
what is displayed as
That's odd... I remembered not getting any tagcontext information with
it disabled... maybe that's not true across all versions... but that's
why I was suggesting it as a possible fix for the one situation in
which you'd said one of your clients didn't seem to be getting
tagcontext data and so the
This may help, but you need to be able to use regular expressions
http://www.eswsoftware.com/library/scraping.cfm
-Original Message-
From: Matthew Blatchley [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 6 September 2005 12:45 p.m.
To: CF-Talk
Subject: Re: CF Spider/Screen Scrape
First
Nice and free...the best kind!
- Original Message -
From: Matthew Walker [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, September 05, 2005 10:38 PM
Subject: RE: CF Spider/Screen Scrape
This may help, but you need to be able to use regular expressions
78 matches
Mail list logo