Maybe it would be possible to do this with the vspider? Or run a
scheduled httrack task?
--
Hugo Ahlenius
-
Hugo Ahlenius E-Mail: [EMAIL PROTECTED]
Project OfficerPhone: +46 8 412 1427
UNEP GRID
[For some reason my original post didn't go through (I think because I
digitally sign my email). It had a typo anyway, so apologies if the original
finally comes through to the list.]
Exactly Right Dave.
Joelle,
In your base class, add something like this:
You can set the this.userType upon
Great idea Mike! Turned out to be a pretty elegant solution. Here's what I did
to make it work...
#myxml#")>
>According to XMLSpy, this is a well-formed document until you add
>multiple nodes.
>
~|
Message: htt
According to XMLSpy, this is a well-formed document until you add
multiple nodes.
So, when you read this file into a variable, you should be able to just
add a new top-level node that encompasses the multiple nodes.
Then, you should be able to parse the XML file into an actual XML object
in Cold
I'm trying to parse a file for a school district that is supposed to be XML,
but it's not well-formed. Does anyone here have experience parsing files like
this? The format is something like this:
xxx
xxx
Chapter 34 Reading Quiz
5
asdfasdf
6,5,14,38,5,5,15,38,5
Brad Wood wrote:
> The val() function returns an integer. Text cannot be converted to an
> integer and will output a 0.
Yup - that was the problem.
I don't need to be working 16 hours straight, huh? I start to forget
what I'm doing...
With sandboxing and no cfobject (java) tag, this can be done with
reasonable safety.
On 5/9/06, Bryan Stevenson <[EMAIL PROTECTED]> wrote:
> > Especially as a lot of clients put their username/passwor dinto the
> > DSN , which means everyone else on the server can get into their database
> > anyw
Hi Guys,
The script you are after is
http://support.microsoft.com/kb/889696/en-us
(Run this script at your own risk, and pls test it on a dev server before
running on a prod server)
it only works on SQL 2000.
I don't think they is one for 2005, haven't had much time to play with 2005
yet.
By de
Our Development/Staging/QA/whatever-you-want-to-call-it mirrors
Production exactly.
CF settings, JVM settings, OS settings, Apache settings. It has to.
(OK you can get away with the odd discrepency).
Now true, we won't have external users hitting this environment, but
we still have to load test i
> Well as I have all our servers locked down I can't actually check to see how
> far you can get with the default configuration.
> I know you can see everyone elses databases, and I'm sure you can also open
> the database and view the tables.
> Just because you cannot do this at CFD, does not mean
It is nothing to do with guest user, databases do not have this by default,
as stated, this is the known default behaviour of SQL server and EM and
Microsoft released a stored proc to update themaster table to stop users
seeing others users DB's. You can easily test this yourself, by creating a
new
Well as I have all our servers locked down I can't actually check to see how
far you can get with the default configuration.
I know you can see everyone elses databases, and I'm sure you can also open
the database and view the tables.
Just because you cannot do this at CFD, does not mean it is not
To tune the server and CF for high usage, multiple sites, large amounts of
traffic, lots of memory usage, security etc.
A development server will happily run with CF installed with the default
settings as you will not be running hundreds of sites with millions of
visitors, nor will you be generati
You may want to try
GROUP BY client.id, client.company
Instead of GROUP BY company
-Original Message-
From: Eric J. Hoffman [mailto:[EMAIL PROTECTED]
Sent: Monday, May 08, 2006 3:50 PM
To: CF-Talk
Subject: Better Way to Query?
Not getting good results from this:
SELECT COUNT (c
The val() function returns an integer. Text cannot be converted to an
integer and will output a 0.
~Brad
-Original Message-
From: Les Mizzell [mailto:[EMAIL PROTECTED]
Sent: Monday, May 08, 2006 4:44 PM
To: CF-Talk
Subject: Looping through Fields
When testing, form is sending...
strNAME
I think this occurs when databases have a user with the name of guest.
Databases without a user named guest should not have their objects or
even their database names exposed. If you have a user in your database
named guest, delete that user and your database should not be visible
to others thru EM
When testing, form is sending...
strNAME1, numCOST1 (test values Bob, 300)
strNAME2, numCOST2 (test values John, 400)
strNAME3, numCOST3 (test values Robert, 500)
and however many total there my be as defined by #form.intTravelerCount#
I've done a cfdump and confirmed that the fields are getti
Crow T. Robot wrote:
> Yea, other than that. :)
>
> That would be an interesting site, though. Boatloads of fun to maintain!
Not hard at all, just do it client-side: write a small javascript
function and hook it to the onclick event of every anchor. Won't
catch those without Javascript, but i
Yea, other than that. :)
That would be an interesting site, though. Boatloads of fun to maintain!
Jochem van Dieten wrote:
> Ray Champagne wrote:
>> Is there any other way to use session variables without setting client
>> cookies or passing the CFID/CFTOKEN in the URL for every page?
>
> Pas
Ray Champagne wrote:
> Is there any other way to use session variables without setting client
> cookies or passing the CFID/CFTOKEN in the URL for every page?
Pass themn through a form :)
Jochem
~|
Message: http://www.houseoff
Yea, and I should mention that there is no chance of being able to use
J2EE vars on the server, either.
Charlie Griefer wrote:
> i want to say no.
>
> but invariably somebody's going to come along with some hoity toity
> java method that passes them thru the ether.
>
> we'll see :)
>
> On 5/8/
> Is there any other way to use session variables without
> setting client cookies or passing the CFID/CFTOKEN in the URL
> for every page?
No, either one or the other is required. Well, theoretically, you could
ensure that only forms are used for page navigation, and pass it via HTTP
POST, but
i want to say no.
but invariably somebody's going to come along with some hoity toity
java method that passes them thru the ether.
we'll see :)
On 5/8/06, Ray Champagne <[EMAIL PROTECTED]> wrote:
> Is there any other way to use session variables without setting client
> cookies or passing the CF
Is there any other way to use session variables without setting client
cookies or passing the CFID/CFTOKEN in the URL for every page?
--
Ray
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239855
Archives: http://w
test
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239854
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffus
I need to setup a simple cart. Very similar to the cart cfmsource is
using.. http://www.cfmsource.com/listitems.cfm?contentnbr=46
Mainly I'm looking for item list/quantity ordering. I don't need pictures.
Category support is needed however. I'll probably integrate with
authorize.net but I can
Just throw a DISTINCT in the count, and you should be ok...
> SELECT COUNT (DISTINCT customer_orders.corder_id) as TOTOT,
> client.company
--
Jim Wright
Wright Business Solutions
[EMAIL PROTECTED]
919-417-2257
~
Not getting good results from this:
SELECT COUNT (customer_orders.corder_id) as TOTOT,
client.company
FROM
customer_orders
JOIN
customer_orders_prod on customer_orders.corder_id =
customer_orders_prod.order_id
JOIN
The problem I have with this is I'm not the one putting these links on the
page. There are users who uses a content management system that enters in the
content for the website. I want to avoid making the users use ColdFusion code
b/c they don't understand it and it will complicate things for
That helped a ton. I was haveing SQL Writers Block lol.
On 5/7/06, Jochem van Dieten <[EMAIL PROTECTED]> wrote:
>
> Richard Dillman wrote:
> >
> > Children are featured in various special publications at least 3 of
> which i
> > need to track their appearances. Ill need to output
> > the public
> Ok, that makes sense. So is there an instanceof method in CF
> or something similar to tell you what class was used to
> create your object.
You can use GetMetaData() to find this out.
> Also, can you create an interface with CFC's, and then
> implement that interface with another class? (Li
Sorry Snake but this isn't correct. Seeing the DB names in EM is one
thing. Being able to get down to the object level (tables, stored procs,
or views) is not the norm. I just signed into my shared CFDynamics DB
server and can see a boatload of other DBs but I can't see any of their
tables or a
The problem I have with this is I'm not the one putting these links on the
page. There are users who uses a content managment system that enters in the
content for the website. I want to avoid making the users use Coldfusion code
b/c they don't understand it and it will complicate things for t
Snake wrote:
> Like everything.
> There is a big difference to hosting a production server with hundreds of
> sites on it and millions of hits per day and running a development server
> with 1 developer on it and no traffic.
There is indeed a big difference in what you must do (like make
backups)
Dave Watts wrote:
>that's
>probably not the worst thing going on in a shared hosting environment.
Agreed. Luckily these are both dedicated servers. Only the SQL server
component is shared. I was already lobbying for a dedicated box with MSDE/SQL
Express running on it.
~~~
I have a pure CF solution. email me if interested.
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239843
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.c
Matt Robertson wrote:
>
> Before I completely blow a gasket I wanted to confirm this is as big of a
> screwup as I think it is. There is an easy fix for this right?
The fix should be under REVOKE in the manual.
Jochem
~|
Mess
We have clients who are entering broken links into their site, then
their bosses write to us and complain about the dead links. Of course,
we try to explain that this is not our doing, but it really falls on
deaf ears. I'd love a nice little app that could spider all links on
the site and ema
Also, can you create an interface with CFC's, and then implement that interface
with another class? (Like other OOP languages)
~Brad
No not directly. See the writings of Hal Helms and others on why this is not
so good for CF.
--
Ian Skinner
Web Programmer
BloodSource
www.BloodSo
I think they probably never really got the point of my initial support
request. I haven't tried cfstoredproc yet because none of my clients sites
use it, but there is definitely a problem with cfqueryparam, and sql server
on my account at least. but The following query
SELECT *
FR
Ok, that makes sense. So is there an instanceof method in CF or
something similar to tell you what class was used to create your object.
Also, can you create an interface with CFC's, and then implement that
interface with another class? (Like other OOP languages)
~Brad
-Original Message---
Is there some automated way to report broken links in a client's site?
It has to be automated, not like Xenu. It also has to be able to run on
a shared server.
We have clients who are entering broken links into their site, then
their bosses write to us and complain about the dead links. Of co
Yep, we have done the modification so users cannot see others databases,
but most don't.
As I have mentioned b4, it's a tossup with shared hosting, if you want cheap
hosting and to be able to do what you like on the server without
restriction, then you have to accept the lack of security that com
> When it comes to MSSQL and EM I am strictly a user. Don't
> know much about the server's care and feeding. With that out
> of the way:
>
> Are there any sort of consequences to doing this that might
> make them not want to perform that action? I certainly don't
> miss not having this func
This is not a security hole at crystatech, it is simply how enterprise
manager/sql server works.
It does not restrict you from viewing other databases, but you cannot do
anything with them if your user does not have access.
There is a modfication you can make to the master database SP's to chang
Dave Watts wrote:
>This would require that their DBA revoke the "public" group
>role throughout the server, if I recall correctly.
When it comes to MSSQL and EM I am strictly a user. Don't know much about the
server's care and feeding. With that out of the way:
Are there any sort of consequenc
3rd post, new subject line, haven't seen the first two come through . .
..
We have a request from someone who shares our server to create _80_
scheduled tasks for a reporting application. Each scheduled task would
create a single report and save it as an htm file so it doesn't have to
be created o
I have a client who uses Intermedia.net, and that is the way it works for
them. You can see the other databases in the EM, but can't access the
objects.
I don't think this is entirely correct. You should be able to see a list of
> other databases by default, but you should not be able to see objec
> So I assume that you use session.currentUser to hold EITHER a
> manager object OR a worker object.
>
> This may be a stupid question since I don't have a lot of oop
> experience, but is it bad form to use the same variable name
> to store two different types of objects? That seems so
> cr
andy wrote:
>But what if you have a raxio button or a checkbox? How do you indicate if a
>field is required? How do you perform validation on fields of a certain type?
OK I get it. Thats going to be fun. When I did something similar I used
standard html form fields. Individual field validation
> We've had this conversation on this list before, and yes what
> you saw is true. If I remember right, it's a weakness of SQL
> Server, not CrystalTech. Well, except for the fact that
> Crystaltech allows remote connections using EM (a lot of
> hosts don't allow this). I also think someone p
Yes this can be solved (don't ask me how though).and yes that is a pretty
SERIOUS screw-up on their part.
The ISP I use does show you all other DBs on the shared server, but you cannot
connect to any of themso no seeing the tables and so on...just DB
namesso it is doable.
Cheers
B
They probably meant (or should have said) that GoDaddy don't support
, which does run sp_prepexec for each result specified. It's
pretty inefficient, but I think there is probably no other way to do
multiple result sets through JDBC. This is the exact reason why I don't like
and don't use cfstoredp
Yikes! This is true for my accounts also.
Let us know what happens.
Matt Robertson wrote:
> After signing onto a new client's SQL Server account, first on one dedicated
> server and then another, I found I could not only see several other databases
> belonging to other customers... I could cli
We've had this conversation on this list before, and yes what you saw is
true. If I remember right, it's a weakness of SQL Server, not
CrystalTech. Well, except for the fact that Crystaltech allows remote
connections using EM (a lot of hosts don't allow this). I also think
someone posted a method
So I assume that you use session.currentUser to hold EITHER a manager
object OR a worker object.
This may be a stupid question since I don't have a lot of oop
experience, but is it bad form to use the same variable name to store
two different types of objects? That seems so create the problem y
After signing onto a new client's SQL Server account, first on one dedicated
server and then another, I found I could not only see several other databases
belonging to other customers... I could click on the Tables tab and see all of
their tables. Taking it a step further, I could double-click
Quoting Mark Henderson <[EMAIL PROTECTED]>:
Mark...
That method works great if you have all text fields, or dropdowns, or textareas.
But what if you have a raxio button or a checkbox? How do you indicate if a
field is required? How do you perform validation on fields of a certain type?
I'm writi
As far as I know, CF doesn't have a built in "instanceOf" operator or
method. The way to get around this might be to have a public property for
objects Ex.:
SESSION.CurrentUser.InstanceOf()
Which would return, as a string, something like "manager" or "worker".
...
Ben Nadel
listlast(getMetadata(obj).name,".")
probably more efficient to have a getType() function in each cfc though.
then perhaps a user.equals(anotherobj) function which utilises it e.g.
return if(arguments.obj.getType() eq this.getType())
-Original Message-
From: Joelle Tegwen [mailto:[EMAIL
I have a User.cfc, Manager.cfc and Worker.cfc. Manager and Worker extend
User.
I would like to be able to test whether an instantiated object is a
Worker or a Manager.
Something like
But I don't know what "isObjectType" is really called :)
Can I do this or do I need isWorker and isManager fu
Correct: Enterprise Edition takes out all all the stops...(and kicks butt
compared to Crystal and other "Enterprise Class" Java-based reporting engine
report generation, in our internal tests prior to CF7 ship).
Standard Edition is effectively single-threaded for doc and report generation.
Any
That's correct, and actually I simplified it a bit (removed one
character from the regex):
> -Original Message-
> From: Uwe Degenhardt [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 08, 2006 9:40 AM
> To: CF-Talk
> Subject: Re[2]: supression of / and/or \
>
> Hi Jacob, thanks. (and than
Hi Jacob, thanks. (and thanks all the others, who replied !)
When I want a "?" to escape as well would it be like:
?? Uwe
MJ> I get wanting to remove the "/", but you also want all the back slashes
from your path? Here's how to remove the forward slashes:
MJ>
MJ> If you what to remove both
>>> On Mon, May 8, 2006 at 4:04 PM, in message
<[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> Hi list,
> I want to supress
> a "/" or a "\" in an cfhttp.FileContent output like in:
safeFile=rereplace('[/\/]','','ALL');
I think - whatch the escaping on the reg. exp :-)
Tom Chiverton
***
Look at the date it was sent???
Jesus... I'm so done with this it's ridiculous.
!k
-Original Message-
From: Todd Rafferty [mailto:[EMAIL PROTECTED]
Sent: May 8, 2006 8:09 AM
To: CF-Talk
Subject: DEAD TOPIC - LEAVE IT ALONE: cf-talk is weird =)
Kevin,
As far as I'm concerned, my
I get wanting to remove the "/", but you also want all the back slashes from
your path? Here's how to remove the forward slashes:
If you what to remove both at the same time:
> -Original Message-
> From: Uwe Degenhardt [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 08, 2006 9:04 AM
>
What kinds of problems are you having? Have you tried just replacing out the
character?
...
Ben Nadel
www.bennadel.com
-Original Message-
From: Uwe Degenhardt [mailto:[EMAIL PROTECTED]
Sent: Monday, May 08, 2006 11:04 AM
To: CF-Talk
Subject: supression of / and/or \
Hi list,
I want to supress
a "/" or a "\" in an cfhttp.FileContent output like in:
--
Error attempting to write data to target file
'x:\test\customer\cfdocs\sem\1\ljslkjl, H. / Götter Herrscher Inschriften.htm'.
-
the "/" in
I see posts come up all the time about how to access Index Server. I wrote an
article on this years ago back in CF 5 when COM objects worked pretty well. I'm
not sure how well a lot of these will still work, but I found this by doing an
Ego google search on my name. http://cfregex.com/cfcomet/
That was it. It didn't occur to me that I would need to reference the
folder name.
Thanks
Joelle
Matt Williams wrote:
> What does the component that has newProjectCreated() have for an argument?
> If its type is simply "Project", then it must be in the same directory as
> the Project.cfc. Otherw
Sorry for the test. Messages I send to cf-talk thru email aren't appearing so
I'm trying through the HOF site . . .
George
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239807
Archives: http://www.houseoffusion.com
Kevin,
As far as I'm concerned, my off-topic email that started this died last
Friday until you bumped it that afternoon. Because the fact that you bumped
it, it's now here, Monday morning, just as you left it. Maybe you should
consider that. It was a one off conversation that was dying, until
>> Sending out email as HTML with a Form. Form to pass variables
>> to action file. Email form looks fine, but the submission
>> doesn't pass the form fields to action file.
>
>Does the form's ACTION attribute contain a fully-qualified URL?
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figlea
I think it is also dependant on what your doing on the server.
Single site, prob no issues.
Multiple sites (i.e. shared hosting), that's when u have more problems.
-Original Message-
From: Denny Valliant [mailto:[EMAIL PROTECTED]
Sent: 08 May 2006 12:34
To: CF-Talk
Subject: Re: ASP.Net
On 5/8/06, Robertson-Ravo, Neil (RX) <[EMAIL PROTECTED]>
wrote:
>
> I have to agree - I still think CF5 was more stable that MX. Java
> certainly did add a few more oddities in terms of stability which needs
> far
> more tweaking of the JVM.
Oddly, 6.1 did much better for us, and 7 has been eve
Ok, well I assume your customers are all smallfry and wouldn't actually
notice/care if u killed the server running some untested code that caused an
infinite loop or somehting then.
-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]
Sent: 08 May 2006 10:00
To: CF-Talk
Subj
Yep...no problem...
Rick
-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: Monday, May 08, 2006 4:45 AM
To: CF-Talk
Subject: RE: ASP.Net book for CF programmer
You develop directly on your live server !! :-O !!!
Do I really need to say anything?
Snake
-Origin
You develop directly on your live server !! :-O !!!
Do I really need to say anything?
Snake
-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]
Sent: 08 May 2006 00:48
To: CF-Talk
Subject: RE: ASP.Net book for CF programmer
Sounds like you got things set up well
I have to agree - I still think CF5 was more stable that MX. Java
certainly did add a few more oddities in terms of stability which needs far
more tweaking of the JVM.
-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: 07 May 2006 00:29
To: CF-Talk
Subject: RE: ASP.Net b
80 matches
Mail list logo