Interact with client file system

2003-03-05 Thread mike sullivan
Greetings,

I have a job where I need to create a file on a client
PC and populate it with data pulled off an sql server.

How can I create a file on a client PC?
How shoud I go about this in a CF / IE environment?

Thanks
Mike


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

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



Interact with client file system

2003-03-05 Thread mike sullivan
To clairfy,

The data or file is processed by a custom 3rd party
driver for a output device slaved to the client PC.  

I talked to the dirver developer and he wants a file
that he can process with his VB program without
getting into http gets (I think the best way to go
would be to cffile the data on the server and have his
driver fetch it via http but I am looking for ideas).

This would fall on the Intranet side of things but I
want to keep it as simple and client proof as
possible.

Mike



__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



RE: Interact with client file system

2003-03-05 Thread mike sullivan
You know, I tried this and it did work, I am just not
convinced that it is the best way.  I am really trying
to eliminate prossible client problems (hidden share
maybe?)
Mike
--- Hugo Ahlenius [EMAIL PROTECTED] wrote:
 Is it for intranet usage?
 
 Could you perhaps put the file on a share on the
 client machine then?
 


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=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: Interact with client file system

2003-03-05 Thread mike sullivan
That is an interesting idea.

--- jon hall [EMAIL PROTECTED] wrote:
 Well, the only way to driectly interact with the
 client's file system
 from a browser is going to be ActiveX/.Net, or a
 java applet.
 
 How about sending the file as a file type that opens
 by default in
 this guys program though? Just like acrobat will
 open if you click on
 a pdf, or winamp opens when an mp3 is clicked. You
 could even send the
 file with cfcontent as long as you know the mime
 type to make it a bit
 more automatic.
 


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

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



RE: Reg Expression for IPs

2002-05-14 Thread Mike Sullivan

Sure, its called a subnet mask ;-)

 -Original Message-
 From: Mark M. Kecko [SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, May 14, 2002 12:00 PM
 To:   CF-Talk
 Subject:  FW: Reg Expression for IPs
 
 Does anybody have a regular expression for finiding out if a clients IP
 address falls within a certain range.  I want to know if anybody with an
 IP
 address in the range of 192.168.32.0 - 192.168.63.255 hits a page.  Thanks
 in advance.
 
 Mark Kecko
 The Computer Guy
 MediaPost Communications
 [EMAIL PROTECTED]
 http://www.mediapost.com
 (203)222-0330 ext309
 
 Imagination is the one weapon in the war against reality.
 Jules de Gaultier
 
 
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.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



odd cfhttp behavior

2002-01-09 Thread Mike Sullivan

Greetings list,

I had a working call to cfhttp w/ resolveurl set to true.  The target is a
data/graphing collector in our intranet.  The CF template grabbed the page
and I redisplayed it with the images (which live in the same web dir)
without a problem. 

Now for some reason the image links are broken, but the rest of the page is
fine.  When I check the html source on the browser, I see that the image
links are not resolved correctly.  The common problem is that the fetched
page is inserted into the path of the image.  For example, if the fetched
page is http://myserver/mypage.html; and the image lives directly under the
root, the resolved link to the image becomes
http://myserver:80/mypage.html/myimage.jpg;  when is should be
http://myserver:80/myimage.jpg;.  If I point my browser directly at the
targeted page, it looks fine.

I am running CF 5.0 pro on Win2k / IIS 5.0.  The target is RH 6.1 / Apache
1.3.6.  I am not sure when the application broke as it was reported by a
user and the last time I checked it was a year ago when the CF server was
4.5 pro on NT 4.5 and IIS 4.0

The code snippet looks like this:
cfhttp url=http://myserver/mypage.html;
method=GET
resolveurl=true
timeout=10
throwonerror=yes

I look forward to hearing your thoughts on this.
Thanks
Mike
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: Creating CFX tags - DLL's and NT

2001-08-23 Thread Mike Sullivan

Unselect Keep Library Loaded option.  See cf administrator.
Mike

 -Original Message-
 From: Brian Fox [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, August 23, 2001 4:43 PM  
 To:   CF-Talk
 Subject:  Creating CFX tags - DLL's and NT
 
 How can I force NT4.0 to reload a modified dll/cfx tag?  Renaming the dll
 and adding it to the CFX list has become extremely tedious.
 
 Thanks,
 Brian
 

~~
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



CF and WEBDAV

2001-08-22 Thread Mike Sullivan

I would like to put up a link to a WEBDAV file system, so that when a user
clicks the link the file system comes up in the users browser as if they had
opened a web folder (in ms parlance).  Has anyone done this?  Can someone
point me in the right direction?

Thanks
Mike

~~
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: Regex?

2001-07-10 Thread Mike Sullivan

If you have linux, use sed.  something like:
cat something.cfm|sed -e \
'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/' | \
somethingelse.cfm

that will do a character by character transformation.
Mike

 -Original Message-
 From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, July 10, 2001 4:54 PM
 To:   CF-Talk
 Subject:  SOT: Regex?
 
 Hi all,
 
 Sorry for this slightly off topic post - I have exceedingly stupid (and
 cheap) clients and need to know if this is possible.
 
 This client has created a huge site himself, incorporating gallery pages
 with hundreds of images, both thumnails and high quality versions.
 Considering everything, he hasn't done too bad a job - it looks fairly
 good. Except the image files are named in a variety of ways - uppercase,
 lowercase and mixed case - and the links to the images do not necessarily
 match up with the image filenames with regard to case. This is going to be
 deployed on a linux box, so that is obviously not going to work.
 
 Rather than cross-check each filename with the links, I am going to use a
 utility to rename all the image files with all lower case. That's no
 problem. What I am not sure about how to do is this: I want to use
 extended find and replace in Studio to convert everything to lower case
 that is inside a tag. Is this even possible? Not being a regex guru, I'm
 hoping it is, because manually editing links in about 500 files does not
 sound like my idea of a fun Wednesday afternoon, and something I'm sure
 the client does not want to pay for.
 
 If anyone can help, I'd really appreciate it!
 
 K.
 
 

~~
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: Unix error 2 with basic cfquery

2001-07-03 Thread Mike Sullivan

Check you odbc connection via CF administrator, if it doesn't verify then
that is the issue.  Install myodbc.
mike

 -Original Message-
 From: W Luke [SMTP:[EMAIL PROTECTED]]
 Sent: Saturday, June 23, 2001 9:58 AM
 To:   CF-Talk
 Subject:  Unix error 2 with basic cfquery
 
 Hi,
 
 Just been testing a friend's new unix box and am getting the following
 error: (I'm not well versed in unix...)
 
 An error occurred while attempting to establish a connection to the
 server.
 The most likely cause of this problem is that the server is not currently
 running. Verify that the server is running and restart it if necessary.
 Unix error number 2 occurred: No such file or directory
 
 It only happens when I try a query, to insert form data into a MySql DB.
 What does it mean?  Without the query, cfm are processed normally.
 
 Cheers
 
 Will
 --
 New Media discussion list for Berkshire -=- http://cf.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

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



is this list dead?

2001-07-02 Thread Mike Sullivan

I haven't seen a post in quite some time now.
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: Email this page to a friend....

2001-06-08 Thread Mike Sullivan

The choice of a mailto: link or a form/cfmail approaches depend on the users
you anticipate serving.  Using cfmail will work for everyone with or without
an email client.
Mike

 -Original Message-
 From: Michael Lugassy [SMTP:[EMAIL PROTECTED]]
 Sent: Friday, June 08, 2001 7:44 AM
 To:   CF-Talk
 Subject:  Re: Email this page to a friend
 
 if you don't want to add special credits and/or details to this tell a
 friend message
 I would recommened using the mailto: method.
 it's easy, reliable and will pop up the user's prefarble e-mail client
 (where he can select
 his contacts much easier!!)
 
 in cf, you can create something like this: (I forgot the actual CGI
 variables, check them out)
 cfset mailto=?subject=check this
 outbody=#CGI.template_name##CGI.template_params#
 and then, provide a link like this:
 
 cfoutputa href=mailto:#mailto#;share with a friend/cfoutput
 
 get a better example here:
 http://www.imvamp.com/share/index.cfm
 
 Thanks,
 
 Michael
 
 
 - Original Message -
 From: Dasher [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Friday, June 08, 2001 3:35 PM
 Subject: Email this page to a friend
 
 
  What's the best way to set up an
  Email This Page To A Friend
  using Cold Fusion?
 
  I need to get input like name_of_friend and your_name
  and plug it in to the emailed page...
 
  Thanks,
  Dasher
 
 
 
 

~~
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: Bank of America and e-stores and CFHTTP

2001-04-19 Thread Mike Sullivan

they could be checking the browser/client user agent.  maybe
coldfusion... isn't valid, try an ie or netscape agent header.
mike

 -Original Message-
 From: Christopher Olive, CIO [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, April 19, 2001 7:16 AM
 To:   CF-Talk
 Subject:  Bank of America and e-stores and CFHTTP
 
 has anyone had any particular problems or success using CFHTTP to talk to
 BoA's estores solution?  i haven't been able to get it to work, and their
 techs tell me that people have *definately* used CF in the past to do
 this.
 
 i can follow thei rinstructions and use a standard HTML form post to their
 processing URL.  this works successfully.  however, when i try to make it
 a
 CFHTTP call, i get a "Failed form POST" error from their servers.
 
 anyone lend a hand?
 
 chris olive, cio
 cresco technologies
 [EMAIL PROTECTED]
 http://www.crescotech.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: EAetheif

2001-04-12 Thread Mike Sullivan

It failed to populate any fields for me so...

 -Original Message-
 From: Guy J. McDowell [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, April 12, 2001 11:49 AM
 To:   CF-Talk
 Subject:  EAetheif
 
 I saw this at BlueMountain.com;
 
 When I went to the form to send an e-card, my first name and e-mail
 address was already filled in. They did not have (or at least
 shouldn't have had) this information prior to my visit. I believe it
 somehow has pulled this information from my Outlook e-mail program and
 auto-filled the form for me.
 
 Anyone know anything about this?
 
 Yours In Conservation,
 
 Guy J. McDowell,
 Webmaster
 The Ontario Federation of Anglers  Hunters
 E-mail: [EMAIL PROTECTED]
 Phone: (705) 748-6324 ext. 262
 www.OFAH.org
 
 
 
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

~~
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: layered security

2001-03-28 Thread Mike Sullivan

Janine,

This sounds like a design issue.  If you have control of (or if you get work
out) the relationships, then there won't be any need for a tiered login,
just use the attributes of the teacher-class-student relationship to
control access.

Mike

 -Original Message-
 From: Janine Jakim [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, March 28, 2001 5:08 AM
 To:   CF-Talk
 Subject:  layered security
 
   I need to make a "layered"login to a secure site.  We are using a
 SQL2000 database on Windows2000 machine.  I assume that I will have the
 user
 authenicate through the active directory and be recognized as being part
 of
 a "group" and sent to a specialized menu.   (am I correct in that
 assumption?)
   One group will be for teachers.  These teachers will then need to
 access their students and only their students.  This info comes from a
 second db2 database. Two fields make up the unique number (teacherID and
 SchoolID).  Should I make a 2nd login that will query only their students?
 I
 don't want to "overload" the teachers with logins, but I don't know if
 there
 is a way to put it into the original login.
   Any ideas on how to make this "user friendly"?  I do have the
 ability to store the teacher id information into our sql warehouse. does
 that help me any? 
 Thanks,
 j 
 
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

~~
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: Killing Commas

2001-03-27 Thread Mike Sullivan

cfset astr = "1,2,3,4"
cfset astr = replace(astr,',','',"all")
cfoutput#astr#/cfoutput

 -Original Message-
 From: Brian Thornton [SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, March 27, 2001 11:38 AM
 To:   CF-Talk
 Subject:  Killing Commas
 
 Anyone know of a "quick" fix for removing commas in returned data?
 
 

~~
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: retrieve remote images using cfhttp?

2001-03-22 Thread Mike Sullivan

have you tried 'resolveurl="true"'?  ie
cfhttp method="GET" url="http://www.lexus.com/images/home/mn_ph_sc_top.jpg"
resolveurl="true"
mike
 -Original Message-
 From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, March 22, 2001 1:06 PM
 To:   CF-Talk
 Subject:  retrieve remote images using cfhttp?
 
 i have been trying for the better part of the morning to figure out where
 i am going wrong with the CFHTTP tag.
 i get a list of about 200 cars two times a week and the majority have
 photos (with full url to other sites) but cant seem to figure out how to
 get CFHTTP to download an image off of a remote site and save it locally
 to my hard drive.
 
 suggestions? ideas? help???!!!
 
 here is my non-functional code so far... the header seems to return the
 right info, and the mime type is also correct, but the filecontent makes
 no sense to me whatsoever and i am unsure if i am doing this right, or if
 it is even possible with the CFHTTP tag, or if i should be using some
 other tag, or if i should be using something from the allaire developer
 exchange.
 
 cfhttp method="GET"
 url="http://www.lexus.com/images/home/mn_ph_sc_top.jpg"/cfhttp
 cfoutput
 hr
 #cfhttp.header#
 hr
 #cfhttp.filecontent#
 /cfoutput
 
 
 thanks in advance.
 peter
 
 

~~
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



telemate vs webtrends

2001-02-15 Thread Mike Sullivan

Greeting,

Who has an opinion on the relative virtues of telemate vs webtrends?  I am
considering them both and I would like to hear from those who have put them
to use.

Thanks
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: CFLDAP and EXCHANGE

2000-11-07 Thread Mike Sullivan

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Eric,
The following works for exchange 5.5.  Be sure that the mail admin
has ldap enabled...
Enjoy
Mike

cfparam NAME="attributes.empFirstName" DEFAULT=""
cfparam NAME="attributes.empLastName" DEFAULT=""
cfparam NAME="attributes.empDepartment" DEFAULT=""
cfparam NAME="attributes.empTitle" DEFAULT=""
cfparam NAME="attributes.qryString" DEFAULT=""

cfif attributes.sr EQ 0
!--- clean up dirty data ---
   
   cfset attributes.sr = 1
   cfif len(attributes.empFirstName) is not 0
  cfset attributes.empFirstName = Trim(attributes.empFirstName)
  cfset attributes.qryString =
"(givenName=#attributes.empFirstName#*)"
   /cfif

   cfif len(attributes.empLastName) is not 0
  cfset attributes.empLastName = Trim(attributes.empLastName)  
  cfset attributes.qryString = attributes.qryString 
"(sn=#attributes.empLastName#*)"
   /cfif
   cfif len(attributes.empDepartment) is not 0
  cfset attributes.empDepartment =
Trim(attributes.empDepartment)   
  cfset attributes.qryString = attributes.qryString 
"(department=#attributes.empDepartment#*)"
   /cfif
   cfif len(attributes.empTitle) is not 0
  cfset attributes.empTitle = Trim(attributes.empTitle)   
  cfset attributes.qryString = attributes.qryString 
"(title=#attributes.empTitle#*)"
   /cfif
   cfif ListLen(attributes.qryString, "=") GT 1
  cfset attributes.qryString = "("  attributes.qryString 
")"
   /cfif

   cfldap action="QUERY"
   name="GetEmployees"
   attributes="givenName, sn, department, title,
telephoneNumber"
   start="c=us"
   scope="SUBTREE"
   startrow="1"
   maxrows="300"
   filter="#attributes.qryString#"
   sort="sn"
   server="#attributes.LDAPserver#"

   cfset attributes.empData = ArrayNew( 1 )
   cfloop query="GetEmployees"
   !--- Attempt to filter out resources that are not people ---
  cfif (Len(#givenName#) GT 0) and (Len(#sn#) GT 0)
 cfif len(#department#) EQ 0
cfset tdept = "None on File"
 cfelse
 cfset tdept = #department#
 /cfif
 cfif len(#title#) EQ 0
 cfset ttitle = "None on File"
 cfelse
 cfset ttitle = #title#
 /cfif
 cfif len(#telephoneNumber#) EQ 0
cfset tphone = "None on File"
 cfelse
cfset tphone = #telephoneNumber#
 /cfif
 cfset tStr = "#givenName#*#sn#*#tdept#*#ttitle#*#tphone#"
 cfset junk = ArrayAppend(attributes.empData, "#tStr#")
  /cfif
   /cfloop
!--- Using wddx and client storage is easier that passing stuff on
urls ---
   cfwddx action="CFML2WDDX" input="#attributes.empData#"
output="client.empData"

   !--- Lets do likewise for the search criteria ---
   cfset attributes.empsearch = arraynew(1)
   cfset junk =
ArrayAppend(attributes.empsearch,"#attributes.empFirstName#")
   cfset junk =
ArrayAppend(attributes.empsearch,"#attributes.empLastName#")
   cfset junk =
ArrayAppend(attributes.empsearch,"#attributes.empDepartment#")
   cfset junk =
ArrayAppend(attributes.empsearch,"#attributes.empTitle#")
   cfwddx action="CFML2WDDX" input="#attributes.empsearch#"
output="client.search"
/cfif

- -Original Message-
From:   Eric Fickes [SMTP:[EMAIL PROTECTED]]
Sent:   Monday, November 06, 2000 10:12 PM
To: CF-Talk
Subject:CFLDAP and EXCHANGE

This message is in MIME format. Since your mail reader does not
understand
this format, some or all of this message may not be legible.

- --_=_NextPart_001_01C04881.9B4B1730
Content-Type: text/plain;
charset="iso-8859-1"

Hello all,

anybody out there been successful using CFLDAP and MS Exchange 5.5? 
I have
full access to my exchange server but can't seem to find anything
helpful in
the Exch Admin, and my MasteringCF books don't into any detail about
Exchange.

Eric

- --_=_NextPart_001_01C04881.9B4B1730
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"
HTML
HEAD
META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1"
META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12"
TITLECFLDAP and EXCHANGE/TITLE
/HEAD
BODY

PFONT SIZE=3D2Hello all,/FONT
/P

PFONT SIZE=3D2anybody out there been successful using CFLDAP and
MS =
Exchange 5.5?nbsp; I have full access to my exchange server but
can't =
seem to find anything helpful in the Exch Admin, and my MasteringCF =
books don't into any detail about Exchange./FONT/P

PFONT SIZE=3D2Eric/FONT
/P

/BODY
/HTML
- --_=_NextPart_001_01C04881.9B4B1730--
- --
- --
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/

RE: html or plain text

2000-11-07 Thread Mike Sullivan

I think I speak for many when I say... no_html /
;-)
Mike

 -Original Message-
 From: Eric Fickes [SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, November 07, 2000 9:13 AM
 To:   CF-Talk
 Subject:  html or plain text
 
 testing my mail format.  For some reason OL sends plain text to everyone
 else.
 
 This is only a test
 --
 --
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send
 a message with 'unsubscribe' in the body to
 [EMAIL PROTECTED]

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



RE: Blocking IPs

2000-11-06 Thread Mike Sullivan

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Juan,

You could block an intruder at your web server with the facilities of
the httpd software, the server's tcp/ip features, you can also do it
from CF (but you would have to wait for the intruder to request a Cf
template... maybe you don't want to wait that long!).  There are  a
lot of inetd sorts of security that depend on the platform you are
using.

The best (fastest, most robust and a goodie that is designed for it)
would be at your firewall/router.  

You will shortly find that you need to see your site in the context
of a greater security policy.  Balance that with why you have a web
site and what you keep there }:/.  Formulate a real security policy
and put it to work.  

Is your abuser always from the same IP address?  Then report it to
the upstream ISP and help protect the field.  OTOH, a dial up account
is easy to setup and abusive nut cases are very fond of them as it
costs them nothing.  

Do you want to catch this black hat in the act?  Put up a honey pot
and attract all kinds of critters.

But really, think about what you do with your server and get a
working policy, firewall, router, etc.  Get some books, investigate a
DMZ, encryption etc.  Visit CERT, Security Focus, l0pth and others.

Enjoy, but remember, your not in Kansas any more.
Mike

- -Original Message-
From:   Juan Andres Alvarez Valenzuela [SMTP:[EMAIL PROTECTED]]
Sent:   Monday, November 06, 2000 8:30 AM
To: CF-Talk
Subject:Blocking IPs

Hello everyone,

Someone has experience in blocking the access to some IP number in CF
?
We have a potential information robber and we are trying to block
him.

ideas?

~Juandres


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

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com

iQA/AwUBOgc2K3YFmKomMlANEQJTLQCeJuiwku1xHTP+c3vCtLOaa72ZUnMAn1Y0
3QkmOUPy9j9RmrwsCSdAMzTS
=Qopx
-END PGP SIGNATURE-

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



RE: LDAP

2000-10-31 Thread Mike Sullivan

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

for ldap3:
cfldap action="QUERY"
name="entrytest1"
attributes="dn, subschemasubentry"
start=""
scope="BASE"
startrow="1"
filter="objectclasss=*"
server="xxx.xxx.xxx.xxx"

cfoutput query="entrytest1"
DN: Root DSEbr
subschemaSubEntry: #subschemasubentry#BRBR
/cfoutput

if your ldap version is  3, try name,value as the attibute list:
cfldap action="QUERY"
name="entrytest2"
attributes="name, value"
scope="subtree"
startrow="1"
server="172.16.0.105"

cfoutput query="entrytest2"
DN: #name#  VALUE: #valuebr
/cfoutput
HTH
Mike

- -Original Message-
From:   Dave Hannum [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, October 31, 2000 6:29 AM
To: CF-Talk
Subject:OT:  LDAP

Is there any way to dump the column names from an LDAP table?  For
some
unknown reason, the person who set up our LDAP used an unconventional
naming
scheme, and I don't know what all is in there.

Thanks,
Dave


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

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com

iQA/AwUBOf7wgXYFmKomMlANEQL/LQCfSxibFSumqiVlzLfFQXVBFRSthD0An3q/
jrRJ8qsZQDMskspOKm4TJDch
=8AXa
-END PGP SIGNATURE-

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



PDFlib - Any CF examples out there?

2000-10-31 Thread Mike Sullivan

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

All,

I am looking at PDFlib for dynamic PDF generation (www.pdflib.com
thanks steve.aylor)

It looks good but I an having some trouble mimicking the asp example.
 I have instantiated the com object without errors, but I don't get
the part where I fire up acrobat (in the example, this seems to be
done via "response.contenttype..." etc.)  How is that done in CF?

TIA
Mike

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com

iQA/AwUBOf9VPXYFmKomMlANEQKAzQCg3IqtDd90ROJkSlvWm2RGPBVIL+4AnAtX
XzMRuEdQHWHIPC2+7yZGYVx6
=KZUx
-END PGP SIGNATURE-

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



Dynamic PDF

2000-10-30 Thread Mike Sullivan

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

All,
Is there a way to create PDFs on the fly?  My users get a results set
from a query and I would like to give them a dynamic way to print it.

Any thoughts on how it can be done?

TIA
Mike 

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com

iQA/AwUBOf4JHXYFmKomMlANEQJJ9QCgztd+pjH8xqPClOc8t4+C+AyTbGwAoL8i
+Qlmxq7j9jccBYIrzdqrT4hA
=uLlS
-END PGP SIGNATURE-

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



RE: Linux, MySql, NT, Access - which?

2000-09-29 Thread Mike Sullivan

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It is fairly easy to export access into a csv format and mysql will
gladly import that (and rather quickly too).  You just need to write
the sql to create the tables matching access schemas and off you go. 
BTW the relation (?) view of your database (in access) is your friend
when it comes to PK/FK...
Cheers,
Mike

- -Original Message-
From:   W Luke [SMTP:[EMAIL PROTECTED]]
Sent:   Friday, September 29, 2000 6:30 AM
To: CF-Talk
Subject:Re: Linux, MySql, NT, Access - which?

- - Original Message -
From: "Ryan" [EMAIL PROTECTED]
Newsgroups: cf-talk
Sent: Friday, September 29, 2000 2:00 PM
Subject: Re: Linux, MySql, NT, Access - which?


 At 18:53 9/29/00 +1000, you wrote:
 on 9/29/00 6:37 PM, W Luke at [EMAIL PROTECTED] wrote:
 
  I have use of an excellent server in Telehouse Docklands that's
  running Linux; so my question to you is, should I go for Linux
  and MySql or 
stick
  with the ease (IMO) of NT and Access?  Incidentally if I go over
  to 
MySql,
  is there an easy and bug-free way of converting Access Databases
  to 
MySql?

 I have some vb code you can copy and paste into a module (or
 something..) in access and then run it, it will generate a text
 file with SQL
statements
 to create the tables in SQL, and I think it puts the data in there,
 too. Had to modify it a bit to get it working, but it works now.
 Let me know if you want it.

Sounds dead handy - would love a look, thanks.

Will

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

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com

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



RE: Email Trigger?

2000-09-29 Thread Mike Sullivan

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Check out the features of sendmail (get the bat book), via the
aliases file, you can pipe email to a program for a particular user. 
That script can do whatever your next step is.

HTH
Mike

- -Original Message-
From:   Eric Dawson [SMTP:[EMAIL PROTECTED]]
Sent:   Thursday, September 28, 2000 2:34 PM
To: CF-Talk
Subject:Re: Email Trigger?

what did you want to trigger?
There may be other ways to trigger the action you need.

I don't know how you would receive the pop mail except to schedule
pickup of 
the mail. Ideas?

Eric

From: Karl Simanonok [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Subject: Email Trigger?
Date: Thu, 28 Sep 2000 09:55:54 -0700

No, I do not want email sent at a certain time or upon a user action.
 I
want a Cold Fusion template to be executed when I send email to an
email
address.  It can be an email account on the same server if that helps
(you'd think so). I know I can do it by using a scheduled task to
check
for new email at specified intervals, but scheduled tasks are
frequently
unreliable and either I'd have to have very short intervals of
checking
or I'd have to be content with waiting (and hoping) for the scheduled
task to run.  So intstead I would like to be able to trigger a CF
template some other way, using email.  Maybe there's a CFX out there
for
this purpose, or some obscure CF function that I haven't heard of
using
this way?

Regards,

Karl Simanonok

__
___
Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.

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

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com

iQA/AwUBOdSp9nYFmKomMlANEQL4LwCgv28Qd+XxIcRA7I6EkePcacx5mp0An0iF
VQkyqNAiVHt28w6xlYqiFQ+s
=4qDA
-END PGP SIGNATURE-
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



query exchange 5.5 ldap

2000-09-27 Thread Mike Sullivan

Greetings,

I am trying to query my ldap server on exchange 5.5.  I can't seem to
identify the attribute / values that exchange wants to see.  I am sure that
the basic setup is ok as I can query the public ldap servers, but exchange
seems to have different attribute names (?) and I can't seem to find any
additional info on just how the query should be formulated.  Here is an
example of my query:
cfldap server="172.16.0.105"
action="query"
name="test"
start="ou=*"   !--- I also tried "cityhall", the name of our
---
 !--- exchange organization.  ---
attributes="cn"
filter="cn=m*"  !--- with or without filters, same result ---
cfoutput query="test"
.

What comes up is this error:
"No such object..."

Has anyone done this with exchange?

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



RE: Need a BIG favor if you are using CF Server 4.5 (Not upgrade)

2000-09-21 Thread Mike Sullivan

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

yes
mike

- -Original Message-
From:   J.Milks [SMTP:[EMAIL PROTECTED]]
Sent:   Thursday, September 21, 2000 11:50 AM
To: CF-Talk
Subject:Need a BIG favor if you are using CF Server 4.5 (Not
upgrade)

This is a multi-part message in MIME format.

- --=_NextPart_000_00EA_01C023DB.25F07720
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

HI All,
Would someone who is using CF 4.5 please look in their CFFUSION\BIN =
directory and tell me if there is dll named "ns2cf.dll".

This is the DLL required to use CF with Netscape Enterprise Server
2.0, =
and I think the FULL VERSION of 4.5, and not the upgrade from 4.0,
does =
not install this dll, thus making it incapable of running on NS 2.0.

Thanks a bunch,

Jim

- --=_NextPart_000_00EA_01C023DB.25F07720
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
HTMLHEAD
META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1"
META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR
STYLE/STYLE
/HEAD
BODY bgColor=3D#ff
DIVFONT face=3DArial size=3D2HI All,/FONT/DIV
DIVFONT face=3DArial size=3D2Would someone who is using CF 4.5 =
please look in=20
their CFFUSION\BIN directory and tell me if there is dll named=20
"ns2cf.dll"./FONT/DIV
DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV
DIVFONT face=3DArial size=3D2This is the DLL required to use CF
with =
Netscape=20
Enterprise Server 2.0, and I think the FULL VERSION of 4.5, and not
the =
upgrade=20
from 4.0, does not install this dll, thus making it incapable of
running =
on NS=20
2.0./FONT/DIV
DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV
DIVFONT face=3DArial size=3D2Thanks a bunch,/FONT/DIV
DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV
DIVFONT face=3DArial size=3D2Jim/FONT/DIV/BODY/HTML

- --=_NextPart_000_00EA_01C023DB.25F07720--

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

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com

iQA/AwUBOcpruHYFmKomMlANEQLIigCg4MkqDtoASnFoYawtu7axZ892QBwAoKcP
ea42+Ej+2S2UDwcj1T3JDsgD
=irYK
-END PGP SIGNATURE-
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: CFFILE problem on linux

2000-08-07 Thread Mike Sullivan

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Who is your httpd running as and does it have access to the file
system?
Mike

- -Original Message-
From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent:   Sunday, August 06, 2000 10:36 PM
To: [EMAIL PROTECTED]
Subject:CFFILE problem on linux



Hi there,

I'm trying to get CFFILE working on a linux box. ColdFusion is
running as a user
called coldfusion which has group write privileges to my HTML
directory. If I
log in as the coldfusion user I can create directories and files in
the HTML
directory OK.

However, when I try to do a CFFILE ACTION="WRITE" into that same
directory I
get a permissions error.

I am not running advanced security.

What is going on?

- 
Rob Keniger


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

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com

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



RE: Studio tips

2000-08-03 Thread Mike Sullivan

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Phil,
Tip: Use F9 to toggle the code view to a full window and back.
Mike

- -Original Message-
From:   Phil Labonte [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, August 02, 2000 6:30 PM
To: [EMAIL PROTECTED]
Subject:Studio tips

I am looking for any ColdFusion Studio 4.5 tips and tricks.

We are giving a small presentation at the Ottawa ColdFusion User
Group
Meeting this Tuesday and I am looking for anything you can send.

Things like keyboard shortcuts, things people do to make coding a
little
easier.  Some tricks that people who use Studio to code every once in
a
while might not know.

Any help would be greatly appreciated.

Thanks!

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

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com

iQA/AwUBOYmDmXYFmKomMlANEQLJ4gCghcKwVdE+mrbp9gyMra6fh2L55D4AoKjO
BuCZD6ZYkOo/fpAd998QAWFS
=gOOL
-END PGP SIGNATURE-
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



MySql ODBC Driver

2000-07-07 Thread Mike Sullivan

All,
I am testing MySql (shareware-3.22.30) and MyODBC (2.50.31) on a win-95
development workstation with CF studio 4.5 and the single user enterprise
server along with apache's win32 (1.3.12) http server.

Q1.  Has anyone had experience with "manually" installing the CF server
since it doesn't detect the Apache server in this configuration (i.e. not a
service per se on a win 95 machine).  I have it mostly working by coping the
cfdocs and cfide stuff to my ../htdocs/ directory.  What won't work is any
file system "Browse" function (like in the ODBC/DSN config page where you
might press the "browse" button to find the database for the DSN).  If I hit
the browse button it tries indefinitely, but dose not return (I can however
press "cancel" and regain control).  I can't help but think it is related to
my "manual" installation procedure being deficient somehow.

Q2.  Has anyone had experience with installing ODBC drivers?  I installed
the MyODBC drivers and tested fine.  You can see it from the win95 control
panel and such.  However in the CF administrator page it is not displayed as
an option in the drop down selection box.  I looked in the registry to see
if it got set up in there and that looks fine (and tests fine within the
driver test program).  Again I think it could be related to my manual
install attempt.  Is there any documentation out there on this?

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