Re: Q about CFEclipse

2006-03-10 Thread Mark Drew
There is an FTP function in CFEclipse under the File Explorer which allows
you to edit things directly on a remote server.

The way DW does the synching is also awesome (well as of version 8) and that
is something I am thinking about putting in CFE but not sure how I shall
implement it yet.

MD


On 3/10/06, S. Isaac Dealey [EMAIL PROTECTED] wrote:

  Does cfeclipse have the built in FTP file browser like
  Homesite does?  I
  find that to be a useful feature

  Rick

 There is an FTP plugin for eclipse iirc... I'm not using it yet...
 eclipse/cfe still doesn't have features that I use every day... most
 notably auto-synch (Dreamweaver - put files on save in the project).
 Really, ideally eclipse or cfeclipse should have something that's a
 bit more robust than what Dreamweaver has currently. It should a)
 provide auto-synchronization for any file operation which occurs in
 the file browser (move, rename, delete -- preferably paired with SVN
 integration, so that I can svn-rename and have that change
 automatically coppied to a remote folder (I don't test projects in my
 svn working directory)) and b) should support multiple remote sites so
 that if I make changes to /index.cfm in project x I can have it
 automatically copy that file both to another mirrored local directory
 and to an ftp site if I want. This would save me the considerable
 hassle of trying to get rsync working on my windows machine. ... I
 think somebody recommended a windows alternative to rsync although at
 the moment I can't remember the name of it... damn... that was
 probably important... oh well...




 s. isaac dealey 434.293.6201
 new epoch : isn't it time for a change?

 add features without fixtures with
 the onTap open source framework

 http://www.fusiontap.com
 http://coldfusion.sys-con.com/author/4806Dealey.htm


 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234982
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


MySQL question

2006-03-10 Thread James Smith
One of my fields has had a collection of line breaks inserted in between
first and second names.  I think I have solved the problem but I now need to
remove all of the line breaks that have been inserted so far.

I could query the db then use CF to replace chr(13)  chr(10) with  , but
is there a better, faster was to do this in SQL directly, preferably
replacing \s*\r\n\s* so that it replaces the line break and any leading or
trailing whitespace replacing it with one single space character.

--
James Smith
IT Director - Music Express


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234983
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: FCKeditor and the TMT validation javascript library.

2006-03-10 Thread Massimo Foti
 input type=hidden id=teaser name=teaser value=
style=display:none
 /
 input type=hidden id=teaser___Config value= style=display:none /
 iframe id=teaser___Frame

src=admin/includes/fckeditor/editor/fckeditor.html?InstanceName=teaseramp;
 Toolbar=Basic width=100% height=100 frameborder=no
 scrolling=no/iframe

 Anyone have any ideas whatsoever on how I can get the tmt:required=true
 snip of code somewhere in there to force it to be required?

I think it should go into the id=teaser hidden field. But I am not 100%
sure


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234984
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


References for Beginners

2006-03-10 Thread Martin Thorpe
I have been asked to compile a list of references by my boss for a
Webmaster type who is looking to move to Coldfusion, I have quite a list
already just wondering if there are any that you feel should be added?

 

Cheers

Martin

 

 

The list so far

 http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/part_get.htm
http://livedocs.macromedia.com/coldfusion/6.1/ 

http://coldfusion.sys-con.com/

http://www.fusebox.org/

http://john.beynon.org.uk/index.cfm?mode=cat
http://john.beynon.org.uk/index.cfm?mode=catcatid=8C3B9E31-802D-00D5-7
3ADB5D764E60C74 catid=8C3B9E31-802D-00D5-73ADB5D764E60C74

http://www.macromedia.com/cfusion/webforums/forum/index.cfm?forumid=1

http://www.easycfm.com/

http://www.coldfusioncookbook.com/

http://www.macromedia.com/devnet/coldfusion/

http://www.cflib.org/index.cfm

http://www.houseoffusion.com/cf_lists/

http://www.macromedia.com/software/coldfusionmx61/downloads/

http://www.eclipse.org/

http://www.cfeclipse.org/

http://www.forta.com/books/

 




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234985
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


Re: Q about CFEclipse

2006-03-10 Thread Douglas Knudsen
use ant perhaps?

DK

On 3/10/06, Mark Drew [EMAIL PROTECTED] wrote:
 There is an FTP function in CFEclipse under the File Explorer which allows
 you to edit things directly on a remote server.

 The way DW does the synching is also awesome (well as of version 8) and that
 is something I am thinking about putting in CFE but not sure how I shall
 implement it yet.

 MD


 On 3/10/06, S. Isaac Dealey [EMAIL PROTECTED] wrote:
 
   Does cfeclipse have the built in FTP file browser like
   Homesite does?  I
   find that to be a useful feature
 
   Rick
 
  There is an FTP plugin for eclipse iirc... I'm not using it yet...
  eclipse/cfe still doesn't have features that I use every day... most
  notably auto-synch (Dreamweaver - put files on save in the project).
  Really, ideally eclipse or cfeclipse should have something that's a
  bit more robust than what Dreamweaver has currently. It should a)
  provide auto-synchronization for any file operation which occurs in
  the file browser (move, rename, delete -- preferably paired with SVN
  integration, so that I can svn-rename and have that change
  automatically coppied to a remote folder (I don't test projects in my
  svn working directory)) and b) should support multiple remote sites so
  that if I make changes to /index.cfm in project x I can have it
  automatically copy that file both to another mirrored local directory
  and to an ftp site if I want. This would save me the considerable
  hassle of trying to get rsync working on my windows machine. ... I
  think somebody recommended a windows alternative to rsync although at
  the moment I can't remember the name of it... damn... that was
  probably important... oh well...
 
 
 
 
  s. isaac dealey 434.293.6201
  new epoch : isn't it time for a change?
 
  add features without fixtures with
  the onTap open source framework
 
  http://www.fusiontap.com
  http://coldfusion.sys-con.com/author/4806Dealey.htm
 
 
 

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234988
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


Re: Q about CFEclipse

2006-03-10 Thread Mark Drew
There is a Team extension point that if you use CVS you will know about, I
think this is the way to do it in Eclipse.

You would assign an FTP/RDS site to your project and sort out the paths etc
then you can synch.

You CAN do it with ant with the FTP ant extension so that you upload stuff
in the background on change. but I would prefer more control you know?

MD

On 3/10/06, Douglas Knudsen [EMAIL PROTECTED] wrote:

 use ant perhaps?

 DK

 On 3/10/06, Mark Drew [EMAIL PROTECTED] wrote:
  There is an FTP function in CFEclipse under the File Explorer which
 allows
  you to edit things directly on a remote server.
 
  The way DW does the synching is also awesome (well as of version 8) and
 that
  is something I am thinking about putting in CFE but not sure how I shall
  implement it yet.
 
  MD
 
 
  On 3/10/06, S. Isaac Dealey [EMAIL PROTECTED] wrote:
  
Does cfeclipse have the built in FTP file browser like
Homesite does?  I
find that to be a useful feature
  
Rick
  
   There is an FTP plugin for eclipse iirc... I'm not using it yet...
   eclipse/cfe still doesn't have features that I use every day... most
   notably auto-synch (Dreamweaver - put files on save in the project).
   Really, ideally eclipse or cfeclipse should have something that's a
   bit more robust than what Dreamweaver has currently. It should a)
   provide auto-synchronization for any file operation which occurs in
   the file browser (move, rename, delete -- preferably paired with SVN
   integration, so that I can svn-rename and have that change
   automatically coppied to a remote folder (I don't test projects in my
   svn working directory)) and b) should support multiple remote sites so
   that if I make changes to /index.cfm in project x I can have it
   automatically copy that file both to another mirrored local directory
   and to an ftp site if I want. This would save me the considerable
   hassle of trying to get rsync working on my windows machine. ... I
   think somebody recommended a windows alternative to rsync although at
   the moment I can't remember the name of it... damn... that was
   probably important... oh well...
  
  
  
  
   s. isaac dealey 434.293.6201
   new epoch : isn't it time for a change?
  
   add features without fixtures with
   the onTap open source framework
  
   http://www.fusiontap.com
   http://coldfusion.sys-con.com/author/4806Dealey.htm
  
  
  
 
 

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234989
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Q about CFEclipse

2006-03-10 Thread Scott Stroz
The FTP functionality in Eclipse is not very good though.  I use FIleZilla
as my FTP server and when I try to connect with Eclipse, all the files
always show as read only.  I have accessd the server with other FTP clients,
including DW, without issue.

--
Scott Stroz
Boyzoid.com
___
Some days you are the dog,
Some days you are the tree.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234990
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


RE: Flash form popup window

2006-03-10 Thread Bobby Hartsfield
That wouldn’t be a popup. It'd be a normal window (without a target, it
should probably not even be a NEW window)

This is in the archives somewhere. You'll find more detail if you find the
old posts but for the most part you want to do something like...

getUrl(javascript:window.open())

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

 

 

-Original Message-
From: Martyn Bowis [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 09, 2006 7:37 PM
To: CF-Talk
Subject: Re: Flash form popup window

getURL(put your url in here to your cfm page);

Need to use the quotes :)
  - Original Message - 
  From: Steve Milburn 
  To: CF-Talk 
  Sent: Friday, March 10, 2006 1:25 PM
  Subject: Flash form popup window


  Can anyone point me in the right direction for creating a popup window 
  when using flash forms?  I am looking for similar functionality to what 
  Ben Forta has on his web site for submitting a review for an ISP.  It 
  creates a new window with a new form allowing you to complete the review.

  I've seen a few examples that use the popup manager class, but the 
  contentPath is throwing me off.  It looks like it wants a .swf file.  I 
  want it to display another cf form.

  Any help is appreciated.

  Steve
  ---
  ---


  



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234991
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


Re: Q about CFEclipse

2006-03-10 Thread Michael Traher
Despite being a great CFE fan, I have to agree that the ftp facilities
within CFE file explorer are a weak point and I also use FileZilla.
However.

For anyone not used to Eclipse the thing is if you think of a feature that
you need there is probably several plugins out there to do the job.

http://www.eclipse-plugins.info/eclipse/plugins.jsp?category=Deployment

On 3/10/06, Scott Stroz [EMAIL PROTECTED] wrote:

 The FTP functionality in Eclipse is not very good though.  I use FIleZilla
 as my FTP server and when I try to connect with Eclipse, all the files
 always show as read only.  I have accessd the server with other FTP
 clients,
 including DW, without issue.

 --
 Scott Stroz
 Boyzoid.com
 ___
 Some days you are the dog,
 Some days you are the tree.


 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234992
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


Re: SQL-generated primary keys

2006-03-10 Thread Chris Mueller
Thanks everyone for all your help! 

I am using SQL server, and have reworked my queries to use SCOPE_IDENTITY().

Chris

If it is SQL Server, do this

cfquery
   Insert into () Values ();
   SELECT  SCOPE_IDENTITY() AS id
/cfquery
That will give you the correct identity id

Sandra Clark
-Original Message-
From: Chris Mueller [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 09, 2006 4:35 PM
To: CF-Talk
Subject: SQL-generated primary keys

Here's a question I've been wrestling wtih.

Suppose that there is an HTML form to create a new user. When the form is
submitted, that user's information is added to the 'user' table.
The table uses an auto-increment integer for its primary key/user id, so I'd
like to grab that value for the newly created user.

I've been using queries like this one: SELECT MAX(user_id) FROM users, but
I worry that if two users are created at the same time, then my query might
give me the user id of the wrong user.

Is there a better way to do this? Or maybe I shouldn't even worry about
this?

Thanks.
Chris

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234993
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: References for Beginners

2006-03-10 Thread S . Isaac Dealey
Well if you're going to include fusebox.org you might also want to
include some other frameworks for variety:

http://www.mach-ii.com
http://www.model-glue.com
http://www.fusiontap.com

Did I leave out any popular frameworks?

I would also recommend stopping the livedocs url's above 6.1 ... have
him go to http://livedocs.macromedia.com so he can see the docs for
CF7 from there.

And of course, the downloads for CF7:

http://www.macromedia.com/software/coldfusion/downloads/

Even if you're using CF6.1 in the office, it's a good idea to know
where to go to get the latest version -- and it can be installed in
tandem with CF6.1 on any given server to try out code that requires
new features.

 I have been asked to compile a list of references by my
 boss for a
 Webmaster type who is looking to move to Coldfusion, I
 have quite a list
 already just wondering if there are any that you feel
 should be added?

 Cheers

 Martin

 The list so far

  http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/p
  art_get.htm
 http://livedocs.macromedia.com/coldfusion/6.1/

 http://coldfusion.sys-con.com/

 http://www.fusebox.org/

 http://john.beynon.org.uk/index.cfm?mode=cat
 http://john.beynon.org.uk/index.cfm?mode=catcatid=8C3B9E
 31-802D-00D5-7
 3ADB5D764E60C74
 catid=8C3B9E31-802D-00D5-73ADB5D764E60C74

 http://www.macromedia.com/cfusion/webforums/forum/index.cf
 m?forumid=1

 http://www.easycfm.com/

 http://www.coldfusioncookbook.com/

 http://www.macromedia.com/devnet/coldfusion/

 http://www.cflib.org/index.cfm

 http://www.houseoffusion.com/cf_lists/

 http://www.macromedia.com/software/coldfusionmx61/download
 s/

 http://www.eclipse.org/

 http://www.cfeclipse.org/

 http://www.forta.com/books/

s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234994
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Q about CFEclipse

2006-03-10 Thread S . Isaac Dealey
Seems like it'd be weak integration...

What I'm looking for has to integrate with ctrl+s while I'm editing a
template, the file-save menu (or more appropriately any save operation
regardless of the interface widget that triggers it), and a collection
of file-browser context-menu entries.

Does Eclipse have configurable hooks that would allow me to apply an
ant script or batch file at all of these integration points?

 use ant perhaps?

 DK

 On 3/10/06, Mark Drew [EMAIL PROTECTED] wrote:
 There is an FTP function in CFEclipse under the File
 Explorer which allows
 you to edit things directly on a remote server.

 The way DW does the synching is also awesome (well as of
 version 8) and that
 is something I am thinking about putting in CFE but not
 sure how I shall
 implement it yet.

 MD


 On 3/10/06, S. Isaac Dealey [EMAIL PROTECTED] wrote:
 
   Does cfeclipse have the built in FTP file browser
   like
   Homesite does?  I
   find that to be a useful feature
 
   Rick
 
  There is an FTP plugin for eclipse iirc... I'm not
  using it yet...
  eclipse/cfe still doesn't have features that I use
  every day... most
  notably auto-synch (Dreamweaver - put files on save in
  the project).
  Really, ideally eclipse or cfeclipse should have
  something that's a
  bit more robust than what Dreamweaver has currently. It
  should a)
  provide auto-synchronization for any file operation
  which occurs in
  the file browser (move, rename, delete -- preferably
  paired with SVN
  integration, so that I can svn-rename and have that
  change
  automatically coppied to a remote folder (I don't test
  projects in my
  svn working directory)) and b) should support multiple
  remote sites so
  that if I make changes to /index.cfm in project x I can
  have it
  automatically copy that file both to another mirrored
  local directory
  and to an ftp site if I want. This would save me the
  considerable
  hassle of trying to get rsync working on my windows
  machine. ... I
  think somebody recommended a windows alternative to
  rsync although at
  the moment I can't remember the name of it... damn...
  that was
  probably important... oh well...
 
 
 
 
  s. isaac dealey 434.293.6201
  new epoch : isn't it time for a change?
 
  add features without fixtures with
  the onTap open source framework
 
  http://www.fusiontap.com
  http://coldfusion.sys-con.com/author/4806Dealey.htm
 
 
 



 ~~
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234995
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


RE: FCKeditor and the TMT validation javascript library.

2006-03-10 Thread Andy Matthews
Massimo...

That's where I think it should go too. The problem is that the creation code
for the FCK editor obfuscates me from direct contact with that hidden field.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Massimo Foti [mailto:[EMAIL PROTECTED]
Sent: Friday, March 10, 2006 3:39 AM
To: CF-Talk
Subject: Re: FCKeditor and the TMT validation javascript library.


 input type=hidden id=teaser name=teaser value=
style=display:none
 /
 input type=hidden id=teaser___Config value= style=display:none /
 iframe id=teaser___Frame

src=admin/includes/fckeditor/editor/fckeditor.html?InstanceName=teaseramp;
 Toolbar=Basic width=100% height=100 frameborder=no
 scrolling=no/iframe

 Anyone have any ideas whatsoever on how I can get the tmt:required=true
 snip of code somewhere in there to force it to be required?

I think it should go into the id=teaser hidden field. But I am not 100%
sure


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com






~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234996
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


RE: References for Beginners

2006-03-10 Thread Andy Matthews
www.kodefusion.com


!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Martin Thorpe [mailto:[EMAIL PROTECTED]
Sent: Friday, March 10, 2006 3:51 AM
To: CF-Talk
Subject: References for Beginners


I have been asked to compile a list of references by my boss for a
Webmaster type who is looking to move to Coldfusion, I have quite a list
already just wondering if there are any that you feel should be added?

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234997
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: MySQL question

2006-03-10 Thread Horne, Jeff
 ...is there a better, faster was to do this in SQL directly,
preferably replacing \s*\r\n\s* so that it replaces the line break and
any leading or trailing whitespace replacing it with one single space
character. 

I'm not sure if this will work with the spaces but it seems it might.
Doing a mass replace in MySQL is fairly easy.

The query format is ...

UPDATE table_name SET column_name =
REPLACE(column_name,original_string,replace_string)

In this example, 

UPDATE `Clients` SET `last_name` = REPLACE(`last_name`,Smith,Jones)

Hope this helps.

Jeff Horne

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234998
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


simple cfmail question...

2006-03-10 Thread Che Vilnonis
User = Tom Jones
User Email = [EMAIL PROTECTED]

Using the cfmail tag, how do I write the from= line so that when I get an
email from Tom that the From line in my email client says Tom Jones and
not [EMAIL PROTECTED] Am I making sense?

Thanks, Che.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234999
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Q about CFEclipse

2006-03-10 Thread Rick Root
Scott Stroz wrote:
 The FTP functionality in Eclipse is not very good though.  

Neither is Homesite's FTP functionality, but I still use it ;)

rick

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235000
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


cfdocument header/footer

2006-03-10 Thread Patrick Whittingham
Hi All,

  I am having a problem which will display field descriptions in each of the 
header (ie., Employee, Address, City ...) on every page and the data (1000 
rows). for pdf/flashpaper. Any help will be appreciated. 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235001
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: simple cfmail question...

2006-03-10 Thread Mingo Hagen
I think this is what you mean?

cfmail from='Tom Jones [EMAIL PROTECTED]'

Mingo.


Che Vilnonis wrote:

User = Tom Jones
User Email = [EMAIL PROTECTED]

Using the cfmail tag, how do I write the from= line so that when I get an
email from Tom that the From line in my email client says Tom Jones and
not [EMAIL PROTECTED] Am I making sense?

Thanks, Che.




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235002
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Strip Email function

2006-03-10 Thread Rick Root
S. Isaac Dealey wrote:
Why would you strip those characters out rather than just
use an
isEmail() function and refuse to accept invalid input?
 
How about: isVALID(email,#form.email#)

Damn it, looks like I need to read the CFMX7 function and tag list again!

I didn't know about this one.  What a great function!

Of course, I have CFMX7 here at work and on my own server, so I can use 
stuff like that for my own apps but most of the stuff I develop for 
open source I try to stick to CFMX 6.1 compatible so I end up using 
the isEmail() function from cflib anyway.

Rick

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235003
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


RE: simple cfmail question...

2006-03-10 Thread Robert Redpath
from=Tom Jones [EMAIL PROTECTED]



From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Fri 3/10/2006 9:22 AM
To: CF-Talk
Subject: simple cfmail question...



User = Tom Jones
User Email = [EMAIL PROTECTED]

Using the cfmail tag, how do I write the from= line so that when I get an
email from Tom that the From line in my email client says Tom Jones and
not [EMAIL PROTECTED] Am I making sense?

Thanks, Che.




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235004
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: simple cfmail question...

2006-03-10 Thread Mingo Hagen
what he said

Robert Redpath wrote:

from=Tom Jones [EMAIL PROTECTED]



From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Fri 3/10/2006 9:22 AM
To: CF-Talk
Subject: simple cfmail question...



User = Tom Jones
User Email = [EMAIL PROTECTED]

Using the cfmail tag, how do I write the from= line so that when I get an
email from Tom that the From line in my email client says Tom Jones and
not [EMAIL PROTECTED] Am I making sense?

Thanks, Che.






~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235005
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


Re: cfquery and insert help needed

2006-03-10 Thread Rick Root
James Holmes wrote:
 Use cfqueryparm as should be done in every query.

QFT.

Get in the habit now before it's too late =)

Rick

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235006
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


Re: OT: Styling form inputs

2006-03-10 Thread Rick Root
Les Mizzell wrote:
 dave wrote:
 
input:focus,textarea:focus { background-color: #CCFF99; border: 1px dashed 
#E92D68; }
 
 Ooo - that's nice. I've never thought abour trying that one.
 
 I've been working on a bunch of government sites lately, so 
 accessibility is important. Looks like a cool thing to assist the 
 visually impared (which reminds me that my eyes are starting to suck 
 some these days too...).

Except it doesn't work in IE6, apparently.

Rick

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235007
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: simple cfmail question...

2006-03-10 Thread Che Vilnonis
thanks. wasn't sure if it were that simple or not.

-Original Message-
From: Mingo Hagen [mailto:[EMAIL PROTECTED]
Sent: Friday, March 10, 2006 9:35 AM
To: CF-Talk
Subject: Re: simple cfmail question...


what he said

Robert Redpath wrote:

from=Tom Jones [EMAIL PROTECTED]



From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Fri 3/10/2006 9:22 AM
To: CF-Talk
Subject: simple cfmail question...



User = Tom Jones
User Email = [EMAIL PROTECTED]

Using the cfmail tag, how do I write the from= line so that when I get an
email from Tom that the From line in my email client says Tom Jones and
not [EMAIL PROTECTED] Am I making sense?

Thanks, Che.








~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235008
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


Re: simple cfmail question...

2006-03-10 Thread Charlie Hanlon
This is usually how I code it

cfmail to= 
from=[EMAIL PROTECTED]
subject=


cfmailparam name=from value=Tom Jones [EMAIL PROTECTED]


  /cfmail

hth
charlie hanlon


- Original Message - 
From: Mingo Hagen [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Friday, March 10, 2006 9:34 AM
Subject: Re: simple cfmail question...


 what he said

 Robert Redpath wrote:

from=Tom Jones [EMAIL PROTECTED]



From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Fri 3/10/2006 9:22 AM
To: CF-Talk
Subject: simple cfmail question...



User = Tom Jones
User Email = [EMAIL PROTECTED]

Using the cfmail tag, how do I write the from= line so that when I get 
an
email from Tom that the From line in my email client says Tom Jones and
not [EMAIL PROTECTED] Am I making sense?

Thanks, Che.






 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235009
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: cfquery and insert help needed

2006-03-10 Thread Andy Matthews
QFT?

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: Friday, March 10, 2006 8:38 AM
To: CF-Talk
Subject: Re: cfquery and insert help needed


James Holmes wrote:
 Use cfqueryparm as should be done in every query.

QFT.

Get in the habit now before it's too late =)

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235010
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


Using CF to redirect incoming email blast clicks.

2006-03-10 Thread Andy Matthews
I'm trying to code a quick and dirty way to track email blasts for a client.
In the email is a link which looks like this:
http://www.theDomainName.com/email.cfm?track=WTHG5link=index.html

Each email blast has a different code, in this case it's WTHG5. The link key
is the page to which the user should be redirected on clicking. The code on
email.cfm is at the bottom of this email.

I was under the impression that the above link would be unique and be
properly tracked in our logs. So I would see a hit to
email.cfm?track=WTHG5link=index.html which would be different from
email.cfm?track=WTHG5link=aboutus.html.

I'm finding that's not the case. I see several incoming hits to movie.html
and other pages that are unlikely to be search engine hits. The problem is
that there's no distinction between a hit generated by campaign abc123 vs
xyz789.

Does anyone have suggestions or code changes that would let me track these
clicks properly?


 code ===

cfset website = http://www.theDomainName.com/

cfif StructKeyExists(URL,link) AND URL.link IS NOT 
cfset forwardlink = website  URL.link
cfelse
cfset forwardlink = website
/cfif

html
head
title theDomainName /title
meta http-equiv=refresh content=0;
url=cfoutput#forwardlink#/cfoutput
link href=includes/styles.css rel=stylesheet type=text/css
/head
body

/body
/html

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235011
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


IsUserInRole - question

2006-03-10 Thread Edward Chanter
I can't seem to get the IsUserInRole function to accept dynamic data, eg.

cfset dynData = '15'

cfif IsUserInRole(#dynData#)
User is in this role
/cfif

Am I being dumb here or am I missing something or is this deliberate?

best wishes,

-= Ed


~
Edward Chanter
Technical Innovations Manager
Collaborative Connections Ltd.

http://www.cc.uk.com/
Phone: +44 (0) 1273 832221
Mobile: +44 (0) 7866 365282
~


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235012
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


RE: OT: Styling form inputs

2006-03-10 Thread Andy Matthews
No...

Attribute selectors only work in IE7 and FF (maybe Safari too).

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: Friday, March 10, 2006 8:40 AM
To: CF-Talk
Subject: Re: OT: Styling form inputs


Les Mizzell wrote:
 dave wrote:

input:focus,textarea:focus { background-color: #CCFF99; border: 1px dashed
#E92D68; }

 Ooo - that's nice. I've never thought abour trying that one.

 I've been working on a bunch of government sites lately, so
 accessibility is important. Looks like a cool thing to assist the
 visually impared (which reminds me that my eyes are starting to suck
 some these days too...).

Except it doesn't work in IE6, apparently.

Rick



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235013
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


Re: simple cfmail question...

2006-03-10 Thread Mingo Hagen
Charlie Hanlon wrote:

This is usually how I code it

cfmail to= 
from=[EMAIL PROTECTED]
subject=


cfmailparam name=from value=Tom Jones [EMAIL PROTECTED]


  /cfmail
  

wow, and why?



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235014
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


RE: Determine Visitors OS

2006-03-10 Thread Munson, Jacob
You could use BrowserHawk if you don't mind paying for this.  It will
tell you what OS, along with TONS of other stuff about every client that
hits your site. 

 -Original Message-
 From: jonese [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, March 09, 2006 5:31 PM
 To: CF-Talk
 Subject: Re: Determine Visitors OS
 
 Yea i was just hoping to avoid writing the code myself if someone else
 has already done it.


[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law.  If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or use of the information contained herein (including any 
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in 
error, please immediately contact the sender and destroy the material in its 
entirety, whether in electronic or hard copy format.  Thank you.   A2



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235015
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Flash form popup window

2006-03-10 Thread Kevin Aebig
FYI PopUp Manager Class is for *Flash* based popup windows, not HTML ones.

Cheers,

!k

-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: March 10, 2006 7:45 AM
To: CF-Talk
Subject: RE: Flash form popup window

That wouldn't be a popup. It'd be a normal window (without a target, it
should probably not even be a NEW window)

This is in the archives somewhere. You'll find more detail if you find the
old posts but for the most part you want to do something like...

getUrl(javascript:window.open())

...:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

 

 

-Original Message-
From: Martyn Bowis [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 09, 2006 7:37 PM
To: CF-Talk
Subject: Re: Flash form popup window

getURL(put your url in here to your cfm page);

Need to use the quotes :)
  - Original Message - 
  From: Steve Milburn 
  To: CF-Talk 
  Sent: Friday, March 10, 2006 1:25 PM
  Subject: Flash form popup window


  Can anyone point me in the right direction for creating a popup window 
  when using flash forms?  I am looking for similar functionality to what 
  Ben Forta has on his web site for submitting a review for an ISP.  It 
  creates a new window with a new form allowing you to complete the review.

  I've seen a few examples that use the popup manager class, but the 
  contentPath is throwing me off.  It looks like it wants a .swf file.  I 
  want it to display another cf form.

  Any help is appreciated.

  Steve
  ---
  ---


  





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235016
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


Re: Using CF to redirect incoming email blast clicks.

2006-03-10 Thread Ken Ferguson
well, you could set up your log analyzer to parse the logs with respect 
to the track parameter... As for using CF, just test for the existence 
of the track url variable. If it exists, insert a record to a table in 
your db all of the pertinent information. You could store the website, 
tracking code and link values along with the time and anything else that 
may interest you. Is there something more in your question which I'm 
failing to comprehend?

--Ferg

Andy Matthews wrote:
 I'm trying to code a quick and dirty way to track email blasts for a client.
 In the email is a link which looks like this:
 http://www.theDomainName.com/email.cfm?track=WTHG5link=index.html

 Each email blast has a different code, in this case it's WTHG5. The link key
 is the page to which the user should be redirected on clicking. The code on
 email.cfm is at the bottom of this email.

 I was under the impression that the above link would be unique and be
 properly tracked in our logs. So I would see a hit to
 email.cfm?track=WTHG5link=index.html which would be different from
 email.cfm?track=WTHG5link=aboutus.html.

 I'm finding that's not the case. I see several incoming hits to movie.html
 and other pages that are unlikely to be search engine hits. The problem is
 that there's no distinction between a hit generated by campaign abc123 vs
 xyz789.

 Does anyone have suggestions or code changes that would let me track these
 clicks properly?


  code ===

 cfset website = http://www.theDomainName.com/

 cfif StructKeyExists(URL,link) AND URL.link IS NOT 
   cfset forwardlink = website  URL.link
 cfelse
   cfset forwardlink = website
 /cfif

 html
 head
 title theDomainName /title
 meta http-equiv=refresh content=0;
 url=cfoutput#forwardlink#/cfoutput
 link href=includes/styles.css rel=stylesheet type=text/css
 /head
 body

 /body
 /html

 !//--
 andy matthews
 web developer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-


 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235017
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: simple cfmail question...

2006-03-10 Thread Charlie Hanlon
That's how I learned.  I'll assume that you're implying that the 
cfmailparam is unneccessary.  Is this so?

thanks,
charlie hanlon


- Original Message - 
From: Mingo Hagen [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Friday, March 10, 2006 9:53 AM
Subject: Re: simple cfmail question...


 Charlie Hanlon wrote:

This is usually how I code it

cfmail to= 
from=[EMAIL PROTECTED]
subject=


cfmailparam name=from value=Tom Jones [EMAIL PROTECTED]


  /cfmail


 wow, and why?



 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235018
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Determine Visitors OS

2006-03-10 Thread Ken Ferguson
Well, if you just need someone to write it for you...

cfset usersOS = CGI.HTTP_USER_AGENT


jonese wrote:
 Yea i was just hoping to avoid writing the code myself if someone else
 has already done it.

 jonese

 On 3/9/06, Dave Watts [EMAIL PROTECTED] wrote:
   
 Anyone have a function which will determine the OS of a
 visitor to a website?

 I've already searched the usual suspects and couldn't come up
 with anything.
   
 You can usually determine the client operating system by examining
 CGI.HTTP_USER_AGENT, although the reliability of this information cannot be
 guaranteed.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/

 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more information!


 

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235019
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: overflow attack return-to-libc when starting CFMX 7

2006-03-10 Thread Chris Norloff
Just to followup (and for the archives). This was fully an Entercept issue - in 
one of the reports it said it throws this error when starting virtual machines 
(kinda like a JVM, maybe!).

thanks for the responses,
Chris Norloff

-- Original Message --
From: Chris Norloff [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Fri, 27 Jan 2006 15:06:02 -0500

According to Entercept, when we try to start CFMX 7 there's a buffer overflow. 
Entercept stops CFMX from starting, saying this is a hack attempt.

We aren't having this issue on another seemingly identical machine.

Anybody have an ideas on this?

thanks,
Chris Norloff

CFMX 7.0.1 (with CHF1, on Solaris 9, Apache) running as userid=cfmxuser, which 
is what it was installed to run as.

Event Description
An attempt to invoke system call [value not available] through a buffer 
overflow in cfmx7 (/opt/coldfusionmx7/runtime/bin/cfmx7) running with the 
privileges of user cfmxuser on the system with Agent [machinename]was 
detected. This attack utilizes the return-to-libc technique.
This operation was successful. It would have been prevented if the Agent IPS 
module were set to Protect Mode.

General Signature Description:
This event indicates that an unspecified buffer overflow attack was attempted 
against a component of the operating system or an application using the 
return-to-libc technique.





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235021
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


RE: References for Beginners

2006-03-10 Thread Munson, Jacob
shameless plug
http://techfeed.net/cfQuickDocs/
/shameless plug 

 -Original Message-
 From: Martin Thorpe 
 Sent: Friday, March 10, 2006 2:51 AM
 
 I have been asked to compile a list of references by my boss for a
 Webmaster type who is looking to move to Coldfusion, I have 
 quite a list
 already just wondering if there are any that you feel should be added?

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235020
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


Re: Flash form popup window

2006-03-10 Thread Steve Milburn
I guess I'm being stupid here, but I cant see how the getURL function 
provides what I am looking for. I've tried using it, with various 
options, but cannot emulate what I am seeing on other flash forms. It is 
a new browser window, that I can move anywhere on my screen. The flash 
form on Ben's web site looks like it displays a new panel, rather than a 
new window. That panel is bounded by the flash form. I've searched the 
archives, but have not found a solution.

Sorry if I am being obtuse.


Bobby Hartsfield wrote:
 That wouldn’t be a popup. It'd be a normal window (without a target, it
 should probably not even be a NEW window)

 This is in the archives somewhere. You'll find more detail if you find the
 old posts but for the most part you want to do something like...

 getUrl(javascript:window.open())

 ..:.:.:.:.:.:.:.:.:.:.:.:.
 Bobby Hartsfield
 http://acoderslife.com

  

  

 -Original Message-
 From: Martyn Bowis [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, March 09, 2006 7:37 PM
 To: CF-Talk
 Subject: Re: Flash form popup window

 getURL(put your url in here to your cfm page);

 Need to use the quotes :)
   - Original Message - 
   From: Steve Milburn 
   To: CF-Talk 
   Sent: Friday, March 10, 2006 1:25 PM
   Subject: Flash form popup window


   Can anyone point me in the right direction for creating a popup window 
   when using flash forms?  I am looking for similar functionality to what 
   Ben Forta has on his web site for submitting a review for an ISP.  It 
   creates a new window with a new form allowing you to complete the review.

   I've seen a few examples that use the popup manager class, but the 
   contentPath is throwing me off.  It looks like it wants a .swf file.  I 
   want it to display another cf form.

   Any help is appreciated.

   Steve
   ---
   ---


   



 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235022
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: simple cfmail question...

2006-03-10 Thread Mingo Hagen
Well, 'unneccessary' I don't know, I just don't see a reason why it 
should be there. But If you have a good one, please do share!
m.



Charlie Hanlon wrote:

That's how I learned.  I'll assume that you're implying that the 
cfmailparam is unneccessary.  Is this so?

thanks,
charlie hanlon


- Original Message - 
From: Mingo Hagen [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Friday, March 10, 2006 9:53 AM
Subject: Re: simple cfmail question...


  

Charlie Hanlon wrote:



This is usually how I code it

cfmail to= 
   from=[EMAIL PROTECTED]
   subject=
   

   cfmailparam name=from value=Tom Jones [EMAIL PROTECTED]


 /cfmail


  

wow, and why?









~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235023
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


Re: Determine Visitors OS

2006-03-10 Thread Mingo Hagen
Ken Ferguson wrote:

Well, if you just need someone to write it for you...

cfset usersOS = CGI.HTTP_USER_AGENT
  


What sort of license is that under? can we use that? do we need to pay 
you? how much? all these questions.

M.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235024
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


Re: simple cfmail question...

2006-03-10 Thread Jochem van Dieten
Charlie Hanlon said:
 That's how I learned.  I'll assume that you're implying that the
 cfmailparam is unneccessary.  Is this so?

Just put it in the From. If the friendly name you want the user to see
has any characters other then alfanumeric and spaces, enclose the
friendly name in double quotes, i.e.:

GOOD: cfmail from=John Doe [EMAIL PROTECTED] ...
BAD:  cfmail from=Doe, John [EMAIL PROTECTED] ...
GOOD: cfmail from=Doe, John [EMAIL PROTECTED] ...

Jochem




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235025
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


Re: cfquery and insert help needed

2006-03-10 Thread Rick Root
Andy Matthews wrote:
 QFT?

Quoted For Truth

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235026
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


Re: simple cfmail question...

2006-03-10 Thread Charlie Hanlon
Thanks Jochem.



- Original Message - 
From: Jochem van Dieten [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Friday, March 10, 2006 10:06 AM
Subject: Re: simple cfmail question...


 Charlie Hanlon said:
 That's how I learned.  I'll assume that you're implying that the
 cfmailparam is unneccessary.  Is this so?

 Just put it in the From. If the friendly name you want the user to see
 has any characters other then alfanumeric and spaces, enclose the
 friendly name in double quotes, i.e.:

 GOOD: cfmail from=John Doe [EMAIL PROTECTED] ...
 BAD:  cfmail from=Doe, John [EMAIL PROTECTED] ...
 GOOD: cfmail from=Doe, John [EMAIL PROTECTED] ...

 Jochem




 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235027
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


You know...

2006-03-10 Thread Damien McKenna
You know its bad when you're sick for a week and you finally look at
your CF-Talk mailbox to discover 2400 messages.  Urk.

Back to your previously scheduled entertainment...

-- 
Damien McKenna - Web Developer - [EMAIL PROTECTED]
The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
#include stdjoke.h


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235028
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


RE: You know...

2006-03-10 Thread Munson, Jacob
lol  In those cases, I hate to say it, but this is what I usually do:
ctrl+a delete 

 -Original Message-
 From: Damien McKenna
 Sent: Friday, March 10, 2006 8:14 AM
 
 You know its bad when you're sick for a week and you finally look at
 your CF-Talk mailbox to discover 2400 messages.  Urk.
 
 Back to your previously scheduled entertainment...

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235029
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


Re: cfdocument header/footer

2006-03-10 Thread Rick Root
Patrick Whittingham wrote:
 
   I am having a problem which will display field descriptions in each of the 
 header (ie., Employee, Address, City ...) on every page and the data (1000 
 rows). for pdf/flashpaper. Any help will be appreciated. 

What exactly is the problem?

If I had to guess, I'd say you probably ought to be using CFREPORT and 
not CFDOCUMENT.

Rick

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235030
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


Re: You know...

2006-03-10 Thread Rick Root
Damien McKenna wrote:
 You know its bad when you're sick for a week and you finally look at
 your CF-Talk mailbox to discover 2400 messages.  Urk.
 
 Back to your previously scheduled entertainment...

That's what I love about cf-talk!

Rick


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235031
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Determine Visitors OS

2006-03-10 Thread Ken Ferguson
LOL, yeah, I will be accepting royalties off of that code. I mean, I 
think I'm owed by everyone who uses that bit of genius and infinitely 
complex code for their own benefit. Would you expect me to just GIVE the 
code away for free??? And if you'd like even better code worth even 
higher royalties, how about this bit which will even set a default value 
if the variable is empty:

cfif cgi.http_user_agent neq 

cfset usersOS = CGI.HTTP_USER_AGENT

cfelse

cfset usersOS = unknown

/cfif

Now, if you're not sufficiently advanced in CF development, I'd suggest 
asking for help with this one! Seriously Jonese, I'm sorry to be having 
fun with this at your expense, but you spent way more time looking for a 
function to do this than it would have taken for you to write a couple 
of lines of code and that's even if you only spent 10 minutes looking!

--Ferg


Mingo Hagen wrote:
 Ken Ferguson wrote:

   
 Well, if you just need someone to write it for you...

 cfset usersOS = CGI.HTTP_USER_AGENT
  

 

 What sort of license is that under? can we use that? do we need to pay 
 you? how much? all these questions.

 M.


 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235032
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: IsUserInRole - question

2006-03-10 Thread Raymond Camden
No, your code is right, although I'd write it like so:

cfif isUserInRole(dynData)

You want to double check to see what you are setting your roles too.
Unfortunately, the CFLOGIN system does not provide a getRoles()
function. You will need to just add some debug output to where you set
the roles.

As an aside, I've pretty much decided to give up on this feature. I
used to -love- the roles based security added in MX, but it has had
way too many issues and I'm tired of trying to make it work.

On 3/10/06, Edward Chanter [EMAIL PROTECTED] wrote:
 I can't seem to get the IsUserInRole function to accept dynamic data, eg.

 cfset dynData = '15'

 cfif IsUserInRole(#dynData#)
 User is in this role
 /cfif

 Am I being dumb here or am I missing something or is this deliberate?

 best wishes,

 -= Ed


 ~
 Edward Chanter
 Technical Innovations Manager
 Collaborative Connections Ltd.

 http://www.cc.uk.com/
 Phone: +44 (0) 1273 832221
 Mobile: +44 (0) 7866 365282
 ~


 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235033
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: References for Beginners

2006-03-10 Thread Martin Thorpe
Thanks for the links but concerning the CF 7 we are stuck to cfmx 6.1 the 
hosting is dictated by the client and it does not look like we are going to 
move to 7 for a looong time.  

I had a problem recently with a developer who wrote a project in CFMX 7, using 
lots of cfform stuff such as cfinput hidden and submit, stuck it on a 6.1 box 
and it threw errors all over, these tags having been introduced with 7.  

I don't want a new developer to learn 7 spend a month writing his first app and 
then find out it cannot be used.

It is a shame we cannot use 7 but we are in a very controlled strict 
environment.

Thanks for the input though, much appreciated.

Well if you're going to include fusebox.org you might also want to
include some other frameworks for variety:

http://www.mach-ii.com
http://www.model-glue.com
http://www.fusiontap.com

Did I leave out any popular frameworks?

I would also recommend stopping the livedocs url's above 6.1 ... have
him go to http://livedocs.macromedia.com so he can see the docs for
CF7 from there.

And of course, the downloads for CF7:

http://www.macromedia.com/software/coldfusion/downloads/

Even if you're using CF6.1 in the office, it's a good idea to know
where to go to get the latest version -- and it can be installed in
tandem with CF6.1 on any given server to try out code that requires
new features.

 I have been asked to compile a list of references by my
 boss for a
 Webmaster type who is looking to move to Coldfusion, I
 have quite a list
 already just wondering if there are any that you feel
 should be added?

 Cheers

 Martin

 The list so far

  http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/p
  art_get.htm
 http://livedocs.macromedia.com/coldfusion/6.1/

 http://coldfusion.sys-con.com/

 http://www.fusebox.org/

 http://john.beynon.org.uk/index.cfm?mode=cat
 http://john.beynon.org.uk/index.cfm?mode=catcatid=8C3B9E
 31-802D-00D5-7
 3ADB5D764E60C74
 catid=8C3B9E31-802D-00D5-73ADB5D764E60C74

 http://www.macromedia.com/cfusion/webforums/forum/index.cf
 m?forumid=1

 http://www.easycfm.com/

 http://www.coldfusioncookbook.com/

 http://www.macromedia.com/devnet/coldfusion/

 http://www.cflib.org/index.cfm

 http://www.houseoffusion.com/cf_lists/

 http://www.macromedia.com/software/coldfusionmx61/download
 s/

 http://www.eclipse.org/

 http://www.cfeclipse.org/

 http://www.forta.com/books/

s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235034
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


RE: Using CF to redirect incoming email blast clicks.

2006-03-10 Thread Andy Matthews
I see...

At this point I'm relying on our stats engine to track those unique URLs.
What you're saying is that it would be better to store that hit in the
database?

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Ken Ferguson [mailto:[EMAIL PROTECTED]
Sent: Friday, March 10, 2006 9:04 AM
To: CF-Talk
Subject: Re: Using CF to redirect incoming email blast clicks.


well, you could set up your log analyzer to parse the logs with respect
to the track parameter... As for using CF, just test for the existence
of the track url variable. If it exists, insert a record to a table in
your db all of the pertinent information. You could store the website,
tracking code and link values along with the time and anything else that
may interest you. Is there something more in your question which I'm
failing to comprehend?

--Ferg

Andy Matthews wrote:
 I'm trying to code a quick and dirty way to track email blasts for a
client.
 In the email is a link which looks like this:
 http://www.theDomainName.com/email.cfm?track=WTHG5link=index.html

 Each email blast has a different code, in this case it's WTHG5. The link
key
 is the page to which the user should be redirected on clicking. The code
on
 email.cfm is at the bottom of this email.

 I was under the impression that the above link would be unique and be
 properly tracked in our logs. So I would see a hit to
 email.cfm?track=WTHG5link=index.html which would be different from
 email.cfm?track=WTHG5link=aboutus.html.

 I'm finding that's not the case. I see several incoming hits to
movie.html
 and other pages that are unlikely to be search engine hits. The problem is
 that there's no distinction between a hit generated by campaign abc123
vs
 xyz789.

 Does anyone have suggestions or code changes that would let me track these
 clicks properly?


  code ===

 cfset website = http://www.theDomainName.com/

 cfif StructKeyExists(URL,link) AND URL.link IS NOT 
   cfset forwardlink = website  URL.link
 cfelse
   cfset forwardlink = website
 /cfif

 html
 head
 title theDomainName /title
 meta http-equiv=refresh content=0;
 url=cfoutput#forwardlink#/cfoutput
 link href=includes/styles.css rel=stylesheet type=text/css
 /head
 body

 /body
 /html

 !//--
 andy matthews
 web developer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-






~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235035
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Determine Visitors OS

2006-03-10 Thread Munson, Jacob
 cfif cgi.http_user_agent neq 
 
 cfset usersOS = CGI.HTTP_USER_AGENT
 
 cfelse
 
 cfset usersOS = unknown
 
 /cfif
 
 Now, if you're not sufficiently advanced in CF development, 
 I'd suggest 
 asking for help with this one! Seriously Jonese, I'm sorry to 
 be having 
 fun with this at your expense, but you spent way more time 
 looking for a 
 function to do this than it would have taken for you to write 
 a couple 
 of lines of code and that's even if you only spent 10 minutes looking!

I think you are kind of joking, and I do agree that the answer could
have been found if the poster poked about a bit,  but I have to say that
your code will not return the operating system.  It will return a bunch
of data that may or may not include the operating system.  That is why
the original poster was hoping someone would give him some direction on
a function that will extract the OS from the metadata that all of the
various systems out there can return.  Also, problems like these are why
a company like BrowserHawk is in business.  It's not an easy question to
answer.


-

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235036
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Flash form popup window

2006-03-10 Thread Steve Milburn
Hi Kevin

Thats what I'm looking for.  I am displaying a flash form.  When a 
button is clicked, I want to display another flash form (contained in 
another cfm template) as a popup.  I am using the popup manager class, 
and get a popup window.  However, I cant get it to display my other 
form.  I pass the name of the template to the contentPath of the popup 
manager class, but it apparently does not like it because it does not 
show it.  No errors, but does not show my form.

Any ideas?

Thanks.

Kevin Aebig wrote:
 FYI PopUp Manager Class is for *Flash* based popup windows, not HTML ones.

 Cheers,

 !k

 -Original Message-
 From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
 Sent: March 10, 2006 7:45 AM
 To: CF-Talk
 Subject: RE: Flash form popup window

 That wouldn't be a popup. It'd be a normal window (without a target, it
 should probably not even be a NEW window)

 This is in the archives somewhere. You'll find more detail if you find the
 old posts but for the most part you want to do something like...

 getUrl(javascript:window.open())

 ...:.:.:.:.:.:.:.:.:.:.:.:.
 Bobby Hartsfield
 http://acoderslife.com

  

  

   

---
---


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235037
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


Re: Q about CFEclipse

2006-03-10 Thread Scott Stroz
Its kind of hard to edit files when Eclipse keeps telling you they are 'Read
Only' ;-)

On 3/10/06, Rick Root [EMAIL PROTECTED] wrote:

 Scott Stroz wrote:
  The FTP functionality in Eclipse is not very good though.

 Neither is Homesite's FTP functionality, but I still use it ;)

 rick

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235038
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Determine Visitors OS

2006-03-10 Thread Mingo Hagen
Okay,

I personally usualy use some combinations of cgi.user_agent, which do 
count on the cgi.user_agent string being correct, and not faked, like u 
can do in most browsers either through a plugin or nativly. So for 
instanct cfif cgi.user_agent contains 'mac' and not cgi.user_agent 
contains 'win' means your probably on a mac, etc.

It would be cool if there is some kind of api to contact a user_agent 
database (I believe there are several online, and free) which then 
return more usable variables, like IsMac or IsIE.

Regards,
Mingo.






Munson, Jacob wrote:

cfif cgi.http_user_agent neq 

cfset usersOS = CGI.HTTP_USER_AGENT

cfelse

cfset usersOS = unknown

/cfif

Now, if you're not sufficiently advanced in CF development, 
I'd suggest 
asking for help with this one! Seriously Jonese, I'm sorry to 
be having 
fun with this at your expense, but you spent way more time 
looking for a 
function to do this than it would have taken for you to write 
a couple 
of lines of code and that's even if you only spent 10 minutes looking!



I think you are kind of joking, and I do agree that the answer could
have been found if the poster poked about a bit,  but I have to say that
your code will not return the operating system.  It will return a bunch
of data that may or may not include the operating system.  That is why
the original poster was hoping someone would give him some direction on
a function that will extract the OS from the metadata that all of the
various systems out there can return.  Also, problems like these are why
a company like BrowserHawk is in business.  It's not an easy question to
answer.


-

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or use of the information contained herein (including any 
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in 
error, please immediately contact the sender and destroy the material in its 
entirety, whether in electronic or hard copy format. Thank you. A1.





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235039
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


Re: You know...

2006-03-10 Thread Casey Dougall
I joined CF Talk because I'm attempting to fill my gmail account.

17,184 inbox messages and growing!!!

;-)

On 3/10/06, Rick Root [EMAIL PROTECTED] wrote:
 Damien McKenna wrote:
  You know its bad when you're sick for a week and you finally look at
  your CF-Talk mailbox to discover 2400 messages.  Urk.
 
  Back to your previously scheduled entertainment...

 That's what I love about cf-talk!

 Rick


 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235040
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: You know...

2006-03-10 Thread Andy Matthews
:) I've got 18445.

You are currently using 277 MB (10%) of your 2702 MB.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Casey Dougall [mailto:[EMAIL PROTECTED]
Sent: Friday, March 10, 2006 10:16 AM
To: CF-Talk
Subject: Re: You know...


I joined CF Talk because I'm attempting to fill my gmail account.

17,184 inbox messages and growing!!!

;-)

On 3/10/06, Rick Root [EMAIL PROTECTED] wrote:
 Damien McKenna wrote:
  You know its bad when you're sick for a week and you finally look at
  your CF-Talk mailbox to discover 2400 messages.  Urk.
 
  Back to your previously scheduled entertainment...

 That's what I love about cf-talk!

 Rick






~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235041
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: Return Confirm

2006-03-10 Thread Orlini, Robert
I would like to include two onclick in the Input type below one is:

input type=checkbox onclick=if ( this.checked 
){copyData()}else{document.forms[0].reset();} name=Spare value=Yes

Can I add: onSubmit=return confirm('Are you sure?'); to the top Input type? Do 
I put  between them?

Thanks.

Robert O.

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 3/9/2006
 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235042
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Flash form popup window

2006-03-10 Thread Kevin Aebig
Do you have the URL for the example? I can probably tell you how to do it if
I see what's going on...

!k

-Original Message-
From: Steve Milburn [mailto:[EMAIL PROTECTED] 
Sent: March 10, 2006 9:57 AM
To: CF-Talk
Subject: Re: Flash form popup window

Hi Kevin

Thats what I'm looking for.  I am displaying a flash form.  When a 
button is clicked, I want to display another flash form (contained in 
another cfm template) as a popup.  I am using the popup manager class, 
and get a popup window.  However, I cant get it to display my other 
form.  I pass the name of the template to the contentPath of the popup 
manager class, but it apparently does not like it because it does not 
show it.  No errors, but does not show my form.

Any ideas?

Thanks.

Kevin Aebig wrote:
 FYI PopUp Manager Class is for *Flash* based popup windows, not HTML ones.

 Cheers,

 !k

 -Original Message-
 From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
 Sent: March 10, 2006 7:45 AM
 To: CF-Talk
 Subject: RE: Flash form popup window

 That wouldn't be a popup. It'd be a normal window (without a target, it
 should probably not even be a NEW window)

 This is in the archives somewhere. You'll find more detail if you find the
 old posts but for the most part you want to do something like...


getUrl(javascript:window.open())

 ...:.:.:.:.:.:.:.:.:.:.:.:.
 Bobby Hartsfield
 http://acoderslife.com

  

  

   

---
---




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235043
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


Re: SOT: Return Confirm

2006-03-10 Thread Charlie Griefer
onsubmit would go in your form tag.

form onsubmit=return confirm('Are You Sure?');

On 3/10/06, Orlini, Robert [EMAIL PROTECTED] wrote:
 I would like to include two onclick in the Input type below one is:

 input type=checkbox onclick=if ( this.checked 
 ){copyData()}else{document.forms[0].reset();} name=Spare value=Yes

 Can I add: onSubmit=return confirm('Are you sure?'); to the top Input type? 
 Do I put  between them?

 Thanks.

 Robert O.

 --
 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 3/9/2006



 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235044
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


RE: SOT: Return Confirm

2006-03-10 Thread Orlini, Robert
Thanks, however, this is not a form submit. When a user clicks the checkbox, 
then I would like a Are you sure confirm box to appear not when they already 
submit.

-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: Friday, March 10, 2006 11:55 AM
To: CF-Talk
Subject: Re: SOT: Return Confirm


onsubmit would go in your form tag.

form onsubmit=return confirm('Are You Sure?');

On 3/10/06, Orlini, Robert [EMAIL PROTECTED] wrote:
 I would like to include two onclick in the Input type below one is:

 input type=checkbox onclick=if ( this.checked 
 ){copyData()}else{document.forms[0].reset();} name=Spare value=Yes

 Can I add: onSubmit=return confirm('Are you sure?'); to the top Input type? 
 Do I put  between them?

 Thanks.

 Robert O.

 --
 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 3/9/2006



 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235045
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


Re: Q about CFEclipse

2006-03-10 Thread Spike
Have you tried webDrive?

http://www.webdrive.com/products/webdrive/index.html

Haven't used it, but in principle it ought to work with CFEclipse.

Spike

On 3/10/06, Scott Stroz [EMAIL PROTECTED] wrote:
 Its kind of hard to edit files when Eclipse keeps telling you they are 'Read
 Only' ;-)

 On 3/10/06, Rick Root [EMAIL PROTECTED] wrote:
 
  Scott Stroz wrote:
   The FTP functionality in Eclipse is not very good though.
 
  Neither is Homesite's FTP functionality, but I still use it ;)
 
  rick
 
 

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235046
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


RE: Flash form popup window

2006-03-10 Thread Bobby Hartsfield
You're not being stupid... just unclear ;-) Most people see the owrd popup
and assume the equivalent of a javascript popup BROWSER window. I've seen
what you are talking about before though. Kevin can probably put you on the
right track with it.

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

 

 


-Original Message-
From: Steve Milburn [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 10, 2006 10:03 AM
To: CF-Talk
Subject: Re: Flash form popup window

I guess I'm being stupid here, but I cant see how the getURL function 
provides what I am looking for. I've tried using it, with various 
options, but cannot emulate what I am seeing on other flash forms. It is 
a new browser window, that I can move anywhere on my screen. The flash 
form on Ben's web site looks like it displays a new panel, rather than a 
new window. That panel is bounded by the flash form. I've searched the 
archives, but have not found a solution.

Sorry if I am being obtuse.


Bobby Hartsfield wrote:
 That wouldn’t be a popup. It'd be a normal window (without a target, it
 should probably not even be a NEW window)

 This is in the archives somewhere. You'll find more detail if you find the
 old posts but for the most part you want to do something like...


getUrl(javascript:window.open())

 ..:.:.:.:.:.:.:.:.:.:.:.:.
 Bobby Hartsfield
 http://acoderslife.com

  

  

 -Original Message-
 From: Martyn Bowis [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, March 09, 2006 7:37 PM
 To: CF-Talk
 Subject: Re: Flash form popup window

 getURL(put your url in here to your cfm page);

 Need to use the quotes :)
   - Original Message - 
   From: Steve Milburn 
   To: CF-Talk 
   Sent: Friday, March 10, 2006 1:25 PM
   Subject: Flash form popup window


   Can anyone point me in the right direction for creating a popup window 
   when using flash forms?  I am looking for similar functionality to what 
   Ben Forta has on his web site for submitting a review for an ISP.  It 
   creates a new window with a new form allowing you to complete the
review.

   I've seen a few examples that use the popup manager class, but the 
   contentPath is throwing me off.  It looks like it wants a .swf file.  I 
   want it to display another cf form.

   Any help is appreciated.

   Steve
   ---
   ---


   



 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235047
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SOT: Return Confirm

2006-03-10 Thread Charlie Griefer
you've lost me :)

if you want to include multiple items in an event, simply separate
them with semi-colons:

input type=checkbox onclick=doThis(); doThat(); doTheOtherThing(); /

are you saying that you want it to do the confirm() on submit if the
checkbox is checked?

On 3/10/06, Orlini, Robert [EMAIL PROTECTED] wrote:
 Thanks, however, this is not a form submit. When a user clicks the checkbox, 
 then I would like a Are you sure confirm box to appear not when they 
 already submit.

 -Original Message-
 From: Charlie Griefer [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 10, 2006 11:55 AM
 To: CF-Talk
 Subject: Re: SOT: Return Confirm


 onsubmit would go in your form tag.

 form onsubmit=return confirm('Are You Sure?');

 On 3/10/06, Orlini, Robert [EMAIL PROTECTED] wrote:
  I would like to include two onclick in the Input type below one is:
 
  input type=checkbox onclick=if ( this.checked 
  ){copyData()}else{document.forms[0].reset();} name=Spare value=Yes
 
  Can I add: onSubmit=return confirm('Are you sure?'); to the top Input 
  type? Do I put  between them?
 
  Thanks.
 
  Robert O.
 
  --
  No virus found in this outgoing message.
  Checked by AVG Free Edition.
  Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 3/9/2006
 
 
 
 



 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235048
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


Re: SOT: Return Confirm

2006-03-10 Thread Bryan Stevenson
onClick=if (confirm('Confirm delete of hail record #FORM.act_id#?')) 
window.location='hailindet.cfm?act_id=#FORM.act_id#trip_id=#FORM.trip_id#delHail=1';

The above asks Confirm delete of hail record 5?

If they click OK then the window.location firesif they hit cancel nothing 
happens and they're back where they started.

HTH

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235049
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


RE: Return Confirm

2006-03-10 Thread Bobby Hartsfield
You put the onsubmit on the form tag, and leave the input as is (although
id break it out into a function but that’s just me)

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

 

 


-Original Message-
From: Orlini, Robert [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 10, 2006 11:33 AM
To: CF-Talk
Subject: SOT: Return Confirm

I would like to include two onclick in the Input type below one is:

input type=checkbox onclick=if ( this.checked
){copyData()}else{document.forms[0].reset();} name=Spare value=Yes

Can I add: onSubmit=return confirm('Are you sure?'); to the top Input type?
Do I put  between them?

Thanks.

Robert O.

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 3/9/2006
 




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235050
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


Re: Return Confirm

2006-03-10 Thread Charlie Griefer
it's not just you.

i'd break it out into a function also :)

On 3/10/06, Bobby Hartsfield [EMAIL PROTECTED] wrote:
 You put the onsubmit on the form tag, and leave the input as is (although
 id break it out into a function but that's just me)

 ..:.:.:.:.:.:.:.:.:.:.:.:.
 Bobby Hartsfield
 http://acoderslife.com






 -Original Message-
 From: Orlini, Robert [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 10, 2006 11:33 AM
 To: CF-Talk
 Subject: SOT: Return Confirm

 I would like to include two onclick in the Input type below one is:

 input type=checkbox onclick=if ( this.checked
 ){copyData()}else{document.forms[0].reset();} name=Spare value=Yes

 Can I add: onSubmit=return confirm('Are you sure?'); to the top Input type?
 Do I put  between them?

 Thanks.

 Robert O.

 --
 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 3/9/2006





 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235051
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Flex 2 and Ben Forta

2006-03-10 Thread Mark Drew
Rick,

That is not the plan for CFEclipse, it wont (as far as I am  
concerned) do any WYSIWYG functions in the near future but there will  
be a lot of improvements and functions going in over the next few  
months.

Its simply not our focus, since we dont particularly want to compete  
with DW

MD
On 1 Mar 2006, at 15:39, Rick Faircloth wrote:

 So...what combination of development tools
 and the compiler would make Flex 2 not free...?

 And what did he show about CFEclipse that was
 so great?  I don't use it, so I'm not that familiar
 with it.  I'm a WYSIWYG interface developer and I code
 around that, so I perfer WYSIWYG tools.

 Will CFEclipse have a WYSIWYG environment in
 upcoming versions?

 Thanks for the info...

 Rick

 -Original Message-
 From: Brad Wood [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 01, 2006 10:26 AM
 To: CF-Talk
 Subject: Flex 2 and Ben Forta


 I just saw Ben Forta speak last night at a Kansas City user group  
 about
 Flex 2 and I am sooo excited.  I think there's a chance we can  
 actually
 convince my boss to go for it now.

 One thing I didn't know that Ben said:
 If you wanted to code your markup in notepad and download the flash
 compiler for free, you could be using flex 2.0 for absolutely free.

 Of course, I don't know how you could stand to do that with the sweet
 stuff he was showing us in CFEclipse.  :)

 ~Brad




 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235052
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


Re: Determine Visitors OS

2006-03-10 Thread Ken Ferguson
You're absolutely right; I was kidding. It is Friday after all and I 
think most people are at their silliest near lunchtime on Friday. I, of 
course, meant no offense to jonese and with all of this, I'm sure jonese 
will have no trouble whipping up some script to parse the browser, OS, 
version info... out of the user_agent string.

--Ferg

Munson, Jacob wrote:
 cfif cgi.http_user_agent neq 

 cfset usersOS = CGI.HTTP_USER_AGENT

 cfelse

 cfset usersOS = unknown

 /cfif

 Now, if you're not sufficiently advanced in CF development, 
 I'd suggest 
 asking for help with this one! Seriously Jonese, I'm sorry to 
 be having 
 fun with this at your expense, but you spent way more time 
 looking for a 
 function to do this than it would have taken for you to write 
 a couple 
 of lines of code and that's even if you only spent 10 minutes looking!
 

 I think you are kind of joking, and I do agree that the answer could
 have been found if the poster poked about a bit,  but I have to say that
 your code will not return the operating system.  It will return a bunch
 of data that may or may not include the operating system.  That is why
 the original poster was hoping someone would give him some direction on
 a function that will extract the OS from the metadata that all of the
 various systems out there can return.  Also, problems like these are why
 a company like BrowserHawk is in business.  It's not an easy question to
 answer.


 -

 This transmission may contain information that is privileged, confidential 
 and/or exempt from disclosure under applicable law. If you are not the 
 intended recipient, you are hereby notified that any disclosure, copying, 
 distribution, or use of the information contained herein (including any 
 reliance thereon) is STRICTLY PROHIBITED. If you received this transmission 
 in error, please immediately contact the sender and destroy the material in 
 its entirety, whether in electronic or hard copy format. Thank you. A1.



 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235053
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


Re: Determine Visitors OS

2006-03-10 Thread jonese
Ok even after ken's misguided poking (funny stuff really). i coded up
my own OS function based off an older PHP one i used to use.

I can only test it on Win XP, Win 2k, Win 2k3 and an ancient Mac.

If you can test on other OS's I'd really appreciate it. just email me
here or off list and I'll send you RAR or Zip of the code.

Once it's been tested I'll drop it onto CFlib for inclusion.

Execution is simple
cfoutout#osDetect()#/cfoutput

This will return a string with the name and possible version of the
OS. (which is what i wanted versus the CGI.HTTP_USER_AGENT ugliness).

TIA for the testing, and Friday diversion :)

Oh yea ken just to show you there is no heart feelings here's some
code you can use to show the server version you CF application is
running on (this only took me 9 minutes to write):

cfif cgi.server_software neq 

cfset myServer= cgi.server_software

cfelse

cfset myServer= unknown

/cfif

jonese

On 3/10/06, Mingo Hagen [EMAIL PROTECTED] wrote:
 Okay,

 I personally usualy use some combinations of cgi.user_agent, which do
 count on the cgi.user_agent string being correct, and not faked, like u
 can do in most browsers either through a plugin or nativly. So for
 instanct cfif cgi.user_agent contains 'mac' and not cgi.user_agent
 contains 'win' means your probably on a mac, etc.

 It would be cool if there is some kind of api to contact a user_agent
 database (I believe there are several online, and free) which then
 return more usable variables, like IsMac or IsIE.

 Regards,
 Mingo.






 Munson, Jacob wrote:

 cfif cgi.http_user_agent neq 
 
 cfset usersOS = CGI.HTTP_USER_AGENT
 
 cfelse
 
 cfset usersOS = unknown
 
 /cfif
 
 Now, if you're not sufficiently advanced in CF development,
 I'd suggest
 asking for help with this one! Seriously Jonese, I'm sorry to
 be having
 fun with this at your expense, but you spent way more time
 looking for a
 function to do this than it would have taken for you to write
 a couple
 of lines of code and that's even if you only spent 10 minutes looking!
 
 
 
 I think you are kind of joking, and I do agree that the answer could
 have been found if the poster poked about a bit,  but I have to say that
 your code will not return the operating system.  It will return a bunch
 of data that may or may not include the operating system.  That is why
 the original poster was hoping someone would give him some direction on
 a function that will extract the OS from the metadata that all of the
 various systems out there can return.  Also, problems like these are why
 a company like BrowserHawk is in business.  It's not an easy question to
 answer.
 
 
 -
 
 This transmission may contain information that is privileged, confidential 
 and/or exempt from disclosure under applicable law. If you are not the 
 intended recipient, you are hereby notified that any disclosure, copying, 
 distribution, or use of the information contained herein (including any 
 reliance thereon) is STRICTLY PROHIBITED. If you received this transmission 
 in error, please immediately contact the sender and destroy the material in 
 its entirety, whether in electronic or hard copy format. Thank you. A1.
 
 
 
 

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235054
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


Re: Dynamic form creation

2006-03-10 Thread Matt Robertson
I did something rather similar to what Casey did in my CMPro CMS.  User 
is presented with an interface and can build their form using it instead 
of coding.

Main table holds form description data (form type, page form is tied to, 
whether form is secure, pass/fail values if its a test-type form)

Child of main table holds form field data in individual records.  Field 
type, length, maxlength, results encrypted or not, selected/checked or 
not, default value, field alias (allows plugging in custom code when 
processing results) etc.

Child of form field table holds form field options.  This is for a radio 
button group, or a drop-down list.

Child of the main table holds the submitted form data for later review 
within the system.

Doing this sort of thing is quite a complex process.  You don't see too 
many code-free form builders due to the sheer amount of legwork it takes 
to make the things, I think.

Hope this helps,

--
mattRobertson
Janitor, MSB Web Systems
http://mysecretbase.com


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235055
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


Re: MySQL question

2006-03-10 Thread John Paul Ashenfelter
You want to look at the REGEXP operator built into MySQL. You should
be able to do what you wish.

http://dev.mysql.com/doc/refman/5.0/en/regexp.html

On 3/10/06, James Smith [EMAIL PROTECTED] wrote:
 One of my fields has had a collection of line breaks inserted in between
 first and second names.  I think I have solved the problem but I now need to
 remove all of the line breaks that have been inserted so far.

 I could query the db then use CF to replace chr(13)  chr(10) with  , but
 is there a better, faster was to do this in SQL directly, preferably
 replacing \s*\r\n\s* so that it replaces the line break and any leading or
 trailing whitespace replacing it with one single space character.

 --
 James Smith
 IT Director - Music Express


 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235056
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


OT: Why can't web browsers view JPG's with exif data?

2006-03-10 Thread Jon Block
In one of the web systems I operate, we just imported a bunch of JPG's.
The JPG's are viewable with programs like windows picture viewer, but
when embeded in a web page, they appear as broken graphics. What's the
best way for me to make these JPG's work when used in web pages?
 
Thank you,
Jon


This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235057
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


Re: OT: Why can't web browsers view JPG's with exif data?

2006-03-10 Thread Robert Everland III
The one thing that comes to mind is that the jpg are CMYK and that's why they 
are coming up as broken graphics. Check to see what type they are, RGB is what 
will enable the graphics to display in the browser. Browsers don't have a 
problem displaying EXIF data.



Bob

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235058
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Why can't web browsers view JPG's with exif data?

2006-03-10 Thread Paul
I know if the jpg is CMYK this happens; maybe it's not to do with exif?

-Original Message-
From: Jon Block [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 10, 2006 10:50 AM
To: CF-Talk
Subject: OT: Why can't web browsers view JPG's with exif data?

In one of the web systems I operate, we just imported a bunch of JPG's.
The JPG's are viewable with programs like windows picture viewer, but
when embeded in a web page, they appear as broken graphics. What's the
best way for me to make these JPG's work when used in web pages?
 
Thank you,
Jon




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235059
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


Re: Site-wide error trapping

2006-03-10 Thread Matt Robertson
I wrote up how to do one here:

http://mysecretbase.com/Building_A_ColdFusion_Error_Handler.cfm

HtH,

--
mattRobertson
Janitor, MSB Web Systems
http://mysecretbase.com



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235060
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Site-wide redirect?

2006-03-10 Thread Matt Robertson
That tutorial I linked you to in the other thread also has a quickee 
2-line 404 handler:

|*cfset variables.GoPage=http://;  CGI.SERVER_NAME
CFLOCATION URL=#variables.GoPage# ADDTOKEN=No

if the page doesn't exist, the visitor is redirected to the web site's 
home.  Simple.  You can get more complicated too if you like.

*|--
mattRobertson
Janitor, MSB Web Systems
http://mysecretbase.com



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235061
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: Styling form inputs

2006-03-10 Thread dave
Works on my ie6 but what I didnt think about is that site has the ie7 hack on 
it.

~Dave the disruptor~ 


From: Rick Root [EMAIL PROTECTED]
Sent: Friday, March 10, 2006 9:41 AM
To: CF-Talk cf-talk@houseoffusion.com
Subject: Re: OT: Styling form inputs 

Les Mizzell wrote:
 dave wrote:
 
input:focus,textarea:focus { background-color: #CCFF99; border: 1px dashed 
#E92D68; }
 
 Ooo - that's nice. I've never thought abour trying that one.
 
 I've been working on a bunch of government sites lately, so 
 accessibility is important. Looks like a cool thing to assist the 
 visually impared (which reminds me that my eyes are starting to suck 
 some these days too...).

Except it doesn't work in IE6, apparently.

Rick



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235062
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: MySQL question

2006-03-10 Thread Barney Boisvert
REGEXP is a regular expression-compaible LIKE (also known a RLIKE). 
That is, it's for matching strings, not for modifying them.  I don't
believe there is any way to do a regular expression replace with
MySQL, but I haven't gone looking in a while.

cheers,
barneyb

On 3/10/06, John Paul Ashenfelter [EMAIL PROTECTED] wrote:
 You want to look at the REGEXP operator built into MySQL. You should
 be able to do what you wish.

 http://dev.mysql.com/doc/refman/5.0/en/regexp.html


--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235065
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Determine Visitors OS

2006-03-10 Thread Ken Ferguson
The REAL ? here is, how much do I owe you for that nugget!!! LOL, Happy 
Friday everyone. I'm headed out to the Big XII tourney in just a few to 
drink beer and watch some hoops.

--Ferg

jonese wrote:
 Ok even after ken's misguided poking (funny stuff really). i coded up
 my own OS function based off an older PHP one i used to use.

 I can only test it on Win XP, Win 2k, Win 2k3 and an ancient Mac.

 If you can test on other OS's I'd really appreciate it. just email me
 here or off list and I'll send you RAR or Zip of the code.

 Once it's been tested I'll drop it onto CFlib for inclusion.

 Execution is simple
 cfoutout#osDetect()#/cfoutput

 This will return a string with the name and possible version of the
 OS. (which is what i wanted versus the CGI.HTTP_USER_AGENT ugliness).

 TIA for the testing, and Friday diversion :)

 Oh yea ken just to show you there is no heart feelings here's some
 code you can use to show the server version you CF application is
 running on (this only took me 9 minutes to write):

 cfif cgi.server_software neq 

 cfset myServer= cgi.server_software

 cfelse

 cfset myServer= unknown

 /cfif

 jonese

 On 3/10/06, Mingo Hagen [EMAIL PROTECTED] wrote:
   
 Okay,

 I personally usualy use some combinations of cgi.user_agent, which do
 count on the cgi.user_agent string being correct, and not faked, like u
 can do in most browsers either through a plugin or nativly. So for
 instanct cfif cgi.user_agent contains 'mac' and not cgi.user_agent
 contains 'win' means your probably on a mac, etc.

 It would be cool if there is some kind of api to contact a user_agent
 database (I believe there are several online, and free) which then
 return more usable variables, like IsMac or IsIE.

 Regards,
 Mingo.






 Munson, Jacob wrote:

 
 cfif cgi.http_user_agent neq 

 cfset usersOS = CGI.HTTP_USER_AGENT

 cfelse

 cfset usersOS = unknown

 /cfif

 Now, if you're not sufficiently advanced in CF development,
 I'd suggest
 asking for help with this one! Seriously Jonese, I'm sorry to
 be having
 fun with this at your expense, but you spent way more time
 looking for a
 function to do this than it would have taken for you to write
 a couple
 of lines of code and that's even if you only spent 10 minutes looking!


 
 I think you are kind of joking, and I do agree that the answer could
 have been found if the poster poked about a bit,  but I have to say that
 your code will not return the operating system.  It will return a bunch
 of data that may or may not include the operating system.  That is why
 the original poster was hoping someone would give him some direction on
 a function that will extract the OS from the metadata that all of the
 various systems out there can return.  Also, problems like these are why
 a company like BrowserHawk is in business.  It's not an easy question to
 answer.


 -

 This transmission may contain information that is privileged, confidential 
 and/or exempt from disclosure under applicable law. If you are not the 
 intended recipient, you are hereby notified that any disclosure, copying, 
 distribution, or use of the information contained herein (including any 
 reliance thereon) is STRICTLY PROHIBITED. If you received this transmission 
 in error, please immediately contact the sender and destroy the material in 
 its entirety, whether in electronic or hard copy format. Thank you. A1.




   
 

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235067
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


RE: Query Problem - sorting

2006-03-10 Thread Dennis Powers
Mike,

Thank you. I always forget about the case statement.

Best Regards,
 
Dennis Powers
UXB Internet- A Website Design and Hosting Company
690 Wolcott Road - P.O. Box 6028
Wolcott, CT 06716
Tel: 203-879-2844
http://www.uxbinternet.com
http://dennis.uxb.net


-Original Message-
From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 08, 2006 10:40 PM
To: CF-Talk
Subject: RE: Query Problem - sorting

 From: Dennis Powers [mailto:[EMAIL PROTECTED] 
 SELECT FilesCategory.Cat_Name, 
Avg(Comments.Numeric1) AS Userrating, 
Count(Comments.Numeric1) AS Responses
 FROM (FilesData LEFT JOIN Comments ON FilesData.ID = 
 Comments.LinkID) LEFT JOIN FilesCategory ON 
 FilesData.FilesCategory = FilesCategory.CatID
   GROUP BY FilesCategory.Cat_Name

SELECT 
FC.Cat_Name, 
AVG(C.Numeric1) AS Userrating, 
CASE
WHEN COUNT(C.Numeric1)  9 THEN 0
WHEN COUNT(C.Numeric1)  8 THEN 1
END AS Responses
FROM 
FilesData FD
LEFT JOIN Comments C ON (FD.ID = C.LinkID)
LEFT JOIN FilesCategory FC ON (FD.FilesCategory = FC.CatID)
GROUP BY 
FC.Cat_Name
ORDER BY
Responses DESC,
Userrating DESC





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235063
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


RE: SOT: Return Confirm

2006-03-10 Thread Orlini, Robert
Works great...thanks Rick and suggestions and ideas from others as well!

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: Friday, March 10, 2006 1:21 PM
To: CF-Talk
Subject: Re: SOT: Return Confirm


Orlini, Robert wrote:
 I would like to include two onclick in the Input type below one is:
 
 input type=checkbox onclick=if ( this.checked 
 ){copyData()}else{document.forms[0].reset();} name=Spare value=Yes

This is what you're looking for:

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN

html
head
titleUntitled/title
script language=javascript
function confirmClick(ck)
{
if(ck.checked)
{
if (confirm('Are you sure?'))
{   
copyData();
} else {
ck.checked = false;
}
}
}
/script
/head

body
form
input type=checkbox value=1 name=foo onClick=confirmClick(this);
/form


/body
/html




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235069
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


RE: Page visit counter

2006-03-10 Thread Larry Juncker
Why not log their IP number in the database and check it for return visits? 

-Original Message-
From: Ken [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 10, 2006 12:40 PM
To: CF-Talk
Subject: Page visit counter

Hi. I have pages that get called from a db with pageid=xx and I need to keep
a visit counter for each page. But again, it should not be incremented if
the same visitor from that session revisits that page. I am thinking of
setting a session variable, but that means, I'll need a unique session
variable for each page visited. Any ideas of doing it better please. I am
logging the visits in the db.




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235070
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Page visit counter

2006-03-10 Thread Charlie Griefer
IP address could change.

How about a cookie?

On 3/10/06, Larry Juncker [EMAIL PROTECTED] wrote:
 Why not log their IP number in the database and check it for return visits?

 -Original Message-
 From: Ken [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 10, 2006 12:40 PM
 To: CF-Talk
 Subject: Page visit counter

 Hi. I have pages that get called from a db with pageid=xx and I need to keep
 a visit counter for each page. But again, it should not be incremented if
 the same visitor from that session revisits that page. I am thinking of
 setting a session variable, but that means, I'll need a unique session
 variable for each page visited. Any ideas of doing it better please. I am
 logging the visits in the db.




 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235071
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


Re: OT: Styling form inputs

2006-03-10 Thread Les Mizzell
 Browse here: 
 http://www.it.dev.duke.edu/temp/inputcss.cfm


1. Your browser: Mozilla/5.0 (Windows; U;
Windows NT 5.0; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

The text box works. The text area doesn't (Firefox)


2. Your browser: Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.0; FunWebProducts-MyWay)

Neither Works (I.E.)


3. Your browser: Mozilla/5.0 (Windows; U;
Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)

Neither Works (Netscape)

4. Safari 1.3.2

Text box work. Text area doesn't


However at: http://www.icandfashion.com/candstore/contact.cfm

Works in all the above browsers

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235072
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


Re: Page visit counter

2006-03-10 Thread Ken
guys. actually want the visit unique per page per visitor. If the same
visitor comes the next day, i don't mind if he gets counted again. Unique
per page/per visitor for that day/session.

On 3/10/06, Charlie Griefer [EMAIL PROTECTED] wrote:

 IP address could change.

 How about a cookie?

 On 3/10/06, Larry Juncker [EMAIL PROTECTED] wrote:
  Why not log their IP number in the database and check it for return
 visits?
 
  -Original Message-
  From: Ken [mailto:[EMAIL PROTECTED]
  Sent: Friday, March 10, 2006 12:40 PM
  To: CF-Talk
  Subject: Page visit counter
 
  Hi. I have pages that get called from a db with pageid=xx and I need to
 keep
  a visit counter for each page. But again, it should not be incremented
 if
  the same visitor from that session revisits that page. I am thinking of
  setting a session variable, but that means, I'll need a unique session
  variable for each page visited. Any ideas of doing it better please. I
 am
  logging the visits in the db.
 
 
 
 
 

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235073
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


Re: SOT: Return Confirm

2006-03-10 Thread Rick Root
Orlini, Robert wrote:
 I would like to include two onclick in the Input type below one is:
 
 input type=checkbox onclick=if ( this.checked 
 ){copyData()}else{document.forms[0].reset();} name=Spare value=Yes

This is what you're looking for:

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN

html
head
titleUntitled/title
script language=javascript
function confirmClick(ck)
{
if(ck.checked)
{
if (confirm('Are you sure?'))
{   
copyData();
} else {
ck.checked = false;
}
}
}
/script
/head

body
form
input type=checkbox value=1 name=foo onClick=confirmClick(this);
/form


/body
/html


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235064
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Createquery and numbers that are strings

2006-03-10 Thread Robert Everland III
I am creating a huge structure so that I can get data from many different 
tables that I can't join (don't ask long story). The key of my structure is a 
SSN, now I need to order the records to be in alphabetical on the name, i can't 
use the name as the key since some people could potentially have the same name. 
So I came up with a way to loop through the key and get the name and put them 
into a query I create (you still with me). Now I do a dump of that query and it 
loses any 0's in front and treats it as a number. Even when I use javacast. The 
only way I have found to get by this is to put a letter in front of the SSN. 
Anyone have another solution to this?



Bob

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235074
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Page visit counter

2006-03-10 Thread Munson, Jacob
Yeah, a cookie that exires at end of session should do the trick.  You
could create a unique cookie for each page, which should give you the
granularity you want.

 -Original Message-
 From: Ken [mailto:[EMAIL PROTECTED] 
 Sent: Friday, March 10, 2006 11:54 AM
 To: CF-Talk
 Subject: Re: Page visit counter
 
 guys. actually want the visit unique per page per visitor. If the same
 visitor comes the next day, i don't mind if he gets counted 
 again. Unique
 per page/per visitor for that day/session.
 
 On 3/10/06, Charlie Griefer [EMAIL PROTECTED] wrote:
 
  IP address could change.
 
  How about a cookie?
 
  On 3/10/06, Larry Juncker [EMAIL PROTECTED] wrote:
   Why not log their IP number in the database and check it 
 for return
  visits?
  
   -Original Message-
   From: Ken [mailto:[EMAIL PROTECTED]
   Sent: Friday, March 10, 2006 12:40 PM
   To: CF-Talk
   Subject: Page visit counter
  
   Hi. I have pages that get called from a db with pageid=xx 
 and I need to
  keep
   a visit counter for each page. But again, it should not 
 be incremented
  if
   the same visitor from that session revisits that page. I 
 am thinking of
   setting a session variable, but that means, I'll need a 
 unique session
   variable for each page visited. Any ideas of doing it 
 better please. I
  am
   logging the visits in the db.
  
  
  
  
  
 
  
 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235075
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: Styling form inputs

2006-03-10 Thread Rick Root
dave wrote:
 Works on my ie6 but what I didnt think about is that site has the ie7 hack on 
 it.

Browse here:

http://www.it.dev.duke.edu/temp/inputcss.cfm

It doesn't work for me.. here's my user agent:

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 
1.1.4322; InfoPath.1)

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235066
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


RE: Createquery and numbers that are strings

2006-03-10 Thread PINE Phyo Z
May be I am over-simplifying your problem but adding empty string ()
might solve?? Just curious what data type is SSN being returned from the
query (number ,integer , string)? 

Pine

-Original Message-
From: Robert Everland III [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 10, 2006 10:01 AM
To: CF-Talk
Subject: Createquery and numbers that are strings


I am creating a huge structure so that I can get data from many
different tables that I can't join (don't ask long story). The key of my
structure is a SSN, now I need to order the records to be in
alphabetical on the name, i can't use the name as the key since some
people could potentially have the same name. So I came up with a way to
loop through the key and get the name and put them into a query I create
(you still with me). Now I do a dump of that query and it loses any 0's
in front and treats it as a number. Even when I use javacast. The only
way I have found to get by this is to put a letter in front of the SSN.
Anyone have another solution to this?



Bob



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235076
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Site-wide error trapping

2006-03-10 Thread Andy Matthews
Thanks. I'll take a look at it. This might be just what I need to learn it
myself.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Matt Robertson [mailto:[EMAIL PROTECTED]
Sent: Friday, March 10, 2006 12:08 PM
To: CF-Talk
Subject: Re: Site-wide error trapping


I wrote up how to do one here:

http://mysecretbase.com/Building_A_ColdFusion_Error_Handler.cfm

HtH,

--
mattRobertson
Janitor, MSB Web Systems
http://mysecretbase.com





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235077
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


Re: Createquery and numbers that are strings

2006-03-10 Thread Robert Everland III
I could try putting an empty string in front, but even if that works I would 
still have to take out the empty space later because I still need the ssn for 
the primary key of the structure. The SSN is returned as a string.



Bob

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235078
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


Re: OT: Styling form inputs

2006-03-10 Thread Rick Root
I wonder why mine doesn't work right (the textarea didn't work because I 
had a typo in the textarea css declaration)

Rick

Les Mizzell wrote:
Browse here: 
http://www.it.dev.duke.edu/temp/inputcss.cfm
 
 
 
 1. Your browser: Mozilla/5.0 (Windows; U;
 Windows NT 5.0; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
 
 The text box works. The text area doesn't (Firefox)
 
 
 2. Your browser: Mozilla/4.0 (compatible; MSIE 6.0;
 Windows NT 5.0; FunWebProducts-MyWay)
 
 Neither Works (I.E.)
 
 
 3. Your browser: Mozilla/5.0 (Windows; U;
 Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
 
 Neither Works (Netscape)
 
 4. Safari 1.3.2
 
 Text box work. Text area doesn't
 
 
 However at: http://www.icandfashion.com/candstore/contact.cfm
 
 Works in all the above browsers
 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235079
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Page visit counter

2006-03-10 Thread Ken
Hi. I have pages that get called from a db with pageid=xx and I need to keep
a visit counter for each page. But again, it should not be incremented if
the same visitor from that session revisits that page. I am thinking of
setting a session variable, but that means, I'll need a unique session
variable for each page visited. Any ideas of doing it better please. I am
logging the visits in the db.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235068
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Forums - Galleon Enhanced

2006-03-10 Thread Rick Root
So, I've been making enhancements to Ray's Galleon Forums to suit my 
most important wants and desires...

Here are some things that I've done to this version of Galleon:
  - BBML/BBCode Support similar to phpBB (configurable option)
  - Make Sticky option on topic entry
  - phpBB Style Message Save Behavior (configurable option)
  - Enhanced Direct Message Linking

Things I want to add right away:
  - Signature support (configurable option)
  - Avatar Support (configurable option)
  - Friendlier/better quoting support (part of BBML support)
  - Easier/Better Administration
 - Ability to do more forum management without having
   to go to the forum admin screen (like deleting messages and
   locking topics)
 - Ability to ban users by email, IP, or network.
 - Ability to control more settings in admin interface

Also, i'm contemplating the way Galleon handles message subscription 
updates.  It doesn't scale to a busy environment.  For example, the 
typical Game Day Thread in the Carolina hurricanes forum (running 
phpbb) generates 300+ responses in a single day.

The way phpBB works, you only get one message until it records that 
you've logged in and viewed the thread... it doesn't notify you EVERY 
time.  This is good behavior but requires that you remain logged in with 
a persistent cookie, or else it won't know (obviously) that you viewed 
the thread.

I tried to do this in CFMBB and BlogCFM but added the control of forcing 
people to log in by adding an updateSubscription=Yes URL parameter.. 
then if you weren't already logged in, it made you log in.

Though i've found that to be obnoxious. =)

I'd love comments on my enhancements and proposed enhancments, and 
comments about the issue I just mentioned.. but it's not particularly CF 
related so feel free to reply off list or simply go to my example 
message board and post there.

http://www.opensourcecf.com/forums/threads.cfm?forumid=E59D074E-B7E9-8C0C-576745DC4C1B1307

Rick

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235080
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Forums - Galleon Enhanced

2006-03-10 Thread Rick Root
Rick Root wrote:
 So, I've been making enhancements to Ray's Galleon Forums to suit my 
 most important wants and desires...

BTW this is NOT going to be RabidGalleon ;)  I'll be offering all my 
enhancements back to the community.

Rick

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235081
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


Re: Page visit counter

2006-03-10 Thread Claude Schneegans
 I am thinking of setting a session variable, but that means, I'll 
need a unique session
variable for each page visited.

How about keeping a list of all visited pages in the session variable?

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235082
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Page visit counter

2006-03-10 Thread Claude Schneegans
 You could create a unique cookie for each page,

I can't tell by heart how many, but there is a limit on the number of 
cookies per domain.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235083
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


  1   2   >