Re: Invisible Scheduled Task

2012-02-06 Thread Dain Anderson

We had this very same problem, and removing it from the neo-cron.xml file
was the only way to get rid of it.

-Dain

On Thu, Feb 2, 2012 at 1:43 PM, Matthew Gersting wrote:

>
> Hey, all - thanks for the ideas.  I ended up manually going through the
> neo-cron.xml file for all our many, many instances and finally found it -
> it was in a very old instance that had been re-purposed a long time ago.
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349780
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Do people still name their UPDATE, INSERT & DELETE queries?

2011-03-15 Thread Dain Anderson

Agreed, we do this as well. I'm more or less concerned with a more "in
general," as a concept.

It sounds like it's unnecessary and safe to remove. Thanks for everyone's
help.

-Dain


On Tue, Mar 15, 2011 at 10:40 AM, Phillip Duba  wrote:

>
> I do purely for debugging purposes. This way I can dump the resultset, with
> the new features in 8 and 9, and see exactly what is going on with the
> query
> in the form of parameters, generated SQL, etc.,
>
> Phil
>


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343039
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Do people still name their UPDATE, INSERT & DELETE queries?

2011-03-15 Thread Dain Anderson

I may have missed conversation of this over the years, so I figured I would
ask.

What's the current "take" on this (old?) practice? If I have a CFC function
that deletes a record, and that CFC contains a single query, do you find it
necessary to scope that query with a name?




delete mah stuff...



I've been refactoring some CFCs and ran into some named deletions and
thought this seemed odd to name them -- thoughts?

-Dain

………
*Dain M. Anderson
*Lead Developer
Terra Dotta, LLC
501 W. Franklin Street, Suite 105
Chapel Hill, NC 27516
Phone/Fax: 877-DOTTA-77 (877-368-8277)
http://TerraDotta.com 

Re: I think I'm confused...

2011-02-24 Thread Dain Anderson

I was under the impression you were wanting to test different domain
settings, locally, and the method I mentioned allows you to quickly switch
between one domain to the next by just changing the aliased CGI variable.
This approach has nothing to do with your hosts file though, so I'm not sure
if we're on two different paths here.

-Dain



On Thu, Feb 24, 2011 at 9:59 AM, Rick Faircloth wrote:

>
>
> However, it doesn't avoid the manual entry of the above code for
> every local domain name, does it?  Or what am I failing to understand?
>
> Rick
>
>


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342571
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: I think I'm confused...

2011-02-24 Thread Dain Anderson

One technique for this is to alias the CGI variables you use:



And when you're developing locally, you can set that value as something else
to mimic the host you want to simulate.






Then, you would fetch host-specific settings, etc, based on the aliased
value.




select iaccountid from #schema#sa_accounthosts
where vchhost = 


...then fetch settings for the account.


This type of setup can be used to have multiple host aliases for a single
account. A good example of this would be host1.domain.com and
host2.domain.com, but wanting them to share account data.


select vchhost from #schema#sa_accounthosts
where bDefault = 
and iaccountid = 



   



FYI, we use this type of setup for over 50 domains (some with multiple
hosts) running on a single code root.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342556
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: IE8 Form Submit button not being passed

2011-02-23 Thread Dain Anderson

The problem with your form is that you have a form element named "submit":

name="Submit"

Try changing that to something other than "Submit" and it should work.

HTH,
-Dain


On Wed, Feb 23, 2011 at 9:07 AM, Michael Grant  wrote:

>
> I know I've run into this before with someone's legacy app. I generally
> don't use the form.submit so it hasn't been an issue in my own code. I
> think
> IIRC it has something to do with whether the submit button is clicked or if
> the enter key is used to submit the form. Sorry if this is a red herring,
> it's been a while.
>
-- 

………
*Dain M. Anderson
*Lead Developer
Terra Dotta, LLC
501 W. Franklin Street, Suite 105
Chapel Hill, NC 27516
Phone/Fax: 877-DOTTA-77 (877-368-8277)
http://TerraDotta.com 

Re: Linkage Error - attempted duplicate class definition for name

2011-02-22 Thread Dain Anderson

I wonder if there's a way to load class files into the template cache
manually. If so, perhaps you could clear your cfclasses, enable trusted
cache, load all class files into trusted cache, and at this point all files
would be in memory, never again creating a class file that could conflict
with your existing files. You would need to ensure the "Maximum number of
cached templates" value was set high enough to hold all of your templates in
memory.

On another note, as I'm not sure this was clear, but clearing trusted cache
doesn't remove class files -- it removes the contents of those class files
from the memory cache. Upon the next request, the class file is read from
disc (if it exists; if not, it re-compiles it) back into the cache.

-Dain


On Tue, Feb 22, 2011 at 11:12 AM, Bobby Hartsfield wrote:

>
> Well, we thought we were finally rid of this one by disabling the "Save
> Class Files" setting in the CFAdmin but we just had another report of the
> error.
>
> Short of a rewrite in java or the like, if anyone has any ideas at all, I'd
> love to hear them.
>


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342480
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: string function???

2011-02-21 Thread Dain Anderson

I'm curious what exactly you're trying to do, which might reveal a better
way of doing it.

Are you trying to replace variable placeholders so that you can evaluate the
code chunk?


On Mon, Feb 21, 2011 at 1:24 PM, Richard White  wrote:

>
> thanks dain, this has made me realise i really need to know more about
> regular expressions, as i could have another string that has now() instead
> of the parenthesis:
>
> 
>
> have played around with the expression you suggested to pick up anything
> between the datediff() as then i can run the rematch from example above,
> although my attempts have all failed so far...
>
>


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342472
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: string function???

2011-02-21 Thread Dain Anderson

You could use something like this:








HTH,
-Dain

On Mon, Feb 21, 2011 at 12:32 PM, Richard White  wrote:

>
> hi, what if I had a string such as:
>
> 
>
> ... and wanted to only get the values enclosed in parenthesis that exist
> inside the datediff() part of the string? so effectively the returned array
> would include only {name2} and {name3}
>
> this must be possible with the rematch that you have already helped me
> with, but i cannot seem to understand how to change the regular expression
> to make it return these results
>
> thanks for the help
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342468
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: COM Object Method Not Found (Cybersource)

2005-02-09 Thread Dain Anderson
Hi Joseph,

The RunTransaction() method, apparently, wants actual object references, 
even if they're "nothing":


oMerchantConfig = CreateObject("COM", "CyberSourceWS.MerchantConfig");
oProxyConfig = CreateObject("COM", "CyberSourceWS.ProxyConfig");
oLogger = CreateObject("COM", "CyberSourceWS.Logger");
oClient = CreateObject("COM", "CyberSourceWS.Client");
oRequest = CreateObject("COM", "CyberSourceWS.Hashtable");

oRequest.Value("ccAuthService_run", "true");
oRequest.Value("billTo_firstName", "Dain");
oRequest.Value("billTo_lastName", "Anderson");
oRequest.Value("billTo_street1", "501 W Franklin St.");
oRequest.Value("billTo_street2", "Suite 105");
oRequest.Value("billTo_city", "Chapel Hill");
oRequest.Value("billTo_state", "NC");
oRequest.Value("billTo_postalCode", "27514");
oRequest.Value("billTo_country", "US");
oRequest.Value("billTo_email", "[EMAIL PROTECTED]");
oRequest.Value("card_accountNumber", "4111");
oRequest.Value("card_expirationMonth", "12");
oRequest.Value("card_expirationYear", "2010");
oRequest.Value("purchaseTotals_currency", "USD");
oRequest.Value("item_0_unitPrice", "8.08");
oRequest.Value("item_1_unitPrice", "19.73");

nStatus = oClient.RunTransaction(oMerchantConfig, oProxyConfig, oLogger, 
oRequest, "varReply", "strErrorInfo");  

WriteOutput(nStatus);


Hope that helps,

-Dain


Joseph Potenza wrote:
> I am working with Cybersource (such a pain!) and I took their ASP code and
> re-wrote it line by line in CF, and I got SO close to making it 
> work..They have a COM object CyberSourceWS.Client that has a method 
> "RunTransaction" that does a credit card transaction.  All my calls to 
> methods in their other objects were actually calling "get properties" as 
> CFDUMP calls them.  The only things listed under a CFDUMP for the  
> CyberSourceWS.Client object are Methods, which I would assume means I can 
> call them using myComponentName.Method()  or by using CFINVOKE.  Neither of 
> these methods work;  they both produce this error: " The
> selected method RunTransaction was not found"
> 
>  An interesting item to note is that the ASP code is passing in previously
> created components into this method call.  When I try that  it throws this
> error: " An exception occurred when executing a Com method.
>  The cause of this exception was that: AutomationException: 0x8000 - ."
> 
>  The code for that part is as follows:
> 
>  oClient = CreateObject("COM","CyberSourceWS.Client");
>  oClient.RunTransaction(merchantConfig, "", "",oRequest,varReply,strErrorInfo)
> 
>  (where merchantConfig and oRequest are both previously created components )
> 
>  Any ideas?  I've been going crazy over this searching google, google groups, 
> and macromedia forums.
> 
>  Joe Potenza
>  Lead Developer
>  Bigbuzz Internet Business Solutions
>  [EMAIL PROTECTED]
>  http://www.bigbuzz.com
> 
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193976
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


SOT: Flash Remoting over SSL on XP SP2 and MSIE 6

2004-10-12 Thread Dain Anderson
A co-worker of mine (our Flash guy) is having a problem that I thought 
perhaps someone here may have experience with, since we're running CF. 
Sorry for the slightly off-topic post:

"Flash Remoting over SSL works fine in Firefox and Netscape, but in MSIE 
   on Windows XP SP2 it returns: code: "NetConnection.Call.Failed" and 
description: "HTTP: Failed", and in the Flash IDE it says "Error opening 
URL..."  Has anyone figured out a way to get Flash Remoting to work over 
SSL in MSIE?"

If you have any ideas, it would be greatly appreciated.

Thanks,

-Dain
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: why can't they log in? post II

2004-10-12 Thread Dain Anderson
We had a similar issue a while back that was caused by (something) that 
was changing users' CGI.REQUEST_METHOD from POST to GET on our login 
page. Try building a small "sniffer" (that logs this information upon 
unsuccessful login) that records this variable -- if it is being reset 
to GET, that might be your problem. We read something about the HTTP 
status 302 (moved temporarily) redirect issues, but it still didn't help 
much.

Unfortunately, we weren't able to able to nail down the _real_ cause of 
this, but we did notice that it was happening primarily with IE (5, 5.5, 
and 6) on Windows XP. We built a script that told the user that 
(something) was causing this, perhaps browser, firewall, etc., and that 
until it was fixed, they would have to use an alternative browser to login.

Sorry that's not a great deal of help, but it might get you in the right 
direction to a remedy.

-Dain
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CF Comet FTP Info

2004-06-15 Thread Dain Anderson
Archive: http://www.houseoffusion.com/lists.cfm/link=i:4:17---Hi Mike,

Well, still no luck. I really hate bugging you with all of this!

Here's what I have:

Host: 64.74.114.235
User_ID: cfcomet
PW: Great_Dain
Port: 21
Mode: Passive
Remote Folder: /cfcomet

I've tried different case-sensitivity scenarios with the UN/PW, Active 
mode, removed the remote folder, still with no luck :-( I can connect to 
all of my other FTP destinations ok, so I've run out of things to try.

Any way you could just Zip or Rar the site up and send it to me at this 
address? I sure do appreciate anything you can do for me.

Thanks again, and I promise I'll try not to bug you anymore!

-Dain

Michael Dinowitz wrote:
> Try 64.74.114.235
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Thank you page after download

2004-06-11 Thread Dain Anderson
You can put another CFHEADER, just before the others:





-Dain

Dave Francis wrote:

> Hi,
> 
> In CF 5.0, to download a file to the user I have a page that 
> consists only of
> 
> 
> 
> 
> which downloads very nicely. But now I'd like to present a "Thank 
> you" page when download has finished (or even when it starts!). Can this 
> be done?
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Right() and string manipulation help

2004-06-11 Thread Dain Anderson
This is a pretty simple _expression_, and I would doubt the additional 
processing needed is noticeable. The reason I suggested it is because 
it's the only sure-fire way of grabbing just the number, irregardless of 
the preceeding value, respectfully.

George Abraham wrote:

> Is that better performance/resource-wise? Using regular expressions, 
> that is?
> 
> George
> 
> At 11:39 AM 6/11/2004, Dain Anderson wrote:
>  >You could use a little RegEx to do that:
>  >
>  >
>  >#REReplace(i, "[^0-9]", "", "ALL")#
>  >
>  >
>  >-Dain
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Right() and string manipulation help

2004-06-11 Thread Dain Anderson
You could use a little RegEx to do that:


#REReplace(i, "[^0-9]", "", "ALL")#


-Dain

cf coder wrote:

> Hello everybody,
> 
> Please can someone show me how to do this. I have a
> comma separated list.
> 
> 
> item_id11, item_id12, item_id13.
> 
> I want to loop through this list and get the
> character(s) after the "item_id" (in this case:
> 1,2,3,11,12,13)
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: cffunction help needed (re performance issue)

2004-06-11 Thread Dain Anderson
I would personally turn that UDF file into a CFC, then invoke it with 
CreateObject() instead of including it. Unfortunately, you'd have to 
prefix your function calls with the object name you give it, but I think 
this would be much less intensive on server load.

-Dain

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

> I have inherited a CFMX application where there is a huge page of 
> queries that are each wrapped in a function.  That udf file is then 
> included in every page.  We've got resource and performance issues but 
> I've got the problem that management wants to forge ahead with things as 
> is (while dealing with the performance issues) and I'm not able to 
> explain things where it comes to performance.  Can someone help me 
> explain why one huge page with all your queries wrapped in a function is 
> bad for performance.  Or correct me if it's not bad.  Also, there are so 
> many little things that I wonder if it's hitting performance like the 
> cfargument tags required attributes are all using 'true' or 'false' 
> instead of 'yes' or 'no'.  Would things like that cause a delay?
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: SPOT: Regular Expressions

2004-06-09 Thread Dain Anderson
Oops, helps if I read the question:

REFind("^[a-z]", Arguments.UserID)
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: SPOT: Regular Expressions

2004-06-09 Thread Dain Anderson
REFind("[A-Z]", Arguments.UserID)

Ken Ketsdever wrote:

> I need a regular _expression_ to find any charcter that is not a lower 
> case letter.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Controling spider access

2004-06-03 Thread Dain Anderson
You could use the META tag for robots:



I'm sure there are other solutions, but this might get you going in the 
right direction.

-Dain

[EMAIL PROTECTED] wrote:

> My company has an affiliate program set up with other webmasters.  The
> webmasters put a banner on their site that links to ours with a unique
> referral ID.  The problem we are having is that several search engines are
> spidering these other sites and then following the links from them to our
> site.  This way, it looks like the web site is sending traffic to our site.
> This is a problem.  What we would like to do is catch this type of activity
> and keep it from being recorded in the database for that web site.  We've
> thought up some clunky solutions, but I thought I would ask in case someone
> knows of an elegant way to handle this.
> 
> Todd
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Is an empty query object still a "good" query object?

2004-06-01 Thread Dain Anderson
Jeff Small wrote:

> But useful, in sofar as you could build a little check 
> myQuery.recordcount GT 0> and it would work...

Correct me if I'm wrong, but when an empty query object is returned from 
a CFC, and then you check for RecordCount, it throws an error stating 
"recordcount does not exist for 'x' query". This isn't the case with a 
normal CFQUERY.

The workaround I've used is this (from within a CFC):


   
 SELECT  *
 FROM    myTable
 WHERE   Some_Value = '#Arguments.SomeValue#'
   

   
 
   

   


This correctly returns an empty query object. I'm not sure why CFCs do 
this, but this is what I've found at any rate.

-Dain
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: functions

2004-05-28 Thread Dain Anderson
You can use CFFUNCTION in MX:


 
 
 
 


-Dain

Daniel Kessler wrote:
> <
> 
> I have a set of code in CF that I use four times in a script.  It
> could easily be a function with an in/out but I've yet to see
> functions in CF, mostly scripts.  I don't want to do anything special
> by making it external or making it nice enough to give to others.  I
> just want a callable/reusable function:
> 
> function myFunction(some_passed_var){
> 
> 
> return pv
> }
> 
> Is there something similar in CF?
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Regex problem

2004-05-27 Thread Dain Anderson
Use two double quotes:

REReplaceNoCase(clean, "[^a-z0-9.!?'/\- ""]", "", "all")

Phillip B wrote:

> I have this _expression_ and it works great.
> REReplaceNoCase(clean, "[^a-z0-9.!?'/\- ]", "", "all")
> Now I need to add a " to it with out it causing an error. How do I do that?
> 
> Phillip B
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: How many class files do YOU have?

2004-04-09 Thread Dain Anderson
Here's something pretty scary: I've got 4,105 on my localhost, and 
there's 4,107 on our server. Dangit, better go find the two different ones!

:-)

-Dain

Brook Davies wrote:
> Anyhow, I have 6,591 class files in my class folder taking up about 80
> megs. So, I am curious now how many class files ya'll have on your servers?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Slightly OT: Window Icon for IE Windows (not favicon, the icon for the window frame)

2004-03-11 Thread Dain Anderson
In IE 5+, you can use something called an HTA (HTML Application) that 
allows you to specify an icon.

Here's an example (taken from MSDN library):

   
  APPLICATIONNAME="myApp"
	 BORDER="thin"
	 BORDERSTYLE="normal"
	 CAPTION="yes"
	 ICON="graphics/face01.ico"
	 MAXIMIZEBUTTON="yes"
	 MINIMIZEBUTTON="yes"
	 SHOWINTASKBAR="no"
	 SINGLEINSTANCE="no"
	 SYSMENU="yes"
	 VERSION="1.0"
	 WINDOWSTATE="maximize"
   >

All you do is put this in your HEAD tags.

HTH,

-Dain

Katz, Dov B (IT) wrote:
> A friend of mine asked me an interesting technical question  for which I
> have no answer, so I figured i'd ask the group.
> 
> 
> If someone pops up a new window (assume MSIE 5/6+), is there any way to
> specify the icon to use for the window itself instead of the blue "ie"
> icon?   Even if by some sort of hack, or vb scripting magic?
> 
> 
> Just wondering if there's some good information I can give him..
> 
> 
> I'm not looking for favicon, / page icon, but rather, the actual "Window
> Icon" itself, which appears on the taskbar, etc..
> 
> 
> Thanks in advance
> -Dov
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Form Fields Disappearing

2004-03-03 Thread Dain Anderson
Burns, John wrote:

> Any chance it's a certain version or IE?  Is it only in one application
> or one certain form?  Maybe there's something with the syntax of the way
> you structured your form that certain browser versions have issue with.
> 
> John

Recently, we had something very similar happen. What we found was the 
CGI variable "REQUEST_METHOD" was being changed from POST to GET. Check 
that first.

If it is in fact getting changed to GET, that partially explains why 
your FORM variables are "disappearing". With a bit of research, we found 
that there are a few browsers that misinterpret at 303 (Redirection/See 
Other) header return code as a 302 (Moved Temporarily). Some user agents 
erroneously change the CGI REQUEST_METHOD from POST to GET as a result, 
and data isn't accessible as FORM data.

In our situation, we're using FuseBox, so there are lots of redirects 
happening with POST operations. The people who were having this happen 
had the IE 5.5 browser, but I suspect there are other user agents that 
are affected by this.

Currently, we haven't found a workaround/solution.

Hopefully, this will help a little.

-Dain
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Another Homesite+ Question -- SOLVED

2004-02-10 Thread Dain Anderson
Thanks for your guys' help -- after playing around with setting after setting, I found the root cause of this error.

Under:

Options > Settings > Auto-Backup

If you have "Auto-Backup on Save" checked, it seems to cause a massive slow-down when saving (3-4 seconds+).

Unchecking that box makes it fast once again, and makes me happy once again :-)

Thanks!

-Dain

-Original Message-
From:	Tony Weeg [mailto:[EMAIL PROTECTED]
Sent:	Tue 2/10/2004 2:02 PM
To:	CF-Talk
Cc:	
Subject:	RE: Another Homesite+ Question
are you saving to a network drive? or to a local drive?

I have all that validation off, I save to local drive, FAST, save to network
drive, SLOW

tw 

-Original Message-
From: Dain Anderson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 10, 2004 11:12 AM
To: CF-Talk
Subject: Another Homesite+ Question

I've been using Homesite+ v5.5, and it seems like certain files take 3-4
seconds to save, while others save instantaneously (all are .cfm files). I
can reproduce it on specific files 100% of the time, and it happens on about
75% of all files. 

I recall this being an issue a long time ago with CF Studio (4.5?), and I
recall an updater being released (4.5.2?) -- has anyone else had this
problem with Homesite+ 5.5? If so, do you know how to fix it?

At first, I thought it might be due to CVS and the way it locks down files,
but I've tested it in non-CVS areas and it still occurs. 

Any help would be greatly appreciated.

-Dain
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Another Homesite+ Question

2004-02-10 Thread Dain Anderson
I've been using Homesite+ v5.5, and it seems like certain files take 3-4 seconds to save, while others save instantaneously (all are .cfm files). I can reproduce it on specific files 100% of the time, and it happens on about 75% of all files. 

I recall this being an issue a long time ago with CF Studio (4.5?), and I recall an updater being released (4.5.2?) -- has anyone else had this problem with Homesite+ 5.5? If so, do you know how to fix it?

At first, I thought it might be due to CVS and the way it locks down files, but I've tested it in non-CVS areas and it still occurs. 

Any help would be greatly appreciated.

-Dain
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: COM Object Misery

2003-11-04 Thread Dain Anderson
Hi John,

Give this a shot:


  #search_stuff[place]#


-Dain

-Original Message-
From:	John Stanley [mailto:[EMAIL PROTECTED]
Sent:	Tue 11/4/2003 11:18 AM
To:	CF-Talk
Cc:	
Subject:	COM Object Misery
Wrong subject in last postsorry about that

Hello everyone. Okay I got connected to my COM object. I can view individual
server properties or results from methods that are simple objects. What I
cannot do is view the results from a Complex Object Type like the
"search_stuff " variable below. I know there is a CFMX bug that does not
allow the cfdump tag to be used in this instance, but whatever method I try
gives me either the cannot display Complex Objects error message or the
there is no method called Item MX bug (Bug # 44527). I think I can do this
with a loop, but am unsure how to proceed  because I dont know what
delimiters are being used. I have tried to test to see if the object is an
array using ArrayLen and got the following error (Object of type class
coldfusion.runtime.com.ComProxy cannot be used as an array), so that's out.

 
So i tested the object as a structutre using the isStruct function and it
came back with "Yes".

 
So then I created a structure loop:

 

  #place#
 

 
and get the good old error (java.lang.NoSuchMethodException: There is no
method called Item.)

 
So cold fusion recognizes the object as a structure, but cannot, at least in
the syntax I am using display it's contents. 

 
There has got to be a way to display this COM data in CF.

 
See my code below for reference.




 
name="miler">
 

 







 




 


 
#this_id##this_name##version##valid##errorcode##numregio
ns##debuglevel##defaultregion##this_trip.ID##testing#

  #place#
  



 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFLAP Issue: /

2003-10-07 Thread Dain Anderson
Hi James,

 
I'm glad it worked out! I'll have to make a personal note about that, since I do some freelance work with CFLDAP from time-to-time.

 
Thanks,

 
-Dain

	-Original Message- 
	From: James Blaha [mailto:[EMAIL PROTECTED] 
	
	

	Dain,
	
	I just wanted to say thank you so much! It turns out that the forward 
	slash is not a documented special character for SUN however when being 
	passed to the DN it must be escaped.
	
	-JB
	
	
	
	
	    
	
	
	    
	#replace(variables.URL_StartString,"#chr(47)#","#chr(92)##chr(47)#", 
	"ALL")#>
	
	
	
	
	
	
	
	    NAME="MyLDAPQuery"
	    SERVER="#REQUEST.LDAP_Server#"
	    PORT="#REQUEST.LDAP_Server_Port#"
	    ATTRIBUTES="#REQUEST.LDAP_Attributes#"
	    MAXROWS="#REQUEST.LDAP_Server_MaxRows#"
	    TIMEOUT="#REQUEST.LDAP_Server_Timeout#"
	    START="#variables.StartString#"
	    SCOPE="OneLevel"
	    SORT="ou ASC"
	    SORTCONTROL="nocase">
	

	


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFLAP Issue: /

2003-10-03 Thread Dain Anderson
Hi James,

This is a wild shot, but try adding quotes around the value:

START="ou=""Newly Enrolled U/G Students"",ou=Center For Academic
Excellence,ou=White Pages,o=WhitePages"

Eventhough the / character isn't considered to be "special" according to RFC 1485, your LDAP server may have a special meaning for it. Just for kicks, I'd also add the DELIMITER="," attribute to your CFLDAP tag.

If neither of those work, try doing a \/ or \\ in the value, just in case your server recognizes two of the more common delimiting methods.

Hope it works!

-Dain

-Original Message-
From:	James Blaha [mailto:[EMAIL PROTECTED]

I would like to update my post. I've ruled out the URL encoding issue. 
For some odd reason my issue now seems to be when the forward slash is 
passed through the START attribute.

Are there any CFLDAP coders here.. help please..

We are running a Sun One Directory Server 5.2 on a Win2K Server and CFMX 
on Win2k with IIS.


NAME="MyLDAPQuery"
SERVER="#REQUEST.LDAP_Server#"
PORT="#REQUEST.LDAP_Server_Port#"
username = "xxx"
password = "xxx"
ATTRIBUTES="#REQUEST.LDAP_Attributes#,wppayclass"
MAXROWS="#REQUEST.LDAP_Server_MaxRows#"
TIMEOUT="#REQUEST.LDAP_Server_Timeout#"

START="ou=Newly Enrolled U/G Students,ou=Center For Academic 
Excellence,ou=White Pages,o=WhitePages"

SCOPE="subtree"
SORT="sn,givenname" 
SORTCONTROL="nocase">

Regards,
James Blaha



 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: oracle newbie

2003-09-19 Thread Dain Anderson
You may need to prefix the table name with the correct schema:

SELECT shp_id, spr_nr, loc_cd, pkg_id, csn_na, xcp_cd, act_cd, asn_ir
FROM MySchema.tbl_shp 
WHERE asn_ir IS null

-Dain

-Original Message-
From:   Stephenie Hamilton [mailto:[EMAIL PROTECTED]
Sent:   Fri 9/19/2003 3:19 PM
To: CF-Talk
Cc: 
Subject:oracle newbie
ok, i am having trouble with a simple query.
in oracle worksheet, this produces 11 records (what it should be)

SELECT shp_id, spr_nr, loc_cd, pkg_id, csn_na, xcp_cd, act_cd, asn_ir
FROM tbl_shp 
WHERE asn_ir IS null

but the same statement in CF produces 0 records...
this is the first time i have played with oracle, so am i just having
a bad brain day or what?
~~
Stephenie



~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137732
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: sot: i think im gettin hacked - LIKELY SOLUTION

2003-04-03 Thread Dain Anderson
Tony,

Sony has a notice on their site for that particular model (PCV-RX450).
Apparently, some of those machines came with FUJITSU MPG3409AT E disk
drives, which have been known to easily fail. Sony is offering free
replacements:

http://www.ita.sel.sony.com/support/news/hdd.html

I'd bet that's what's causing your problem.

-Dain


- Original Message -
From: "Tony Weeg" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, April 03, 2003 11:47 AM
Subject: RE: sot: i think im gettin hacked


> its literally a siren.
> like an ambulance or something like that, or fire or police, one sound,
> wp wooop wooop like
> what people talked about with the ambulance virus, but that one had the
> distinction of an ambulance
> racing across the screen
>
> sorry this is off topic, but you all may run into this someday...
>
> ...tony
>
> Tony Weeg
> Senior Web Developer
> UnCertified Advanced ColdFusion Developer
> Information System Design
> Navtrak, Inc.
> Mobile workforce monitoring, mapping & reporting
> www.navtrak.net
> 410.548.2337
>
> -Original Message-
> From: Tony Weeg [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 03, 2003 11:41 AM
> To: CF-Talk
> Subject: RE: sot: i think im gettin hacked
>
>
> if I turn my speakers down, using the knob, not my system sound...it
> goes away, its not coming from the box,
> ive taken it offline, and after a reboot, it comes right back, after
> like 2 minutes
>
> ...tony
>
> Tony Weeg
> Senior Web Developer
> UnCertified Advanced ColdFusion Developer
> Information System Design
> Navtrak, Inc.
> Mobile workforce monitoring, mapping & reporting
> www.navtrak.net
> 410.548.2337
>
> -Original Message-
> From: Ben Densmore [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 03, 2003 11:27 AM
> To: CF-Talk
> Subject: Re: sot: i think im gettin hacked
>
>
> More than likely that siren sound is coming out of your system speaker,
> not
> your regular speakers. There are some systems that do give off a siren
> sound
> as it is POSTing. Have you changed your cpu or memory recently?
>
> Ben
>
> ---Original Message---
>
> From: [EMAIL PROTECTED]
> Date: Wednesday, April 02, 2003 10:35:35 PM
> To: CF-Talk
> Subject: sot: i think im gettin hacked
>
> can anyone please tell me if you have
> ever had a strange siren sound off on your
> machine, outta nowhere...even after a restart...i dont
> have lockdown or anything like that running, i do have
> xp, and i do have my xp firewall enabled...
>
> thanks!
>
> .tony
>
> tony weeg
> [EMAIL PROTECTED]
> www.revolutionwebdesign.com
> rEvOlUtIoN wEb DeSiGn
> 410.334.6331
>
>
>
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: How to fire a macro in Excel through COM

2001-08-07 Thread Dain Anderson

YC,

Um, yeah. Why would I write an article about something that I haven't done
before, and that doesn't work? :-)

As for code, that's the beauty of firing macros through COM to Excel (or any
Office App) -- CF doesn't have to do the dirty work; rather, Excel does the
dirty work and CF doen't crash: It's a win-win situation.

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/


- Original Message -
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, August 07, 2001 12:12 PM
Subject: How to fire a macro in Excel through COM


> hi,
> Has any one really done something like
http://www.cfcomet.com/cfcomet/Excel/index.cfm?ArticleID=E1943E88-13F6-43B3-
9C
> FE474494C63A5B
>
> before, and does it works?
>
> if anyone has already done that already, do u mind to share you code with
me.
>
> Thank you very much
>
> YC
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: More RegEx Help

2001-07-27 Thread Dain Anderson

John,

Try this:


 bad chars found


To search for a space, just enter a space in the class containers.

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/



- Original Message -
From: "John Barleycorn" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, July 27, 2001 12:56 PM
Subject: More RegEx Help


> I seem to be having a problem searching for a space using RegEx. This is
> what i'm using:
>
> 
> bad chars found
> 
>
> but it doesn't find any of the chars i'm looking for if i include "[ ]".
If
> i remove that part, it finds what i'm looking for. Does anyone know why
this
> doesn't work? Thanks for the help.
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Regular Expression Help

2001-07-27 Thread Dain Anderson

John,

Your assumption is correct. The part that may have confused you originally
is that POSIX-style character classes (ie, [:punct:]) are surrounded by
brackets and colons, in addition to the bracket set that defines the entire
character class, such as [[:alpha:][:punct:][:cntrl:]] etc...

Numeric charcter classes are special in that you can use a hyphen for any
range of numbers, such as [0-9], [0-3], [3-7], etc. which emcompass every
number in that specific range.

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/



- Original Message -
From: "John Barleycorn" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, July 27, 2001 1:39 AM
Subject: Re: Regular Expression Help


> Dain, thank you very much. Is it safe to assume then that anything else i
> want to search for can be added by placing the definition inside another
> pair of brackets?
>
> REFindNoCase("[[:Alpha:][0-3][ ][:Punct:]]", myString)
> (added [0-3] and [ ] to find a space)
>
> thanks.
>
> >From: "Dain Anderson" <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: CF-Talk <[EMAIL PROTECTED]>
> >Subject: Re: Regular Expression Help
> >Date: Thu, 26 Jul 2001 21:02:45 -0400
> >
> >John,
> >
> >You almost had it (too many brackets):
> >
> >
> >  Alpha characters or punctuation were found.
> >
> >  No alpha characters or punctuation found.
> >
> >
> >If you need to get the position of the first occurance of these
characters,
> >use subexpressions:
> >
> >
> >
> >
> > >"True")>
> >
> >
> >
> >  Characters found at position: #something.pos[1]#
> >
> >
> >  No alpha characters or punctuation found.
> >
> >
> >Dain Anderson
> >Caretaker, CF Comet
> >http://www.cfcomet.com/
> >
> >
> >
> >- Original Message -
> >From: "John Barleycorn" <[EMAIL PROTECTED]>
> >To: "CF-Talk" <[EMAIL PROTECTED]>
> >Sent: Thursday, July 26, 2001 6:42 PM
> >Subject: Regular Expression Help
> >
> >
> > > Hello, i'm having some trouble using regular expressions. i read the
> >book
> > > and looked up examples, but unfortunately, i can't seem to solve my
> >problem.
> > > i've written code that checks to see if there is either a letter or a
> > > punctuation mark in a string, but it's not returning results properly.
> > > here's the code:
> > >
> > > 
> > >
> > > and my return value is always zero. can anyone tell me how this should
> >be
> > > written so that i works? thanks for your help.
> > >
> > > oh, forgot one thing, i also need to check to see if there are any
> >spaces
> > > inside the string. that's something i also don't know how to do.
thanks
> >a
> > > lot.
> > >
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Regular Expression Help

2001-07-26 Thread Dain Anderson

John,

You almost had it (too many brackets):


 Alpha characters or punctuation were found.

 No alpha characters or punctuation found.


If you need to get the position of the first occurance of these characters,
use subexpressions:








 Characters found at position: #something.pos[1]#


 No alpha characters or punctuation found.


Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/



- Original Message -
From: "John Barleycorn" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, July 26, 2001 6:42 PM
Subject: Regular Expression Help


> Hello, i'm having some trouble using regular expressions. i read the book
> and looked up examples, but unfortunately, i can't seem to solve my
problem.
> i've written code that checks to see if there is either a letter or a
> punctuation mark in a string, but it's not returning results properly.
> here's the code:
>
> 
>
> and my return value is always zero. can anyone tell me how this should be
> written so that i works? thanks for your help.
>
> oh, forgot one thing, i also need to check to see if there are any spaces
> inside the string. that's something i also don't know how to do. thanks a
> lot.
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: cfexecute through multiple dirs

2001-07-24 Thread Dain Anderson

Hi Will,

How about using a batch file through CFEXECUTE that does the handy work for
you?

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/



- Original Message -
From: "W Luke" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, July 24, 2001 7:13 PM
Subject: cfexecute through multiple dirs


> Hi,
>
> I need to run an external program to make a mass modification of about
> 70-100 files, all contained in a tree of about 10 directories.  The
program
> has a number of basic syntaxes, but can only execute one file at a time,
for
> example:
>
> program.exe filetoread.doc newfile.doc
>
> Let's say the files are contained in folder A - I need somehow to output
the
> files to folder B.  Ideally this would then be run nightly as part of
> cfschedule.
>
> Any ideas where to start on this?
>
> Thanks
>
> --
> Will
> new media discussion for Berkshire -=- http://bnm.lukrative.com
> local classifieds -=- http://www.localbounty.com
> e: [EMAIL PROTECTED]  icq: 31099745
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Macromedia Cold Fusion Community Manager

2001-07-24 Thread Dain Anderson

Actually, http://www.intrafoundation.com has the TCPClient2 for free, which
I've successfully used for NNTP operations -- it's extremely easy to use,
and I'd be happy to post code if anyone is interested; or, contact me
off-list and I'll set you up.

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/


- Original Message -
From: "Michael Dinowitz" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, July 24, 2001 2:10 PM
Subject: Re: Macromedia Cold Fusion Community Manager


> Fuseware.com had setup an NNTP mirror of CF-Talk that's current. I can ask
> them to do a mirror of CF-Community. I had planned to do full mirroring of
> all the lists to NNTP but the financing never came through.
> There are archives for the community list at:
> www.houseoffusion.com/archive
> [EMAIL PROTECTED]/
> The first one is missing a few features which are going in but is
immediate
> while the second has more features but can lag a little.
>
>
> > Matt Brown wrote:
> >
> > > Michael Dinowitz wrote:
> > >
> > > > That's actually the way it was set up. In actuality, insane
community
> stuff
> > > > (with some important things) is on community and the macromedia
> related
> > > > cf-community stuff can sometimes be found on cf-partners. I like to
> try and
> > > > keep the CF-Talk to tech only if at all possible.
> >
> > Michael is there now or will there be an NNTP interface to CF-community?
> There is too much noise there to parse
> > through it as mail. Any ideas?
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Define and Call UD-Functions

2001-07-11 Thread Dain Anderson

Patrick,

You can place the function inside the request scope:


(no parentheses on the function name, since it's a key in the Variables
scope)


Or, you can use the Caller scope as well:



Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/



- Original Message -
From: "Wagner Patrick" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, July 11, 2001 11:25 AM
Subject: Define and Call UD-Functions


> Hi there!
>
> I just started playing around with the UserDefined-functions in CF5 and
> found a strange issue making it nearly impossible to
> get any value of it.
>
> For example when defining "global"-functions in the application.cfm there
> seems to be no way to use these in a "sub"-called customtag.
> Is there a possiblity to reference the function created on top within the
> customtag without defining it new?
>
> Or simply, is there a way to make the functions available in the
> request-(scope)?
>
>
> Best Regards
>
> Patrick Wagner
> Application Engineer
> conceptware ag
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFCONTENT Problem

2001-06-10 Thread Dain Anderson

Give this a shot:




Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/



- Original Message -
From: "Rich Z" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, June 10, 2001 4:17 PM
Subject: CFCONTENT Problem


> I'm sure this problem has been addressed before, but here it is:
>
> I'm trying to make a file available for download through CFCONTENT. The
> cfm page send.cfm looks like this::
>
> 
>
> The problem is, instead of sending that file, it sends the right file
> but it names it send.cfm instead of the actual file name.
>
> Any idea how to resolve this?
>
> Thanks,
> Rich
>
>
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Pulling email

2001-06-09 Thread Dain Anderson

Howie,

Oops. It should work now :-)

Thanks,

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/



- Original Message -
From: "Howie Hamlin" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, June 10, 2001 1:50 AM
Subject: Re: Pulling email


> Your link doesn't seem to work...
>
> Regards,
>
> Howie
>
> - Original Message -
> From: "Dain Anderson" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Sunday, June 10, 2001 1:09 AM
> Subject: Re: Pulling email
>
>
> > Brian,
> >
> > I built a tag (and updated it today!) that parses emails, URLs and
UNC/File
> > paths into active hyperlinks. You can download the tag for free w/source
at:
> >
> > http://cfcomet.com/cfcomet/utilities/CF_LinkFinder_v1-1.zip
> >
> > Dain Anderson
> > Caretaker, CF Comet
> > http://www.cfcomet.com/
> >
> >
> > - Original Message -
> > From: "Brian Thornton" <[EMAIL PROTECTED]>
> > To: "CF-Talk" <[EMAIL PROTECTED]>
> > Sent: Friday, June 08, 2001 8:25 PM
> > Subject: Pulling email
> >
> >
> > > I need to be able to pull the context of a [EMAIL PROTECTED] or
> > applicable email address.
> > >
> > > ANyone know of anything?
> > >
> > >
> > >
> > >
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Pulling email

2001-06-09 Thread Dain Anderson

Brian,

I built a tag (and updated it today!) that parses emails, URLs and UNC/File
paths into active hyperlinks. You can download the tag for free w/source at:

http://cfcomet.com/cfcomet/utilities/CF_LinkFinder_v1-1.zip

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/


- Original Message -
From: "Brian Thornton" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, June 08, 2001 8:25 PM
Subject: Pulling email


> I need to be able to pull the context of a [EMAIL PROTECTED] or
applicable email address.
>
> ANyone know of anything?
>
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: HTML Question

2001-06-09 Thread Dain Anderson

Tony,

Try:


Caption
Text


Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/



- Original Message -
From: "Tony Hicks" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Saturday, June 09, 2001 7:24 PM
Subject: HTML Question


> There is a tag with a syntax like:
>
> Text
>
> I've seen it on a page but can't remember the tagname... it outputs
something like:
>
> Caption--
> | Text  |
> -
>
> Anyone seen it?
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: UUID and CFtoken

2001-06-09 Thread Dain Anderson

Small world :-)

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/


- Original Message -
From: "John Wilker" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, June 08, 2001 11:42 PM
Subject: RE: UUID and CFtoken


> LOL. I work with Tamara :-)
>
> J.
>
> John Wilker
> Web Applications Consultant
> Macromedia Certified ColdFusion Developer
>
> www.red-omega.com <http://www.red-omega.com>
>
> Pepsi's "Come Alive With the Pepsi Generation" translated into "Pepsi
Brings
> Your Ancestors Back From the Grave" in Chinese.
>
>
> -Original Message-
> From: Dain Anderson [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 07, 2001 9:58 PM
> To: CF-Talk
> Subject: Re: UUID and CFtoken
>
>
> John,
>
> The following thread may help:
>
> http://cfcomet.com/?ThreadID=31495CFB-038B-45F2-A9618CD6929CDA09
>
> Dain Anderson
> Caretaker, CF Comet
> http://www.cfcomet.com/
>
>
>
> - Original Message -
> From: "John Wilker" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, June 07, 2001 11:28 PM
> Subject: UUID and CFtoken
>
>
> > Hi guys, a fellow developer at my office is working on changing over
> CFtoken
> > to use the standard 9 digit int, plus a uuid. The online docs had one
> small
> > paragraph and didn't offer any thing useful, really.
> >
> > We're wondering if anyone has used this method and how it worked out.
Also
> > she saw a few postings elsewhere mentioning that using the UUID you had
to
> > use the registry to keep the tokens instead of a DB, any truth to that?
> >
> > Much thanks
> >
> > J.
> >
> > John Wilker
> > Web Applications Consultant
> > Macromedia Certified ColdFusion Developer
> >
> > www.red-omega.com
> >
> > Pepsi's "Come Alive With the Pepsi Generation" translated into "Pepsi
> Brings
> > Your Ancestors Back From the Grave" in Chinese.
> >
> >
> >
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: UUID and CFtoken

2001-06-08 Thread Dain Anderson

John,

The following thread may help:

http://cfcomet.com/?ThreadID=31495CFB-038B-45F2-A9618CD6929CDA09

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/



- Original Message -
From: "John Wilker" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, June 07, 2001 11:28 PM
Subject: UUID and CFtoken


> Hi guys, a fellow developer at my office is working on changing over
CFtoken
> to use the standard 9 digit int, plus a uuid. The online docs had one
small
> paragraph and didn't offer any thing useful, really.
>
> We're wondering if anyone has used this method and how it worked out. Also
> she saw a few postings elsewhere mentioning that using the UUID you had to
> use the registry to keep the tokens instead of a DB, any truth to that?
>
> Much thanks
>
> J.
>
> John Wilker
> Web Applications Consultant
> Macromedia Certified ColdFusion Developer
>
> www.red-omega.com
>
> Pepsi's "Come Alive With the Pepsi Generation" translated into "Pepsi
Brings
> Your Ancestors Back From the Grave" in Chinese.
>
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: REFindnocase - Parsing URL's (spidering)

2001-06-03 Thread Dain Anderson

Jon,

Here is some code I've used in the past to parse/spider URL's (using CFHTTP,
but you can use whatever means you want).


http://www.allaire.com/";>








  





  

  



/* Set a Boolean flag for exiting our loop. */
Exit = false;

/* Starting position for our search. */
Start = 1;

/* Set a pointer to our CFHTTP.FileContent data. */
Page = CFHTTP.FileContent;

/* Build a table for output. */
WriteOutput("HREFText");

/* Loop through our data in search of hyperlinks. */
while(NOT Exit) {

/* Match any occurence of a URL. */
  Match = REFindNoCase(






"([[:print:]]
+)", Page, Start, TRUE);

/* If a URL is found. */
  if (Match.pos[1]) {

/* Get the destination of the hyperlink. */
  HREF = Mid(Page, Match.pos[2], Match.len[2]);

/* Get the text description of the hyperlink. */
  Text = Mid(Page, Match.pos[3], Match.len[3]);

/* Output the results in a new table row. */
  WriteOutput("#HREF##Text#");

/* Increment the starting position for the next match. */
  Start = Match.pos[1] + Match.len[1];

/* If no more matches are found, exit the loop. */
   } else Exit = true;
}

/* Finish the table by closing it. */
WriteOutput("");


Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/


- Original Message -
From: "Jon Hall" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Saturday, June 02, 2001 6:16 PM
Subject: Re: REFindnocase - Parsing URL's


> Simple, just delete the the first line and change the name of your
variable
> to 'h'.
>
> This program only parses out the whole  tag though. In order
to
> get just the actual url, I'd probably just stick all of the parsed href
tags
> in another array then parse for href=.
>
> I am actually going to extend this program to do this anyway. So I'll make
a
> follow up post with the modified source. I really just needed to do this
for
> a one off program, and it has kinda morphed into something a little more,
> simply since it's a challenge ;-)
> If you have access to irc, I will be idling in #coldfusion on efnet. /nick
> flux0
>
> jon
> - Original Message -
> From: "W Luke" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Saturday, June 02, 2001 5:22 PM
> Subject: Re: REFindnocase - Parsing URL's
>
>
> > Jon,
> >
> > How might I change this to searching inside a variable that contains the
> > text, and not a file as you have done?
> >
> > Will
> >
> >
> > --
> > Will
> > Free Advertising-=- www.localbounty.com
> > e: [EMAIL PROTECTED]  icq: 31099745
> >
> >
> > - Original Message -
> > From: "Jon Hall" <[EMAIL PROTECTED]>
> > Newsgroups: cf-talk
> > Sent: Saturday, June 02, 2001 9:57 PM
> > Subject: Re: REFindnocase - Parsing URL's
> >
> >
> > > Wow, now this is too much of a coincidence. I just opened up my email
> > > program to post a message saying I had just successfully written a
> program
> > > that parses url's out of a document, and was just wondering if anyone
> had
> > a
> > > better way to do it. Well here is how I did it.
> > >
> > > If anyone knows of a faster way I am definately interested. I imagine
> > > regular expressions would be much faster...
> > > Cfscripting this would most likely make it faster too, but for
> readability
> > I
> > > am leaving it in regular cfml for now.
> >
> >
> >
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CF5 and UDF's

2001-06-02 Thread Dain Anderson

> Now I am thinking about building a wizard like my custom tag wizard that
> will let you go in an package all of your functions into a library by way
of
> a custom tag. What d-ya think.

Hey, have at it :-)

Have you seen the Common Function Library Project yet?

http://www.cflib.org/

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/






~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: LDAP and binary files

2001-06-02 Thread Dain Anderson

Dimitar,

You could try something like the following, which requires two steps. The
first page uses a .cfm file as the source of an image, passing it the user's
'uid' value. The second page (the one that queries the LDAP server) uses
CFCONTENT and the query result to form the proper MIME type of 'image/jpeg'
that gets returned to Page1.cfm.

As a note, some jpegs use the image/pjpeg MIME type (photoshop).

Page1.cfm:



Ldap.cfm:




#Test.jpegphoto#

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/


- Original Message -
From: "Dimitar Michailov" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, June 01, 2001 1:23 PM
Subject: LDAP and binary files


> Hello everybody:
>
> I have been going through the archives but with no success
>
> I need to query a LDAP directory for a user and show their picture. I
> execute the LDAP query but I am not able to show the picture information
> (JPEG file).
>
>  scope="SUBTREE" filter="(uid=userid)" server="ldap.university.edu">
>
>
> Then, if I try to output the JPEGPHOTO all I see on the screen is 'ÿØÿà'
> which, if I try to TOBINARY() I get the first 5 characters of the image
> file.
>
> The problem and the question is - why I am getting only the first 5
> characters (in TOBASE64 format) of the JPEG image. Am I missing something?
>
> Thanks for the help.
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CF5 and UDF's

2001-06-02 Thread Dain Anderson

Bryan,

In UDF's, you can use the ArrayLen() function to check for the existence of
passed values:


function mydate()
{
var d = "";
if(ArrayLen(Arguments))
d = Arguments[1];
else
d = Now();
return DateFormat(d);
}


#mydate("01/01/2001")#

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/


- Original Message -
From: "Bryan LaPlante" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Saturday, June 02, 2001 4:04 AM
Subject: CF5 and UDF's


> Is anyone playing with user defined functions? I can not find any doc's on
> the subject in cfdocs or in studio. I wander if there is a way to do what
I
> am trying below
>
> 
> function mydate(){
>  if (arguments is "")
>   d = now();
>   else
>   d = arguments[1];
>
>  return DateFormat(d);
> }
> 
>
> #mydate("01/01/2001")#
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Spider 404s

2001-05-09 Thread Dain Anderson

Gene,

In addition to the comments you've received, you could also take the route
of using a try/catch statement with the TYPE= to one of the HTTP exception
types (see below):

Examples:


cfhttp statement here...



 ...code...




 ...code...




Exception types:

COM.Allaire.ColdFusion.CFEXECUTE.OutputError
COM.Allaire.ColdFusion.CFEXECUTE.Timeout
COM.Allaire.ColdFusion.HTTPAccepted
COM.Allaire.ColdFusion.HTTPAuthFailure
COM.Allaire.ColdFusion.HTTPBadGateway
COM.Allaire.ColdFusion.HTTPBadRequest
COM.Allaire.ColdFusion.HTTPCFHTTPRequestEntityTooLarge
COM.Allaire.ColdFusion.HTTPCFMLRequestFailure
COM.Allaire.ColdFusion.HTTPCGIValueNotPassed
COM.Allaire.ColdFusion.HTTPConflict
COM.Allaire.ColdFusion.HTTPConnectionTimeout
COM.Allaire.ColdFusion.HTTPContentLengthRequired
COM.Allaire.ColdFusion.HTTPContinue
COM.Allaire.ColdFusion.HTTPCookieValueNotPassed
COM.Allaire.ColdFusion.HTTPCreated
COM.Allaire.ColdFusion.HTTPFailure
COM.Allaire.ColdFusion.HTTPFileInvalidPath
COM.Allaire.ColdFusion.HTTPFileNotFound
COM.Allaire.ColdFusion.HTTPFileNotPassed
COM.Allaire.ColdFusion.HTTPFileNotRenderable
COM.Allaire.ColdFusion.HTTPForbidden
COM.Allaire.ColdFusion.HTTPGatewayTimeout
COM.Allaire.ColdFusion.HTTPGone
COM.Allaire.ColdFusion.HTTPMethodNotAllowed
COM.Allaire.ColdFusion.HTTPMovedPermanently
COM.Allaire.ColdFusion.HTTPMovedTemporarily
COM.Allaire.ColdFusion.HTTPMultipleChoices
COM.Allaire.ColdFusion.HTTPNoContent
COM.Allaire.ColdFusion.HTTPNonAuthoritativeInfo
COM.Allaire.ColdFusion.HTTPNotAcceptable
COM.Allaire.ColdFusion.HTTPNotFound
COM.Allaire.ColdFusion.HTTPNotImplemented
COM.Allaire.ColdFusion.HTTPNotModified
COM.Allaire.ColdFusion.HTTPPartialContent
COM.Allaire.ColdFusion.HTTPPaymentRequired
COM.Allaire.ColdFusion.HTTPPreconditionFailed
COM.Allaire.ColdFusion.HTTPProxyAuthenticationRequired
COM.Allaire.ColdFusion.HTTPRequestURITooLarge
COM.Allaire.ColdFusion.HTTPResetContent
COM.Allaire.ColdFusion.HTTPSeeOther
COM.Allaire.ColdFusion.HTTPServerError
COM.Allaire.ColdFusion.HTTPServiceUnavailable
COM.Allaire.ColdFusion.HTTPSwitchingProtocols
COM.Allaire.ColdFusion.HTTPUnsupportedMediaType
COM.Allaire.ColdFusion.HTTPUrlValueNotPassed
COM.Allaire.ColdFusion.HTTPUseProxy
COM.Allaire.ColdFusion.HTTPVersionNotSupported
COM.Allaire.ColdFusion.POPAuthFailure
COM.Allaire.ColdFusion.POPConnectionFailure
COM.Allaire.ColdFusion.POPDeleteError
COM.Allaire.ColdFusion.Request.Timeout
COM.Allaire.ColdFusion.SERVLETJRunError

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/


- Original Message -
From: "Gene Kraybill" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, May 09, 2001 2:04 PM
Subject: OT: Spider 404s


> I'm building a little spider in CF and want to check each page as it's
retrieved to
> determine whether it contains the expected contents.
>
> Seems like looking for " 404 " in CFHTTP.FileContent won't cover
everything. Does
> anyone have a good working list of words/phrases that can be used to
verify links and
> ensure they're still active?
>
> Gene Kraybill
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFX_IMAGE original?

2001-05-09 Thread Dain Anderson

Michael,

I've used the one by Jukka -- it's excellent. However, some folks have noted
that the docs are a bit hazey.

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/


- Original Message -
From: "Michael Lugassy" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, May 09, 2001 8:02 AM
Subject: CFX_IMAGE original?


> I just downloaded 2 cfx tags named: cfx_image.
> the first one was downloaded from allaire dev exchange - by "gafware".
> the second one was downloaded from intrafoundation - by "jukka".
>
> which one is better? I need to put this cfx into extensive use.
> any help would be appriciated.
>
> Michael.
>
>
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFX_Image - Synopsis

2001-04-25 Thread Dain Anderson

Eric,

I think what you're wanting is essentially what others using that tag are
hoping for. I surely didn't create the tag, but as I said earlier, I've
considered writing some clearer instructions for it (or course these will
not likely be included with the tag, unless Jukka re-surfaces and wants them
to be).

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/



- Original Message -
From: "Eric Root" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, April 26, 2001 2:03 AM
Subject: CFX_Image - Synopsis


> This is in response to the thread on CF_image documentation.  What is
> also needed, is a concise, clear synopsis of WHAT CF_Image does (it's
> functions and how it can be used).  I was a little overwhelmed by the
> documentation and I was not clear about what I would be getting into and
> what value the tag might offer.  Needs sort of a concise
> features/benefit section iterating the parameters that can be
> controlled.  That is my two cents worth and wish list.
>
> I am new to CF and I am always looking to see what is out there and how
> I might take advantage of CF in the real world.  This looks like a great
> tag, but I wouldn't know at this point what I would be getting into.
>
> --
> Eric Root
>
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFX_IMAGE

2001-04-25 Thread Dain Anderson


> while i hardly ever agree with dain (just kidding),

No! Not again! (just kidding, Paul -- I've decided to play nice, for now
anyway ;-)

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/







~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFX_IMAGE

2001-04-25 Thread Dain Anderson

Rich,

I'd be happy to, and I even thought about it at one point, but I didn't
think there were that many people who still used it (considering it's not on
Allaire's Dev Center). I had a bit of a time figuring it out at first, but
once I got it, I found that the options are limitless (mostly). If Jukka is
reading this, I'd like to ask him if I can host the tag at CF Comet.

Right now, I think Intrafoundation.com is the only site that has Jukka's
permission to post it (AFAIK).

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/



- Original Message -
From: "Rich Wild" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, April 25, 2001 3:54 AM
Subject: RE: CFX_IMAGE


> Yeah - Fantastic cfx but its a pity that I just can't decipher the
> documentation for it. I hope Jukka (if he's reading) isn't insulted, but
its
> not the clearest thing in the world and there are a lot of crucial typos.
>
> Would it be too much to ask someone who comprehensively knows IML syntax
to
> write a clearer guide?
>
> ---
> Rich Wild
> Senior Web Designer
>
> ---
> e-mango.com ltd  Tel: 01202 587 400
> Lansdowne Place  Fax: 01202 587 401
> 17 Holdenhurst Road
> Bournemouth   Mailto:[EMAIL PROTECTED]
> BH8 8EW, UK  http://www.e-mango.com
> ---
> This message may contain information which is legally
> privileged and/or confidential.  If you are not the
> intended recipient, you are hereby notified that any
> unauthorised disclosure, copying, distribution or use
> of this information is strictly prohibited. Such
> notification notwithstanding, any comments, opinions,
> information or conclusions expressed in this message
> are those of the originator, not of e-mango.com ltd,
> unless otherwise explicitly and independently indicated
> by an authorised representative of e-mango.com ltd.
> ---
>
>
>
>
> > -Original Message-
> > From: Dain Anderson [mailto:[EMAIL PROTECTED]]
> > Sent: 25 April 2001 09:00
> > To: CF-Talk
> > Subject: Re: CFX_IMAGE
> >
> >
> > I've used CFX_Image in a heavy production environment. In
> > fact, we used it
> > to literally *create* images on-the-fly from other images as
> > well as text,
> > replacing over 1,000 "heading" images, using the IML language
> > provided by
> > the tag (it kicks ass).
> >
> > I can't tell you how great that tag is -- with a little trial
> > and error,
> > you'll find that it's the best tag for this type of image creation and
> > manipulation. Period.
> >
> > Dain Anderson
> > Caretaker, CF Comet
> > http://www.cfcomet.com/
> >
> >
> >
> >
> > - Original Message -
> > From: "Michael Lugassy" <[EMAIL PROTECTED]>
> > To: "CF-Talk" <[EMAIL PROTECTED]>
> > Sent: Wednesday, April 25, 2001 4:37 AM
> > Subject: Re: CFX_IMAGE
> >
> >
> > > I've heard there are some problem with concurent
> > conncetions to CFX.,..
> > > true?>|
> > >
> > >
> > > "Kay Smoljak" <[EMAIL PROTECTED]> wrote in message
> > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > > >I'm about to use the tag CFX_IMAGE extensivley on my new project.
> > > > >Is it reliable enough? Is there anything I should
> > consider? mem usage?
> > > > >performance? Is there a better tag?
> > > >
> > > > We were using it and were very happy with its operation
> > and feature set,
> > > > except the quality of the jpegs it output, which were
> > below par. We
> > ended
> > > up
> > > > writing our own - http://developer.perthweb.com.au - but
> > if you're only
> > > > working with gifs you won't have a problem.
> > > >
> > > > Regards,
> > > > Kay.
> > > >
> > >
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFX_IMAGE

2001-04-25 Thread Dain Anderson

I've used CFX_Image in a heavy production environment. In fact, we used it
to literally *create* images on-the-fly from other images as well as text,
replacing over 1,000 "heading" images, using the IML language provided by
the tag (it kicks ass).

I can't tell you how great that tag is -- with a little trial and error,
you'll find that it's the best tag for this type of image creation and
manipulation. Period.

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/




- Original Message -
From: "Michael Lugassy" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, April 25, 2001 4:37 AM
Subject: Re: CFX_IMAGE


> I've heard there are some problem with concurent conncetions to CFX.,..
> true?>|
>
>
> "Kay Smoljak" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > >I'm about to use the tag CFX_IMAGE extensivley on my new project.
> > >Is it reliable enough? Is there anything I should consider? mem usage?
> > >performance? Is there a better tag?
> >
> > We were using it and were very happy with its operation and feature set,
> > except the quality of the jpegs it output, which were below par. We
ended
> up
> > writing our own - http://developer.perthweb.com.au - but if you're only
> > working with gifs you won't have a problem.
> >
> > Regards,
> > Kay.
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CSV Error

2001-04-24 Thread Dain Anderson

Will,

Another option instead of renaming the ID field is to take it to
lowercase -- a lowercase 'id' is allowed.

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/



- Original Message -
From: "Will Swain" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, April 24, 2001 5:13 AM
Subject: CSV Error


> Hi all,
>
> I am trying to generate a CSV file for a client from their datacapture
> database. They want to be able to open it in Excel.
>
> This is the code I have so far:
>
> 
> SELECT *
> FROM tbl_datacapture
> 
>
> 
>
> 
>
> 
> SELECT *
> FROM tbl_fieldnames
> 
>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  "ALL")##enviro_separator#">
> 
>
> 
> 
> 
>
>  "glyndebourne_datacapture_#DateFormat("#now()#","ddmmyy")#.csv">
>
> 
>
>
> Everything seems to work OK, and a file is created which I can view in
> Notepad, and it seems ok. But when I try to open it in Excel it tells me
> that:
>
> SYLK: File Format Not valid
>
> I have had a look at the csv file, and compared it to one that I know
> definetly works, and I can't see a difference.
> Anyone know what this error means??
>
> TIA
>
> Will Swain
> Hot Horse Ltd
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Adding 90 minutes to Now()

2001-04-24 Thread Dain Anderson

#DateAdd('n', 90, Now())#

- Original Message -
From: "Ben Dyer" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, April 24, 2001 11:32 AM
Subject: Adding 90 minutes to Now()


> I'm not sure how to do this:
>
> How do I find the value of ninety minutes from now?
>
> #DateAdd('h',1.5,Now())#
> Returns one hour from now (I'm guessing CF just rounds the non-integer
down
> to the next integer.
>
> #DateAdd('m',90,Now())#
> Returns ninety months from now (October 2008).
>
> #DateAdd('mm',90,Now())#
> Returns an error.
>
> Any thoughts?
>
> --Ben
>
>
> -=-=-=-=-=-=-=-=-=-=-=-=-
> Ben Dyer
> Senior Internet Developer
> Imaginuity Interactive
> http://www.imaginuity.com
> -=-=-=-=-=-=-=-=-=-=-=-=-
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Getting DSNs from a crashed machine

2001-04-20 Thread Dain Anderson

Richard,

You can access the ODBC.ini file in the system directory. On Win NT and
2000, it should be in:

c:\WINNT\ODBC.ini

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/




- Original Message -
From: "Richard Colman" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, April 20, 2001 2:31 PM
Subject: Getting DSNs from a crashed machine


> Does anyone know how to get DSN information from a crashed server, i.e. I
> can get to files on the system volume through a "back door" but cannot
bring
> up the server itself. Is it in the registry?
>
> Richard Colman
> Director of Computing
> School of Biological Sciences
> http://www.bio.uci.edu
> http://comp.bio.uci.edu
> [EMAIL PROTECTED]  949-824-8955
> mobile: 949-275-4311
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: WDDX.org is now OpenWDDX.org

2001-04-18 Thread Dain Anderson

Rey,

I assure you I'm not trying to explicitly criticize the efforts of OpenWDDX;
rather, I had hoped this movement would've been under the GPL, that's all.
The GPL is something that many have grown to understand -- this just adds
one more license agreement to decipher and understand, when there's already
a sufficiently intuitive one in existence that is the flagship of
open-source.

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/

- Original Message -
From: "Rey Bango" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, April 18, 2001 6:05 PM
Subject: Re: WDDX.org is now OpenWDDX.org


> Dain,
>
> What do you see that makes it "non-open"? I can always forward your
comments
> accordingly.
>
> Rey...
> OpenWddx.org
>
> - Original Message -
> From: "Dain Anderson" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Wednesday, April 18, 2001 4:31 PM
> Subject: Re: WDDX.org is now OpenWDDX.org
>
>
> > Gee, with all this talk about "open", one might look at the following
URL
> > and begin to question it's openness.
> >
> > http://www.openwddx.org/downloads/
> >
> >
> > Dain Anderson
> > Caretaker, CF Comet
> > http://www.cfcomet.com/
> >
> >
> >
> > - Original Message -
> > From: <[EMAIL PROTECTED]>
> > To: "CF-Talk" <[EMAIL PROTECTED]>
> > Sent: Wednesday, April 18, 2001 2:33 PM
> > Subject: WDDX.org is now OpenWDDX.org
> >
> >
> > > Effective today, Macromedia has formally transitioned responsibility
for
> > the
> > > Web Distributed Data Exchange (WDDX) Web site to a third party.  All
> > > information that has been posted to the WDDX Web site, wddx.org, can
now
> > be
> > > found at http://www.openwddx.org.
> > >
> > > WDDX is an XML-based technology that enables the exchange of complex
> data
> > > between applications, creating what some refer to as 'Web syndicate
> > > networks' and enabling Web Services. Allaire created WDDX in order to
> > solve
> > > key problems in exchanging data between Web applications. In
particular,
> > > Simeon Simeonov, Allaire's chief architect, created WDDX to support
> > problems
> > > of distributed computing within ColdFusion. This work was generalized
> into
> > a
> > > cross-language framework, and resulted in the creation of the WDDX SDK
> and
> > > WDDX.org. Nate Weiss, an independent Web developer, with the support
of
> > > Allaire and a number of other third parties, created the WDDX SDK.
> > >
> > > Transferring responsibility for this Web site is consistent with our
> > overall
> > > goal of supporting this technology within the public domain.  As
creator
> > of
> > > the technology, Allaire Corp. was at times perceived as the owner and
> > formal
> > > supporter of the technology, and that WDDX was a proprietary
technology.
> > > The establishment of OpenWDDX.org is intended to rekindle enthusiasm
and
> > > acceptance of WDDX in the developer community, and confirm its role as
> an
> > > independent and enabling technology.
> > >
> > > For more information, and a complete FAQ about the WDDX initiative,
> please
> > > visit http://www.openwddx.org.
> > >
> > > Best,
> > > -Sam
> > >
> > > Samuel Coe
> > > Sr. Manager, Developer Programs
> > > Macromedia, Inc.
> > > 617-219-2133
> > > [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> >
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: WDDX.org is now OpenWDDX.org

2001-04-18 Thread Dain Anderson

Gee, with all this talk about "open", one might look at the following URL
and begin to question it's openness.

http://www.openwddx.org/downloads/


Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/



- Original Message -
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, April 18, 2001 2:33 PM
Subject: WDDX.org is now OpenWDDX.org


> Effective today, Macromedia has formally transitioned responsibility for
the
> Web Distributed Data Exchange (WDDX) Web site to a third party.  All
> information that has been posted to the WDDX Web site, wddx.org, can now
be
> found at http://www.openwddx.org.
>
> WDDX is an XML-based technology that enables the exchange of complex data
> between applications, creating what some refer to as 'Web syndicate
> networks' and enabling Web Services. Allaire created WDDX in order to
solve
> key problems in exchanging data between Web applications. In particular,
> Simeon Simeonov, Allaire's chief architect, created WDDX to support
problems
> of distributed computing within ColdFusion. This work was generalized into
a
> cross-language framework, and resulted in the creation of the WDDX SDK and
> WDDX.org. Nate Weiss, an independent Web developer, with the support of
> Allaire and a number of other third parties, created the WDDX SDK.
>
> Transferring responsibility for this Web site is consistent with our
overall
> goal of supporting this technology within the public domain.  As creator
of
> the technology, Allaire Corp. was at times perceived as the owner and
formal
> supporter of the technology, and that WDDX was a proprietary technology.
> The establishment of OpenWDDX.org is intended to rekindle enthusiasm and
> acceptance of WDDX in the developer community, and confirm its role as an
> independent and enabling technology.
>
> For more information, and a complete FAQ about the WDDX initiative, please
> visit http://www.openwddx.org.
>
> Best,
> -Sam
>
> Samuel Coe
> Sr. Manager, Developer Programs
> Macromedia, Inc.
> 617-219-2133
> [EMAIL PROTECTED]
>
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: OT: Screen Shot on Win 2K

2001-04-16 Thread Dain Anderson

Alt-Printscreen captures the active window, whereas Ctrl-printscreen
captures the entire window.

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/



- Original Message -
From: "Nick McClure" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, April 16, 2001 11:41 PM
Subject: Re: OT: Screen Shot on Win 2K


> I always just hit Print Screen, I have used Alt or Shift even back in
Win95.
>
> I just tried it and it still works.
>
> At 11:29 PM 4/16/2001 -0400, you wrote:
> >Off Topic: How do you do a screen shot with Win 2000?  When I try Shift +
> >Alt + Print Screen it doesn't work like it used to in Win 98.  Instead it
> >wants to put the display in High Contrast.
> >
> >Thanks,
> >Rich
> >
> >
> >
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: COM Problem

2001-04-12 Thread Dain Anderson

Kurt,

How are you calling the methods? Can you post some code?

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/



- Original Message -
From: "Kurt Ward" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, April 12, 2001 12:03 PM
Subject: COM Problem


> Anyone ever seen this error and know what the problem might be?
>
> "An unexpected system error was detected. (Error code is 4294934528)
>
> This type of error will most likely occur when the server running
ColdFusion
> is low on memory and/or system resources.
> If you continue to experience this error in a reproducible fashion you
> should contact Allaire technical support."
>
> The COM interface is ServerObject's ASPMail V4.0
>
> I get the error when calling ANY method.
>
>
> Kurt Ward
> Senior Web Developer
> SailNet.com
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



OT: Test Environment for Forta's Book

2001-04-12 Thread Dain Anderson

Greetings,

I'm writing to ask if anyone has an Exchange Server running LDAP (or test
server w/Exchange) that I could use for testing.

Here is the scenario: I'm working on the COM and CFLDAP chapters for Ben's
new advanced book, and I have a lot of code that needs to be tested. Another
user a while back provided me with LDAP access, but I could only query the
server, not add or modify entries. Because of his situation, providing me
with enough access to fully test was out of the question.

If someone would be so generous to help out, I'd be very appreciative. I
realise I'm asking a lot, but I was recently laid-off and no longer have
access to an Exchange Server.

Here are the items I would need:

1.) A new account setup for these tests
2.) Access to LDAP on Exchange (for testing code with add, modify, delete
and query on CFLDAP)
3.) Priviledges to connect to Exchange through COM (MAPI.Session)

If anyone can help out, please email me off-list.

Thanks,

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/




~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Looping through a Query in CFSCRIPT

2001-04-03 Thread Dain Anderson

Jason,

You could use something like this:

 code ...

for (i = 1; i LTE myQuery.RecordCount; i = i + 1) {
  WriteOutput("
  
#myQuery.Column1[i]#
#myQuery.Column2[i]#
#myQuery.Column3[i])#
#myQuery.Column4[i])#
  
  ");
}

 code ...

Where "myQuery" is your query name and "Column" represents a column name.

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/


- Original Message -
From: "Jason Lees (National Express)" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, April 03, 2001 10:54 AM
Subject: Looping through a Query in CFSCRIPT


>
> Hi all,
>
> Is it possible to loop through the results of a CFQuery structure?
>
> and Has anybody got an example of how its done
>
> TIA.
>
>
> Jason Lees
> National Express
> Email : [EMAIL PROTECTED]
>
> ###
> This document is intended for, and should only be read by, those persons
to
> whom it is addressed. Its contents are confidential and if you have
received
> this message in error, please notify us immediately by telephone on 0121
609 6301
> and delete all records of the message from your computer. Any form of
reproduction,
> dissemination, copying, disclosure, modification, distribution and / or
> publication of this message without our prior written consent is strictly
> prohibited. Neither the author of this message nor their employers accept
> legal responsibility for the contents of the message. Any views or
opinions
> presented are solely those of the author.
> If you have any queries please contact [EMAIL PROTECTED]
> 
> ##
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CF Mail Error

2001-04-03 Thread Dain Anderson

This is a known bug, and there is a fix for it at:

http://www.allaire.com/Handlers/index.cfm?ID=15821&Method=Full

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/



- Original Message -
From: "Larry C. Lyons" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, April 03, 2001 10:19 AM
Subject: CF Mail Error


> I've just run across this error that I've never seen before. Anyone know
> what it means and how to correct it?
>
> Error Diagnostic Information
> unknown exception condition
>
> TagCFMail::sendMessage
>
> The error occurred while processing an element with a general identifier
> of (CFMAIL), occupying document position (77:1) to (77:147).
>
>
> Date/Time: 04/03/01 10:05:29
> Browser: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
> Remote Address: 127.0.0.1
> HTTP Referer: http://127.0.0.1/ACC/carts/index.cfm?fuseaction=Checkout
>
> thanks,
> larry
> --
> Larry C. Lyons
> ColdFusion/Web Developer
> EBStor.com
> 8870 Rixlew Lane, Suite 201
> Manassas, Virginia 20109-3795
> tel: (703) 393-7930 x253
> fax: (703) 393-2659
> http://www.ebstor.com
> http://www.pacel.com
> email: [EMAIL PROTECTED]
>
> Chaos, panic, and disorder - my work here is done.
> --
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Finding the CF Administrator password

2001-03-09 Thread Dain Anderson

Todd,

It's very easy to retrieve the admin password, and I'm sure I will get
flamed for showing this, but what the hell:






  Registry Password: #CFusion_Decrypt(AdminPassword, CFKey)#


The key to decrypt it spells "4 Polaris" (Allaire inside joke?) -- this
isn't my doing; rather, I was sent this from an anonymous source via the
[EMAIL PROTECTED] address. I hope this will show Allaire and ISPs that
there is a need for encryption, not encoding, for things such as this. I am
against template encryption personally, but the administrator feature should
have much better security. We live and learn, strive and yearn.

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/


- Original Message -
From: "Todd Ashworth" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, March 09, 2001 5:31 PM
Subject: Re: Finding the CF Administrator password


> Excellent.  What they are talking about looks likw what might be in the
> registry.  This might just do what I want.  If so, that's 2 I owe ya ;)
>
> Todd Ashworth --
> Web Application Developer
> Network Administrator
>
> Saber Corporation
> 314 Oakland Ave.
> Rock Hill, SC 29730
> (803) 327-0137 [111]
>
> - Original Message -
> From: "Jon Hall" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, March 09, 2001 5:22 PM
> Subject: Re: Finding the CF Administrator password
>
>
> | Check this link Todd.
> | http://www.fusionauthority.com/alert/index.cfm?alertid=6#Tech1
> |
> | There are undocumented "Administrator" functions called
> | CFusion_Encrypt()/CFusion_Decrypt.
> | These are probably the functions that were used to encrypt the string...
> |
> | jon
>
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: MS Index Server vs. Verity

2000-12-10 Thread Dain Anderson

Thanks to Robert Everland III, there's an article on cfcomet about how to
use Index Server in ColdFusion using COM:

http://www.cfcomet.com/cfcomet/index_server/index.cfm?ArticleID=0306FEED-E87
3-4D21-881655F4EFB68127

should you decide you want to try Index Server.


Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/


- Original Message -
From: "S R" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, November 22, 2000 11:45 AM
Subject: MS Index Server vs. Verity


> Hi,
>
> I had to demo how cold fusion works to my I.S. department last week and
> after showing them how 'verity' works they suggested I look into 'Index
> Server' as a 'better' alternative. Can I get some of your opinions as to
the
> differences between the two and where I can get more info on 'Index
Server'
>
> Thanks
>
> Sal
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: MS Exchange

2000-12-10 Thread Dain Anderson

Daryl,

I'll get it rounded up and sent to you -- no promises on whether it works,
but I know it has to be close. It would be great if you could test it, and
if it works, even greater if we can share it with everyone.

I'd be grateful if you'd forward your answers, as I have no way currently to
test any of it.

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/


- Original Message -
From: "Daryl Fullerton" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, December 10, 2000 2:07 PM
Subject: RE: MS Exchange


> Dain,
>
> Thanks a Mil,
>
> Can you send the code to me by direct email.
> We will test and see if it works.
> Thanks again
>
> Cheers  D
>
> PS I see youre the caretaker of CFcometwooops.
> I will post all our exchange related stuff up there once we've figured
> it all out.
>
> Do you mind if i forward you all the answers to our CF / Exchange
> experiences.
>
> Regards
>
> D
>
> -Original Message-
> From: Dain Anderson [mailto:[EMAIL PROTECTED]]
> Sent: 10 December 2000 18:48
> To: CF-Talk
> Subject: Re: MS Exchange
>
>
> Hello Daryl,
>
> I've got some code that I think will work through COM, but I do not have
> an
> exchange server to test it on. My last contract had Exchange Server
> running,
> but they laughed when I asked them to give me permission to run
> "untested"
> code on it ;-) Can't blame me for trying!
>
> So, until I can find a way to test it...
>
> The hardest part is creating a MAPI session through CFOBJECT because of
> the
> limitations of syntax -- once you're logged in, you have access to just
> about anything.
>
>
> Dain Anderson
> Caretaker, CF Comet
> http://www.cfcomet.com/
>
>
> - Original Message -
> From: "Daryl Fullerton" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Sunday, December 10, 2000 1:37 PM
> Subject: RE: MS Exchange
>
>
> > Cheers David,
> >
> > That CDOlive.com is a good resource.
> > It gave me some more ideas but i will wait until tomorrow to try them.
> >
> > Any CF sites out there specialise in exchange?
> > Whem wil cometcf have their Exchange resource live??
> > Know anyone there?
> >
> > D
> >
> >
> >
> > -Original Message-
> > From: David Shadovitz [mailto:[EMAIL PROTECTED]]
> > Sent: 10 December 2000 17:24
> > To: CF-Talk
> > Subject: Re: MS Exchange
> >
> >
> > I can offer some good links:
> >
> > 1. MS Exchange Server  http://www.microsoft.com/exchange/
> >   Check the index.
> > 2. MSDN Exchange Dev Center http://msdn.microsoft.com/exchange/
> >   Check the Code Center.
> > 3. CDO Live http://www.cdolive.com/start.htm
> >   "Microsoft Collaboration Data Objects (CDO) is an emerging
> technology
> > which is used in the application development to build collaboration
> > applications on top of Microsoft Exchange Server."
> >   Check the Code Sample Library.
> >
> > -David
> >
> > On Sun, 10 Dec 2000 16:04:13 - "Daryl Fullerton"
> > <[EMAIL PROTECTED]> writes:
> > > Hi all,
> > >
> > > I am a great fan of www.cfcomet.com but the site lacks resourses on
> > > MS
> > > Exchange integration.
> > >
> > > I am wondering if anyone out there has any experiences in
> > > integrating
> > > Exchange 5.5 or 2000 with CF.
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: MS Exchange

2000-12-10 Thread Dain Anderson

Hello Daryl,

I've got some code that I think will work through COM, but I do not have an
exchange server to test it on. My last contract had Exchange Server running,
but they laughed when I asked them to give me permission to run "untested"
code on it ;-) Can't blame me for trying!

So, until I can find a way to test it...

The hardest part is creating a MAPI session through CFOBJECT because of the
limitations of syntax -- once you're logged in, you have access to just
about anything.


Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/


- Original Message -
From: "Daryl Fullerton" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, December 10, 2000 1:37 PM
Subject: RE: MS Exchange


> Cheers David,
>
> That CDOlive.com is a good resource.
> It gave me some more ideas but i will wait until tomorrow to try them.
>
> Any CF sites out there specialise in exchange?
> Whem wil cometcf have their Exchange resource live??
> Know anyone there?
>
> D
>
>
>
> -Original Message-
> From: David Shadovitz [mailto:[EMAIL PROTECTED]]
> Sent: 10 December 2000 17:24
> To: CF-Talk
> Subject: Re: MS Exchange
>
>
> I can offer some good links:
>
> 1. MS Exchange Server  http://www.microsoft.com/exchange/
>   Check the index.
> 2. MSDN Exchange Dev Center http://msdn.microsoft.com/exchange/
>   Check the Code Center.
> 3. CDO Live http://www.cdolive.com/start.htm
>   "Microsoft Collaboration Data Objects (CDO) is an emerging technology
> which is used in the application development to build collaboration
> applications on top of Microsoft Exchange Server."
>   Check the Code Sample Library.
>
> -David
>
> On Sun, 10 Dec 2000 16:04:13 - "Daryl Fullerton"
> <[EMAIL PROTECTED]> writes:
> > Hi all,
> >
> > I am a great fan of www.cfcomet.com but the site lacks resourses on
> > MS
> > Exchange integration.
> >
> > I am wondering if anyone out there has any experiences in
> > integrating
> > Exchange 5.5 or 2000 with CF.
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re:

2000-12-09 Thread Dain Anderson

Seamus,

Sorry I didn't see this post sooner, but to do this, change the following
key in your registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\Server\Templat
eCacheSize

back to 1024 or another value.

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/


- Original Message -
From: "Seamus Campbell" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, November 29, 2000 3:50 AM


> I just sent a help message below.
> I think I've done a really stupid, stupid thing.
> I increased the template cache size to 30720 and ticked the trusted cache
> checkbox.
> I now realize that I only have 64 MB ram on the server the holds CF
Server,
> so I'm presuming it just doesn't have enough memory to have this size
cache.
> But I can't get into administrator to undo my cache changes.
>
> Does anyone know of a way to change cache size without going thru
> administrator
>
> Help an idiot please
> Seamus
>
>
> Anyone help?
> I've just got this error below
> I can't see any services that are not running
> And certainly Apache, CF application server, CF RDS, and CF Executive are
> all running
> Any clues anyone?
>
> Error Occurred While Processing Request
> Error Diagnostic Information Error occurred while attempting to start
> service. Windows NT error number 1056 occurred.
> HTTP/1.1 200 OK Date: Wed, 29 Nov 2000 08:09:52 GMT Server: Apache/1.3.6
> (Win32) Expires: 0 Pragma: no-cache Cache-control: no-cache, no-store,
> must-revalidate Keep-Alive: timeout=15, max=99 Connection: Keep-Alive,
> Keep-Alive Transfer-Encoding: chunked, chunked Content-Type: text/html
> Error Occurred While Processing Request
> Error Diagnostic Information An error occurred while attempting to
> establish a connection to the service. The most likely cause of this
> problem is that the service is not currently running. You can use the
> 'Services' Control Panel to verify that the service is running and to
> restart it if necessary. Windows NT error number 2 occurred.
> seamus
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: List w/" " delims

2000-12-07 Thread Dain Anderson

Eric,

You can also use Regular Expression to do this, although my example could
likely use some work:



Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/


- Original Message -
From: "Eric Fickes" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, December 06, 2000 11:30 PM
Subject: List w/" " delims


> Got a List question for you.
>
> I've got a text file that I need to parse and it's " delimited list, in a
> way.  The list format is this.
>
> "Full Name" "Email Address" "Group List" "Login Name"
> "Demo user for startup" "" " 1;" "Demo"
>
> I was hoping to somehow use " " as a delimeter, but that's not working.
> When I do that it takes out the spaces in the column names. I'd like to
take
>
> "Full Name" "Email Address" "Group List" "Login Name"
>
> and turn it into
>
> Full Name,Email Address,Group List,Login Name
>
> Any ideas?
>
> E
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: What kind of exception thrown on cfexecute timeout?

2000-12-06 Thread Dain Anderson

Ryan,

You can use:




Timed Out!



Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/


- Original Message -
From: "Ryan" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, November 29, 2000 5:26 PM
Subject: What kind of exception thrown on cfexecute timeout?


> I am trying to use cfexecute to do a call to a local whois program.
> Some of the registrars take a long time to return the data, and I
> need to have my timeout set at 10 seconds. If it takes longer than
> this, my code throws an exception and an ugly coldfusion error message.
>
> So I thought I would wrap CFTRY around it (never used CFTRY before).
> Here is my code:
>
> 
> 
> 
> Timed Out!
> 
> 
>
> (note I have timeout set to 1 so I can get it to timeout more often for
testing)
> But I never see my "Timed Out!" string. I never see the ugly CF error
message
> either.
>
> When I looked up the documentation for CFEXECUTE, it says it throws
exceptions
> if the program can't be found, if its not executeable, etc, but it doesn't
say
> anything about what it will do it the timeout value is reached!
>
> Any ideas?
>
> Thank you.
>
> Ryan
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Who's hacking around ???

2000-12-06 Thread Dain Anderson

Brian,

I know for a fact that two of those files are trojans (sensepost.exe, and
sysmng.exe), and possibly the others may be as well. If I were you, I would
check your system extensively for other trojans.

Regards,

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/


- Original Message -
From: "Brian L. Wolfsohn" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Saturday, December 02, 2000 11:55 PM
Subject: OT: Who's hacking around ???


> i've found these suspicious looking files in one of our cgi directories.
>
> Has anyone heard of these ?? can you point me to any resources for
checking
> on them ??
>
>
> eeyerulez.asp
> logfilename
> sysmng.exe
> sensepost.exe
> eeyehack.exe
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CreateUUID Algorythm.....

2000-12-05 Thread Dain Anderson

The URL below shows the full algorithm:

http://www.opennc.org/onlinepubs/9629399/apdxa.htm

Good thing we have CreateUUID() ;-)

Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/


- Original Message -
From: "Michael Thomas" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Saturday, December 02, 2000 4:07 AM
Subject: CreateUUID Algorythm.


> Does anyone have any knowledge in how the CreateUUID is generated when
using
> the CreateUUID() function. I know its usage & the like. I would like to
know
> more about the algorythm that the CF Server uses to generate it. Any
answers
> would be a great help.
>
> TIA,
> Mike
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Line count of 1600 files?

2000-09-21 Thread Dain Anderson

Go into your Extended Find option in CF Studio (ctrl-shift-f), check the
"Regular Expressions" box, select the folder (and subfolders) that contain
your code, and type in:

([^[:cntrl:]]+)

This will match every line feed and carriage return combination and will
omit your blank lines to give you a better representation. Sit back, relax,
grab a beer, and wait -- a long time.


- Original Message -
From: Chris Norloff <[EMAIL PROTECTED]>
To: CF-Talk <[EMAIL PROTECTED]>
Sent: Thursday, September 21, 2000 10:24 AM
Subject: Line count of 1600 files?


> My supervisor would like a line count of all CF code in our project.
That's 1,603 files - what's a reasonable way of getting a line count, or
something similar?
>
> thanks,
> Chris Norloff
> --

> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Grabbing Content

2000-09-21 Thread Dain Anderson

You could use RegEx to do this:



([^<]*)", "\1")>

#parsedVar#


I'm sure there are other ways, but this may help.


- Original Message -
From: Dave Hannum <[EMAIL PROTECTED]>
To: CF-Talk <[EMAIL PROTECTED]>
Sent: Thursday, September 21, 2000 2:07 PM
Subject: Grabbing Content


> What would be the easiest way to grab content off a page where the content
> is surrounded by beginning and ending comment tags as so:
>
> 
> the news content is in here . . . .
> 
>
> Thanks,
> Dave
>
>
> =
> "What we need is a list of specific unknown problems we will encounter"
>
> David Hannum
> Web Analyst/Programmer
> Ohio University
> [EMAIL PROTECTED]
> (740) 597-2524
>
>
>
>
> --

> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Equivalent

2000-06-28 Thread Dain Anderson

You can use the TITLE attribute to accomplish this with links:

Click Me

At this time, I think this only works with IE.

- Original Message -
From: James Taavon <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 28, 2000 2:13 PM
Subject:  Equivalent


> I know this is not a CF question, but it does apply to the CF App I am
> developing. I wanted to know is the an equivalent attribute for the  href> tag for hyperlinks to display a "text bubble" like the ALT
> attribute for images? The goal is when the cursor passes over the link a
> text bubble appears describing something specific about the link.
>
> James
> --

> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: cf vs php

2000-06-28 Thread Dain Anderson

I found an interesting article on comparison of the two:

http://marc.theaimsgroup.com/?l=php-general&m=95602167412542&w=1

- Original Message -
From: Adam Cantrell <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 28, 2000 2:04 PM
Subject: cf vs php


> I've seen a lot of "cf vs asp" stuff floating around, but I was wondering
if
> anybody had seen anything about cf vs php.  It seems like it would be good
> scripting language to pick up only because everything you need to run a
php
> application is free excluding the minimal amount of hardware you would
need.
> It appears to resemble coldfusion more than asp does so I'm wondering if
> anybody has had any experience with comparing the two.
>
> --

> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.