OT: Dynamic menu for IE Mac

2004-05-12 Thread Neculai Macarie
Hi!

I'm having big problems finding a dynamic menu that works on major browsers on Win
and Linux, and IE on Mac. The biggest challenge was IE on Mac. I couldAlso it should
work with a centered content ( some of the ones I tried, like Tigra Menu from
http://www.softcomplex.com/ are absolutly positioned in page). Do you know such a
menu ?

Thanks for any help,
Neculai Macarie
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Dynamic menu for IE Mac

2004-05-12 Thread CFDEV
Hi, here is a code that works on all those platform :

 
Sorry it's item in it are in french but you should understand it...

 
Pat



 



target="_blank"  >
MM_swapImage('chaire','','#path#wwwimg/btnav_chaire_1_f
.gif',1)">
name="chaire" width="159" height="16" border="0">
src="" width="1"
height="16" border="0">
href="">
 popup('manuel'); menuimg_act('manuel',null,1);
overmenu=1;"  menutimeout('manuel')">
src="" name="manuel"
width="53" height="16" border="0">
src="" width="1"
height="16" border="0">
href="">
 popup('plans'); menuimg_act('plans',null,1);
overmenu=1;"  menutimeout('plans')">
src="" name="plans"
width="91" height="16" border="0">
popup('manuel'); menuimg_act('manuel',null,1); overmenu=1;"
 menutimeout('manuel')">
src="" width="1"
height="16" border="0">
href="">
 >
MM_swapImage('index','','#path#wwwimg/btnav_index_1_f.g
if',1)">
name="index" width="109" height="16" border="0">

   
    
src="" alt="" width="160"
height="13">
  



 menutimeout('manuel')"> 
  
    
  
height="1">
    
  
  
    
  
cellspacing="1">
   

class="subNav">
href="">
/td>
  
   

class="subNav">
href="">
te;sentation 
  du manuel
  
		   

class="subNav">
href="">
spondance des éditions
  
   

class="subNav">
href="">
z 
  un document
  
   

class="subNav">
href="" 
  à jour
  

    
  


menutimeout('interruptionssec')"> 
  
     
  
height="1">
    
  
  
     
  
cellspacing="1">
   

href="" 
  de cours
  
   

href="">
>">Premier 
  cycle
  
   

href="">
>">Deuxième 
  cycle
  
   

href="">
>">Formation 
  continue
  

    
  
  


menutimeout('extactionssec')"> 
  
     
  
height="1">
    
  
  
     
  
cellspacing="1">
   

href="" des auteurs
  
   

href="">
  
   

href="" pertinents
  

    
  
  


//
An error has occurred. #tmp.message# Diagnostic information: #tmp.diag_info# #tmp.file_location# There has been a problem with the request that you are trying to make.  You have several options: errorNav(document.error)"> checked="checked"> and try again. for="" Cancel and return to the events listing. value="submit_help"> request.         Bernd VanSkiver wrote: > Does anyone know of a way to have ColdFusion log to a database instead of to > files?  I am just looking at options of keeping watch on multiple ColdFusion > server logs to watch for errors that occur. > > Bernd VanSkiver > [EMAIL PROTECTED] > 801.520.5957 > > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: Log to database

2004-05-12 Thread Doug James
You might take a look at log4j. This article looks to be a nice 
introduction. http://www.sys-con.com/coldfusion/article.cfm?id=700

Doug

Bernd VanSkiver wrote:

>Does anyone know of a way to have ColdFusion log to a database instead of to
>files?  I am just looking at options of keeping watch on multiple ColdFusion
>server logs to watch for errors that occur.
>
>Bernd VanSkiver
>[EMAIL PROTECTED]
>801.520.5957
>
>
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Quick Question about inserting dates...

2004-05-12 Thread Jeff Small
In Dreamweaver, using the Insertion Wizard, if I want to insert a hidden
"datesubmitted" field and use #Now()# and the database is SQLServer, which
option do I want to select in the "Submit As" dropdown? "Date" or "Date MS
Access"?

It's just a nagging question that I've always wondered...what's the
difference between the two? The Help for Dreamweaver only contains the
following reference, "In the Submit As pop-up menu, select the data format
accepted by your database table. For example, if the table column only
accepts numeric data, select Numeric.". Not much help there, but I've always
wondered. Since I was using MS SQL Server, I've always selected "Date MS
Access" and it works, but I just was wonderin'...ya know...all curious and
stuff...
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: good error.cfm template

2004-05-12 Thread Dave Watts
> It's not just Exception in CFMX thought - you also have 
> Monitor then

The MONITOR value of CFERROR's TYPE attribute predates CFMX. I think it's
been around since CF 4.5.x.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Quick Question about inserting dates...

2004-05-12 Thread Philip Arnold
> From: Jeff Small
> 
> In Dreamweaver, using the Insertion Wizard, if I want to 
> insert a hidden "datesubmitted" field and use #Now()# and the 
> database is SQLServer, which option do I want to select in 
> the "Submit As" dropdown? "Date" or "Date MS Access"?
> 
> It's just a nagging question that I've always 
> wondered...what's the difference between the two? The Help 
> for Dreamweaver only contains the following reference, "In 
> the Submit As pop-up menu, select the data format accepted by 
> your database table. For example, if the table column only 
> accepts numeric data, select Numeric.". Not much help there, 
> but I've always wondered. Since I was using MS SQL Server, 
> I've always selected "Date MS Access" and it works, but I 
> just was wonderin'...ya know...all curious and stuff...

If you're using SQL Server, don't pass the date from CF, get SQL Server
to insert the data itself

INSERT INTO table (dateField)
VALUES (getDate())
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: good error.cfm template

2004-05-12 Thread Philip Arnold
> From: Dave Watts
> 
> The MONITOR value of CFERROR's TYPE attribute predates CFMX. 
> I think it's been around since CF 4.5.x.

Yeah? Shows how often I've used it then 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Quick Question about inserting dates...

2004-05-12 Thread Jeff Small
> If you're using SQL Server, don't pass the date from CF, get SQL Server
> to insert the data itself
>
> INSERT INTO table (dateField)
> VALUES (getDate())

Well, that's pretty cool...I've just been using #Now()#...I always forget to
let SQL do all the work...sigh...

But still, what's the difference between the two choices in Dreamweaver?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Flash Remoting NOT accepting numeric URL variables

2004-05-12 Thread Andrew Santos
Hello all,

 
I have a .cfm page that has a Remoting-powered .swf file on it. The 
file works fine, but I need to filter the flash file based on a URL 
variable, say URL.id=2. The problem is, anytime ANY reference is made to a 
URL variable anywhere on the page, the file returns null values.

 
For example, say I have a hyperlink in a page:
http://www.testsite.com/gallery.cfm?id=2

 
I want to have the galNum variable read that id number, and then pass 
it to the flash file so it knows which gallery to display

 

FlashGalNum = StructNew();
FlashGalNum.galNum=#URL.id#;


 
Is there a way to pass that URL variable?

 
Thanks in advance for your help.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: good error.cfm template

2004-05-12 Thread Pascal Peters
According to cfmlhistory the cferror tag has been around since cf4.0.1
The type "monitor" is deprecated in cf6.0+
The type "exception" (full use of cf tags) was introduced in cf4.5.0 
The types "validation" and "request" exist since cf4.0.1

I can't tell about earlier versions as I didn't use them and cfmlhistory
only goes back to cf4.0.1

Pascal

> -Original Message-
> From: Philip Arnold [mailto:[EMAIL PROTECTED] 
> Sent: woensdag 12 mei 2004 16:22
> To: CF-Talk
> Subject: RE: good error.cfm template
> 
> It's not just Exception in CFMX thought - you also have Monitor then
> 
> But I'm not sure which version of CF you're running, so I 
> can't say for certain what options you can use
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Auditing with CFMX - MySQL

2004-05-12 Thread Spectrum WebDesign
Hi all.
I got to do a audit trail report which is keep track what data in the database have been changed by users.
This report will show all the changes to master data.
In order to do this report, I got to keep track every data in the database so that I can know what data have been changed and when it changed. 

 
Can I know Mysql got provide any build-in functions so that I can check it out when and what data has been changed for each table?

If there is no build-in function, do you have any advise for me in order to complete this assignment?

Thank you.

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: OT: Dynamic menu for IE Mac

2004-05-12 Thread Stephen Hait
> > >Hi!
> > >
> > >I'm having big problems finding a dynamic menu that works on
> > >major browsers on Win and Linux, and IE on Mac. The biggest
> > >challenge was IE on Mac. I couldAlso it

I've had good luck with CoolMenus and IE5 Mac:
http://www.dhtmlcentral.com/projects/coolmenus/
HTH, Stephen
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: The other shoe drops

2004-05-12 Thread Matt Liotta
Just to be clear, the general rule on a Windows system is that you can 
access up to 2GB of RAM from a single process. Windows 2000/2003 can be 
configured to allow for a single process to access 3GB of RAM. If you 
have Windows 2000/2003 advanced or data center than a single process 
can access more than 3GB of RAM using non-standard system calls i.e. it 
has to be written specifically to do that. There is an overhead 
associated with all this that makes the effective amount of RAM 
available lower than the physical RAM. 64bit systems don't have this 
problem. I strongly recommend that you use an Opteron-based system for 
SQL Server if you want to use more than 4GB of RAM.

-Matt

On May 11, 2004, at 11:29 AM, Tom Kitta wrote:

> [Tom Kitta]
>
>  I agree with the memory leaks but not with the size of RAM 
> limitation. There
>  is no problem with going past 4Gb on Windows server. For example you 
> can
>  have SQL server use 8Gb. For how to do this see
>  http://www.sql-server-performance.com/
>  As far as I know same holds true for other server class OS. On 
> non-server OS
>  4Gb is a limit, like on Windows XP Pro.
>
>  The OS must do a re-mapping trick to use memory past 4Gb on 32bit 
> systems
>  and I think this is what Matt was referring to.
>
>  TK
>  http://www.tomkitta.com
>
>  Increasing the amount of RAM never fixes memory leaks. Further, unless
>  you are using a 64bit CPU and OS, then you can't make use of more than
>  4GB of RAM anyway. In fact, most 32bit operating systems won't allow
>  you to even use all 4GB.
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: OT: Dynamic menu for IE Mac

2004-05-12 Thread Semrau Steven Ctr SAF/IE
I have great luck with Milonic DHTML Menu at ( http://www.milonic.com/)

The DHTML Website Menu works well with the following web browsers:

Microsoft Internet Explorer for Windows 4.0 to 6.0+
Netscape Navigator for Windows 4.03 to 4.8
Netscape Navigator for Windows 6.0 to 7.0+
Mozilla for Windows 0.6 to 1.6+
Opera for Windows 5.0 to 7.0+

Microsoft Internet Explorer 5.0+ for Apple Mac
Safari 1.0+ for Apple Mac
Netscape Navigator 4.x+ for Apple Mac
Netscape Navigator 6.0+ for Apple Mac
Mozilla 0.7+ for Apple Mac

Netscape Navigator 4+ on Unix/Linux
Netscape 6+ on Unix/Linux
Konquerer 2.2+ on Unix/Linux
Mozilla 0.7+ for Unix/Linux

Support is currently in development for the menu on WebTV and Pocket PC's

-Original Message-
From: Stephen Hait [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 12:03 PM
To: CF-Talk
Subject: Re: OT: Dynamic menu for IE Mac

> > >Hi!
> > >
> > >I'm having big problems finding a dynamic menu that works on
> > >major browsers on Win and Linux, and IE on Mac. The biggest
> > >challenge was IE on Mac. I couldAlso it

I've had good luck with CoolMenus and IE5 Mac:
http://www.dhtmlcentral.com/projects/coolmenus/
HTH, Stephen 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Quick Question about inserting dates...

2004-05-12 Thread Burns, John D
Well, one thing to consider is that if you move that code to a server
using MySQL as your database, the getDate() function in your query will
choke since it's not a MySQL function.

John 

-Original Message-
From: Jeff Small [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 12, 2004 11:22 AM
To: CF-Talk
Subject: Re: Quick Question about inserting dates...

> If you're using SQL Server, don't pass the date from CF, get SQL 
> Server to insert the data itself
>
> INSERT INTO table (dateField)
> VALUES (getDate())

Well, that's pretty cool...I've just been using #Now()#...I always
forget to let SQL do all the work...sigh...

But still, what's the difference between the two choices in Dreamweaver?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: good error.cfm template

2004-05-12 Thread Dave Watts
> According to cfmlhistory the cferror tag has been around 
> since cf4.0.1 

It's been around since at least 2.0. I'm pretty sure it was in 1.5, if not
1.0.

> The type "monitor" is deprecated in cf6.0+ 

Well, I'll be damned. I don't use it that often, but I didn't know it was
removed. I just tried it out on CFMX 6.1 and got an attribute validation
error!

> The types "validation" and "request" exist since cf4.0.1

These have been around since the early days of CF.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Odd error: "4096"

2004-05-12 Thread Scott Weikert
I'm getting a very strange error the past two days. Basically all it says 
is, "4096". The line of code it highlights is the last line in a SQL update 
query, said line definitely *not* being the issue.

I suspect it has to do with the nature of a string I'm trying to update in 
another field. Depending on the state of said string (HTML code) when 
attempting to save, it either goes through without a hitch or bombs my 
server. This has happened on two different boxes, with the same error.

Anyone out there have any idea what this odd error indicates?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: The other shoe drops

2004-05-12 Thread Tom Kitta
Yes, you are right - forgot about standard ed. limit of 4gb, here are
detailed specs:
Standard edition : Maximum of 4 CPU , Maximum of 4GB of RAM
Enterprise edition  : Maximum of 32GB RAM, 64GB RAM on 64bit, Maximum of 8
CPUs
Datacentre edition : Maximum of 64CPUs, 512GB RAM on 64bit edition
Web edition : Up to 2 CPUs and maximum of 2GB of RAM
  -Original Message-
  From: Matt Liotta [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, May 12, 2004 12:07 PM
  To: CF-Talk
  Subject: Re: The other shoe drops

  Just to be clear, the general rule on a Windows system is that you can
  access up to 2GB of RAM from a single process. Windows 2000/2003 can be
  configured to allow for a single process to access 3GB of RAM. If you
  have Windows 2000/2003 advanced or data center than a single process
  can access more than 3GB of RAM using non-standard system calls i.e. it
  has to be written specifically to do that. There is an overhead
  associated with all this that makes the effective amount of RAM
  available lower than the physical RAM. 64bit systems don't have this
  problem. I strongly recommend that you use an Opteron-based system for
  SQL Server if you want to use more than 4GB of RAM.

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




CFID Hell....

2004-05-12 Thread Butch Zaccheo
Is there a way to renew CFID and CFTOKEN without shutting down your
browser I¹ve tried many different ways to do this and nothing has
worked! 

In application.cfm I have session variables enabled, they are not stored in
cookies...

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




SOT: Mac RAM was Re: The other shoe drops

2004-05-12 Thread Dick Applebaum
Just out of curiosity --

The Mac XServe G% is 64 bit and can have 8 Gig RAM.

Is there anything in OS X that limits the RAM use?

Of course, you can't run SQL-Server on a MAc, but you can nun 
Sybase_ASE, Oracle 9i. PostgreSQL, MySQL and others.

TIA

Dick

On May 12, 2004, at 9:06 AM, Matt Liotta wrote:

> Just to be clear, the general rule on a Windows system is that you can
>  access up to 2GB of RAM from a single process. Windows 2000/2003 can 
> be
>  configured to allow for a single process to access 3GB of RAM. If you
>  have Windows 2000/2003 advanced or data center than a single process
>  can access more than 3GB of RAM using non-standard system calls i.e. 
> it
>  has to be written specifically to do that. There is an overhead
>  associated with all this that makes the effective amount of RAM
>  available lower than the physical RAM. 64bit systems don't have this
>  problem. I strongly recommend that you use an Opteron-based system for
>  SQL Server if you want to use more than 4GB of RAM.
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFID Hell....

2004-05-12 Thread Raymond Camden
What are you trying to do? Reset your session? Have you tried simply using
structDelete to remove session vars, or structClear to empty the entire
session?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Flash Remoting NOT accepting numeric URL variables

2004-05-12 Thread Adrocknaphobia
You can use FlashVars with Flash Player 6+ like so:











You can read a little more about flashVars here:

http://www.macromedia.com/support/flash/ts/documents/flashvars.htm

-Adam

> -Original Message-
> From: Andrew Santos [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 12, 2004 03:33 PM
> To: 'CF-Talk'
> Subject: Flash Remoting NOT accepting numeric URL variables
> 
> Hello all,
>  
> I have a .cfm page that has a Remoting-powered .swf file on it. The 
> file works fine, but I need to filter the flash file based on a URL 
> variable, say URL.id=2. The problem is, anytime ANY reference is made to a 
> URL variable anywhere on the page, the file returns null values.
>  
> For example, say I have a hyperlink in a page:
> http://www.testsite.com/gallery.cfm?id=2
>  
> I want to have the galNum variable read that id number, and then pass 
> it to the flash file so it knows which gallery to display
>  
> 
> FlashGalNum = StructNew();
> FlashGalNum.galNum=#URL.id#;
> 
>  
> Is there a way to pass that URL variable?
>  
> Thanks in advance for your help.
> 
>  
> 
> 
> 
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Regex Q

2004-05-12 Thread Charlie Griefer
On another forum, a user asked how to turn this string:

FirstName LastName <[EMAIL PROTECTED]>

into this string:

[EMAIL PROTECTED]

I was able to come up with:



I feel a little cheesy using the left() function to remove that last
bracket, as I'm sure there must have been a way within the same regex.

I tried a variety of things, such as adding .$ and even the literal > to the
_expression_ above, but I assume that means it was looking for that _expression_
as an _expression_ itself.  But there has to be a way to say, replace (this
exp) AND (that exp)?  or would it just be a case of nesting reReplace()
functions?

Charlie
-still trying to get a handle on regex
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: SOT: Mac RAM was Re: The other shoe drops

2004-05-12 Thread Matt Liotta
You'd have to check with Apple on that. XServe G5s have 8 DIMM slots, 
so physically it can have more than 8GB of RAM.

-Matt

On May 12, 2004, at 12:34 PM, Dick Applebaum wrote:

> Just out of curiosity --
>
>  The Mac XServe G% is 64 bit and can have 8 Gig RAM.
>
>  Is there anything in OS X that limits the RAM use?
>
>  Of course, you can't run SQL-Server on a MAc, but you can nun
>  Sybase_ASE, Oracle 9i. PostgreSQL, MySQL and others.
>
>  TIA
>
>  Dick
>
>  On May 12, 2004, at 9:06 AM, Matt Liotta wrote:
>
>  > Just to be clear, the general rule on a Windows system is that you 
> can
>  >  access up to 2GB of RAM from a single process. Windows 2000/2003 
> can
>  > be
>  >  configured to allow for a single process to access 3GB of RAM. If 
> you
>  >  have Windows 2000/2003 advanced or data center than a single 
> process
>  >  can access more than 3GB of RAM using non-standard system calls 
> i.e.
>  > it
>  >  has to be written specifically to do that. There is an overhead
>  >  associated with all this that makes the effective amount of RAM
>  >  available lower than the physical RAM. 64bit systems don't have 
> this
>  >  problem. I strongly recommend that you use an Opteron-based system 
> for
>  >  SQL Server if you want to use more than 4GB of RAM.
>  >
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Regex Q

2004-05-12 Thread Barney Boisvert
This'll do it:

Rereplace(email, "^[^<]+<([^>]+)>.*$", "\1", "one")

I threw the extra ".*" in there at the end because the possibility of having
trailing spaces is always there, and we can clean it up at the same time, so
why not?

Cheers,
barneyb

> -Original Message-
> From: Charlie Griefer [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 12, 2004 9:59 AM
> To: CF-Talk
> Subject: Regex Q
> 
> On another forum, a user asked how to turn this string:
> 
> FirstName LastName <[EMAIL PROTECTED]>
> 
> into this string:
> 
> [EMAIL PROTECTED]
> 
> I was able to come up with:
> 
> 
> '', 'all')>
> 
> I feel a little cheesy using the left() function to remove that last
> bracket, as I'm sure there must have been a way within the same regex.
> 
> I tried a variety of things, such as adding .$ and even the 
> literal > to the
> _expression_ above, but I assume that means it was looking for 
> that _expression_
> as an _expression_ itself.  But there has to be a way to say, 
> replace (this
> exp) AND (that exp)?  or would it just be a case of nesting 
> reReplace()
> functions?
> 
> Charlie
> -still trying to get a handle on regex
> 
> 
> 
> 
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Regex Q

2004-05-12 Thread Dick Applebaum
]*)>.?", "\1")/>

HTH

Dick

On May 12, 2004, at 9:58 AM, Charlie Griefer wrote:

> On another forum, a user asked how to turn this string:
>
>  FirstName LastName <[EMAIL PROTECTED]>
>
>  into this string:
>
>  [EMAIL PROTECTED]
>
>  I was able to come up with:
>
>  
> 'all')>
>
>  I feel a little cheesy using the left() function to remove that last
>  bracket, as I'm sure there must have been a way within the same regex.
>
>  I tried a variety of things, such as adding .$ and even the literal > 
> to the
>  _expression_ above, but I assume that means it was looking for that 
> _expression_
>  as an _expression_ itself.  But there has to be a way to say, replace 
> (this
>  exp) AND (that exp)?  or would it just be a case of nesting 
> reReplace()
>  functions?
>
>  Charlie
>  -still trying to get a handle on regex
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Regex Q

2004-05-12 Thread Charlie Griefer
ok, lemme try and break this down:

^[^<]  anything at the beginning of the string that is NOT an opening
bracket (which would take care of the FirstName LastName and any spaces)

+< an opening bracket

([^>]+)  this is where I start to get lost.  I know the [^>] is anything
that is not a closing bracket...but not sure where the + comes in inside of
the parentheses.

>.*$ a closing bracket, and anything that might follow it (such as trailing
spaces).

Also, I know the \1 is a 'backreference'...just not exactly sure what that
means.  If you could clarify the ([^>]+) and the \1 I'd be eternally
grateful :)

Charlie

- Original Message - 
From: "Barney Boisvert" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, May 12, 2004 10:03 AM
Subject: RE: Regex Q

> This'll do it:
>
> Rereplace(email, "^[^<]+<([^>]+)>.*$", "\1", "one")
>
> I threw the extra ".*" in there at the end because the possibility of
having
> trailing spaces is always there, and we can clean it up at the same time,
so
> why not?
>
> Cheers,
> barneyb
>
> > -Original Message-
> > From: Charlie Griefer [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, May 12, 2004 9:59 AM
> > To: CF-Talk
> > Subject: Regex Q
> >
> > On another forum, a user asked how to turn this string:
> >
> > FirstName LastName <[EMAIL PROTECTED]>
> >
> > into this string:
> >
> > [EMAIL PROTECTED]
> >
> > I was able to come up with:
> >
> > 
> > '', 'all')>
> >
> > I feel a little cheesy using the left() function to remove that last
> > bracket, as I'm sure there must have been a way within the same regex.
> >
> > I tried a variety of things, such as adding .$ and even the
> > literal > to the
> > _expression_ above, but I assume that means it was looking for
> > that _expression_
> > as an _expression_ itself.  But there has to be a way to say,
> > replace (this
> > exp) AND (that exp)?  or would it just be a case of nesting
> > reReplace()
> > functions?
> >
> > Charlie
> > -still trying to get a handle on regex
> >
> >
> >
> >
> >
> >
>
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Regex Q

2004-05-12 Thread Dick Applebaum
Oops---

]*)>.*", "\1")/>

is better

On May 12, 2004, at 10:10 AM, Dick Applebaum wrote:

> ]*)>.?", "\1")/>
>
>  HTH
>
>  Dick
>
>  On May 12, 2004, at 9:58 AM, Charlie Griefer wrote:
>
>  > On another forum, a user asked how to turn this string:
>  >
>  >  FirstName LastName <[EMAIL PROTECTED]>
>  >
>  >  into this string:
>  >
>  >[EMAIL PROTECTED]
>  >
>  >  I was able to come up with:
>  >
>  >  
>  > 'all')>
>  >
>  >  I feel a little cheesy using the left() function to remove that 
> last
>  >  bracket, as I'm sure there must have been a way within the same 
> regex.
>  >
>  >  I tried a variety of things, such as adding .$ and even the 
> literal >
>  > to the
>  >  _expression_ above, but I assume that means it was looking for that
>  > _expression_
>  >  as an _expression_ itself.  But there has to be a way to say, replace
>  > (this
>  >  exp) AND (that exp)?  or would it just be a case of nesting
>  > reReplace()
>  >  functions?
>  >
>  >  Charlie
>  >  -still trying to get a handle on regex
>  >
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Opening file...editing file...saving changes to server problem

2004-05-12 Thread Nathan R. Jessop
On Wed, 12 May 2004 13:05:50 -0400, Philip Arnold wrote:

>> From: Nathan R. Jessop
>> 
>> I have an app where I'm opening a file (text file) on the 
>> server (with no file extension) and displaying the contents 
>> on my page in a TEXTAREA.
>
>It might be that the form is converting single character returns chr(13)
>to chr(13) & Chr(10), which your apps might see as the wrong format
>
>You might wanna try asking technical questions on CF-Talk though rather
>than CF-Community

So what should I be doing to get around this?

Do a Replace on my variable #FORM.textvar# before writing it?


	
	
		
	
	
C:\cygwin\etc\profile SAVED successfully.

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




CFC issues

2004-05-12 Thread Cutter (CF-Talk)
Please forgive me for stupid questions, it has been quite awhile since I 
  have been able to work with CFC's. I have a getID() method:


returntype="numeric" >
   	
   

I first create my object:


component="#application.config.CFCOMPONENTS_PREFIX#com.seacrets.boutique.size" 
method="get" returnvariable="formsize" >
			
		

My object is there, with data (thank you cfdump). But when I call my 
getID() method...:



I am receiving the following error:

Method selection Exception.
An exception occurred during method selection process for Method getID 
The cause of this exception was that either there are no methods with 
the the specified method name and argument types, or the method getID is 
overloaded with arguments types that Coldfusion can't decipher 
reliablly. Use javacast function to reduce ambiguity.

The error occurred

Which of course points to the above line. What am I doing wrong here?

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




RE: CFC issues

2004-05-12 Thread Dave Carabetta
>Please forgive me for stupid questions, it has been quite awhile since I
>   have been able to work with CFC's. I have a getID() method:
>
>
>returntype="numeric" >
>    	
>    
>
>I first create my object:
>
>
>component="#application.config.CFCOMPONENTS_PREFIX#com.seacrets.boutique.size"
>method="get" returnvariable="formsize" >
>			
>		
>
>My object is there, with data (thank you cfdump). But when I call my
>getID() method...:
>
>
>
>I am receiving the following error:
>
>Method selection Exception.
>An exception occurred during method selection process for Method getID
>The cause of this exception was that either there are no methods with
>the the specified method name and argument types, or the method getID is
>overloaded with arguments types that Coldfusion can't decipher
>reliablly. Use javacast function to reduce ambiguity.
>
>The error occurred
>
>Which of course points to the above line. What am I doing wrong here?
>

Shouldn't your cfinvoke be calling getID instead of just get? You have:


component="#application.config.CFCOMPONENTS_PREFIX#com.seacrets.boutique.size"
method="get" returnvariable="formsize" >
  


but I think it should be


component="#application.config.CFCOMPONENTS_PREFIX#com.seacrets.boutique.size"
method="getID" returnvariable="formsize" >
  


PS -- Since your method is not outputting anything, change the output 
attribute to "false".

Regards,
Dave.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CFC issues

2004-05-12 Thread Bryan Stevenson
you are invoking a method named "get" but your function is named "getID" ;-)

HTH

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Cutter (CF-Talk) 
  To: CF-Talk 
  Sent: Wednesday, May 12, 2004 10:25 AM
  Subject: CFC issues

  Please forgive me for stupid questions, it has been quite awhile since I 
    have been able to work with CFC's. I have a getID() method:

  
  returntype="numeric" >
  
 

  I first create my object:

  
  component="#application.config.CFCOMPONENTS_PREFIX#com.seacrets.boutique.size" 
  method="get" returnvariable="formsize" >
  
  

  My object is there, with data (thank you cfdump). But when I call my 
  getID() method...:

  

  I am receiving the following error:

  Method selection Exception.
  An exception occurred during method selection process for Method getID 
  The cause of this exception was that either there are no methods with 
  the the specified method name and argument types, or the method getID is 
  overloaded with arguments types that Coldfusion can't decipher 
  reliablly. Use javacast function to reduce ambiguity.

  The error occurred

  Which of course points to the above line. What am I doing wrong here?

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




RE: Regex Q

2004-05-12 Thread Barney Boisvert
Responses inline: 

> -Original Message-
> From: Charlie Griefer [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 12, 2004 10:14 AM
> To: CF-Talk
> Subject: Re: Regex Q
> 
> ok, lemme try and break this down:
> 
> ^[^<]  anything at the beginning of the string that is NOT an opening
> bracket (which would take care of the FirstName LastName and 
> any spaces)
> 
> +< an opening bracket

Not quite right; should be like this:

^[^<]+ one or more characters at the beginnging that ar enot openeing
brackets.  That should be a * not a + as well, to handle the case that the
first char is the "<".

< an opening bracket

> ([^>]+)  this is where I start to get lost.  I know the [^>] 
> is anything
> that is not a closing bracket...but not sure where the + 
> comes in inside of
> the parentheses.

Working from inside out, [^>] means anything except a closing bracket, the +
means one or more such characters, and the parentheses mean "store the
enclosed value for backreferencing".  

> >.*$ a closing bracket, and anything that might follow it 
> (such as trailing
> spaces).

Bingo!

> Also, I know the \1 is a 'backreference'...just not exactly 
> sure what that
> means.  If you could clarify the ([^>]+) and the \1 I'd be eternally
> grateful :)

When we stored the value using parantheses it gets stored with a number
reference.  Since it's the first such value (you can have multiple), it gets
to be "1".  We can reference that value anywhere later in the regular
_expression_, or in the replace string by prepending it with a backslash.
Here's some more examples:

Rereplace("catdog", "cat(.*)", "\1\1") => dogdog
Rereplace("'dog'", "(['""])(.*)\1", "\1\2\2\1") => 'dogdog'
Rereplace("""dog""", "(['""])(.*)\1", "\1\2\2\1") => "dogdog"
Rereplace("'dog""", "(['""])(.*)\1", "\1\2\2\1") => 'dog"

In the first case, we double whatever is after 'cat'.  In numbers 2-4 we use
the same RE and search stirng for all three.  It searches for a single or
double quote and stores it, then 'anything' and stores it, then a MATCHING
quote (using the backreference).  We replace it with the same quote, and the
'anything' twice, and then the quote again.  #2 uses single quotes, #3 uses
double quotes, and #4 uses mixed quotes, which DOESN'T work, so the replace
doesn't happen.  

Cheers,
barneyb
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Opening file...editing file...saving changes to server problem

2004-05-12 Thread Philip Arnold
> From: Nathan R. Jessop
>
> So what should I be doing to get around this?
> 
> Do a Replace on my variable #FORM.textvar# before writing it?

Run a Replace() either way - not sure what format the app which uses
this file needs, but you might want to experiment

Change Chr(13) & Chr(10) to just Chr(13), or Chr(10)

Also, scan through the form field to see if it only includes one of the
values, it might be just returning Chr(13), and the app wants Chr(13) &
Chr(10)

It's basically going to take a lot of experimentation on your behalf
unless you know the format that the resulting app requires
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CFID Hell....

2004-05-12 Thread Butch Zaccheo
Yes I am trying to reset my session and yes I did delete all session
variables... But for some reason the same CFID and CFTOKEN keep showing
up

On 5/12/04 9:35 AM, "Raymond Camden" <[EMAIL PROTECTED]> wrote:

> What are you trying to do? Reset your session? Have you tried simply using
> structDelete to remove session vars, or structClear to empty the entire
> session?
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CFC issues

2004-05-12 Thread Cutter (CF-Talk)
The get() method creates a size object, the getID() method get's the ID 
of that object. There are other method calls further down the form to 
retrieve other properties of the object.

Cutter

Bryan Stevenson wrote:

> you are invoking a method named "get" but your function is named "getID" ;-)
> 
> HTH
> 
> Cheers
> 
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> t. 250.920.8830
> e. [EMAIL PROTECTED]
> 
> -
> Macromedia Associate Partner
> www.macromedia.com
> -
> Vancouver Island ColdFusion Users Group
> Founder & Director
> www.cfug-vancouverisland.com
>   - Original Message -
>   From: Cutter (CF-Talk)
>   To: CF-Talk
>   Sent: Wednesday, May 12, 2004 10:25 AM
>   Subject: CFC issues
> 
>   Please forgive me for stupid questions, it has been quite awhile since I
> have been able to work with CFC's. I have a getID() method:
> 
>   
>   returntype="numeric" >
>   
>  
> 
>   I first create my object:
> 
>   
>   component="#application.config.CFCOMPONENTS_PREFIX#com.seacrets.boutique.size" 
> 
>   method="get" returnvariable="formsize" >
>   
>   
> 
>   My object is there, with data (thank you cfdump). But when I call my
>   getID() method...:
> 
>   
> 
>   I am receiving the following error:
> 
>   Method selection Exception.
>   An exception occurred during method selection process for Method getID
>   The cause of this exception was that either there are no methods with
>   the the specified method name and argument types, or the method getID is
>   overloaded with arguments types that Coldfusion can't decipher
>   reliablly. Use javacast function to reduce ambiguity.
> 
>   The error occurred
> 
>   Which of course points to the above line. What am I doing wrong here?
> 
>   Cutter
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFID Hell....

2004-05-12 Thread Raymond Camden
But why do you care about that? CFID/CFTOKEN are how CF indentifies you. You
should not need to worry about it. If all you care about is clearing the
session, then just clear it. It doesn't matter if you keep the id/token.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CFID Hell....

2004-05-12 Thread Butch Zaccheo
I use cfid and cftoken for an unique identifier for my shopping cart So
with each new transaction I need a new identifier

On 5/12/04 11:03 AM, "Raymond Camden" <[EMAIL PROTECTED]> wrote:

> But why do you care about that? CFID/CFTOKEN are how CF indentifies you. You
> should not need to worry about it. If all you care about is clearing the
> session, then just clear it. It doesn't matter if you keep the id/token.
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Opening file...editing file...saving changes to server problem

2004-05-12 Thread Nathan R. Jessop
The other app requires just a plain ASCII file DOS formated file

On Wed, 12 May 2004 13:52:03 -0400, Philip Arnold wrote:

>> From: Nathan R. Jessop
>>
>> So what should I be doing to get around this?
>> 
>> Do a Replace on my variable #FORM.textvar# before writing it?
>
>Run a Replace() either way - not sure what format the app which uses
>this file needs, but you might want to experiment
>
>Change Chr(13) & Chr(10) to just Chr(13), or Chr(10)
>
>Also, scan through the form field to see if it only includes one of the
>values, it might be just returning Chr(13), and the app wants Chr(13) &
>Chr(10)
>
>
>It's basically going to take a lot of experimentation on your behalf
>unless you know the format that the resulting app requires

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




RE: CFID Hell....

2004-05-12 Thread Barney Boisvert
Then you session is gone.  CFID and CFTOKEN identify a computer (they're
cookies), they don't identify a session.  You can use CFCOOKIE to "unset"
them, but that's not going to change anything, because the session is
already gone.

Cheers,
barneyb

> -Original Message-
> From: Butch Zaccheo [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 12, 2004 11:01 AM
> To: CF-Talk
> Subject: Re: CFID Hell
> 
> Yes I am trying to reset my session and yes I did delete all session
> variables... But for some reason the same CFID and CFTOKEN 
> keep showing
> up
> 
> On 5/12/04 9:35 AM, "Raymond Camden" <[EMAIL PROTECTED]> wrote:
> 
> > What are you trying to do? Reset your session? Have you 
> tried simply using
> > structDelete to remove session vars, or structClear to 
> empty the entire
> > session?
> > 
> >  
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




OT: Help setting up DNS MX Record.

2004-05-12 Thread Eric Creese
I run my own small web server. I do not offer email, just site hosting for the sites I develop. I have a client that has their own exchange server a their facility.They have the DNS for the URL pointing at my server.  The site comes up fine.  I need to get their email to them so I need to set up a MX Record. However everything I am doing is wrong. Windows 2000, IIS, DNS

Here is what I have so far
(same as parent folder)	Start Authority 	MyServer, admin
(same as parent folder)	Name Server 	MyServer
(same as parent folder)	Host		24.106.39.122
www			Alias		oilequipment.com

They previous hoster gave me this

86400   IN  MX  20 mail.oilequipment.com.
mail    86400   IN  A   216.153.249.36

I need help!
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFID Hell....

2004-05-12 Thread Barney Boisvert
That's your problem.  CFID and CFTOKEN are internal CF variables, they are
meaningless outside the realm of CF tracking visitors.  I HIGHLY recommend
you quickly abort the practice of using them for anything in your
application, and instead store a UUID (or whatever) in the session scope
when a session is created, and use that as your transaction ID.

Cheers,
barneyb

> -Original Message-
> From: Butch Zaccheo [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 12, 2004 11:09 AM
> To: CF-Talk
> Subject: Re: CFID Hell
> 
> I use cfid and cftoken for an unique identifier for my 
> shopping cart So
> with each new transaction I need a new identifier
> 
> On 5/12/04 11:03 AM, "Raymond Camden" <[EMAIL PROTECTED]> wrote:
> 
> > But why do you care about that? CFID/CFTOKEN are how CF 
> indentifies you. You
> > should not need to worry about it. If all you care about is 
> clearing the
> > session, then just clear it. It doesn't matter if you keep 
> the id/token.
> > 
> >  
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: SOT: Mac RAM was Re: The other shoe drops

2004-05-12 Thread Ben Doom
OS X and OS X Server support up to 8GB, so putting more in wouldn't 
really help.

AFAIK, other than the 8GB limit, there's nothing inherent about OS X (or 
the BSD core for that matter) that would prevent a given app from using 
as much of that as it wanted.

Technically, you could run MS-SQL Server on the Mac, but since it would 
be running in Windows in an emulator, it really wouldn't do you any 
good.  :-)

--Ben Doom

Matt Liotta wrote:

> You'd have to check with Apple on that. XServe G5s have 8 DIMM slots,
> so physically it can have more than 8GB of RAM.
> 
> -Matt
> 
> On May 12, 2004, at 12:34 PM, Dick Applebaum wrote:
> 
>  > Just out of curiosity --
>  >
>  >  The Mac XServe G% is 64 bit and can have 8 Gig RAM.
>  >
>  >  Is there anything in OS X that limits the RAM use?
>  >
>  >  Of course, you can't run SQL-Server on a MAc, but you can nun
>  >  Sybase_ASE, Oracle 9i. PostgreSQL, MySQL and others.
>  >
>  >  TIA
>  >
>  >  Dick
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CFID Hell....

2004-05-12 Thread Butch Zaccheo
Thanx Barney... Looks like I¹ll have make some changes to my code

BZaccheo

On 5/12/04 11:13 AM, "Barney Boisvert" <[EMAIL PROTECTED]> wrote:

> That's your problem.  CFID and CFTOKEN are internal CF variables, they are
> meaningless outside the realm of CF tracking visitors.  I HIGHLY recommend
> you quickly abort the practice of using them for anything in your
> application, and instead store a UUID (or whatever) in the session scope
> when a session is created, and use that as your transaction ID.
> 
> Cheers,
> barneyb
> 
>> > -Original Message-
>> > From: Butch Zaccheo [mailto:[EMAIL PROTECTED]
>> > Sent: Wednesday, May 12, 2004 11:09 AM
>> > To: CF-Talk
>> > Subject: Re: CFID Hell
>> > 
>> > I use cfid and cftoken for an unique identifier for my
>> > shopping cart So
>> > with each new transaction I need a new identifier
>> > 
>> > On 5/12/04 11:03 AM, "Raymond Camden" <[EMAIL PROTECTED]> wrote:
>> > 
>>> > > But why do you care about that? CFID/CFTOKEN are how CF
>> > indentifies you. You
>>> > > should not need to worry about it. If all you care about is
>> > clearing the
>>> > > session, then just clear it. It doesn't matter if you keep
>> > the id/token.
>>> > > 
>>> > >  
>> > 
>> >
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFID Hell....

2004-05-12 Thread Matt Robertson
Many moons ago, I made my cart ID a concatenation of client.cfid, "_",
client.cftoken, "_" and client.hitcount.  Once a purchase was completed
I reset the cart id by recreating it.  Since the hitcount was different,
I got a new, unique cart ID pretty much automatically and maintained the
ability to tie it to a specific visitor.

I haven't done that in a *long* time, and I don't think I would do it
again.  As has been pointed out, there are better ways to accomplish the
job of prepping a cart for re-use, plus ID'ing a computer isn't
necessarily the same thing as ID'ing a person.   I only mention it in
case you are in a bind and need a fast solution, simply implemented.


 Matt Robertson   [EMAIL PROTECTED] 
 MSB Designs, Inc.  http://mysecretbase.com


-Original Message-
From: Butch Zaccheo [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 12, 2004 11:28 AM
To: CF-Talk
Subject: Re: CFID Hell

Thanx Barney... Looks like I¹ll have make some changes to my code

BZaccheo

On 5/12/04 11:13 AM, "Barney Boisvert" <[EMAIL PROTECTED]>
wrote:

> That's your problem.  CFID and CFTOKEN are internal CF variables, they
are
> meaningless outside the realm of CF tracking visitors.  I HIGHLY
recommend
> you quickly abort the practice of using them for anything in your
> application, and instead store a UUID (or whatever) in the session
scope
> when a session is created, and use that as your transaction ID.
> 
> Cheers,
> barneyb
> 
>> > -Original Message-
>> > From: Butch Zaccheo [mailto:[EMAIL PROTECTED]
>> > Sent: Wednesday, May 12, 2004 11:09 AM
>> > To: CF-Talk
>> > Subject: Re: CFID Hell
>> > 
>> > I use cfid and cftoken for an unique identifier for my
>> > shopping cart So
>> > with each new transaction I need a new identifier
>> > 
>> > On 5/12/04 11:03 AM, "Raymond Camden" <[EMAIL PROTECTED]> wrote:
>> > 
>>> > > But why do you care about that? CFID/CFTOKEN are how CF
>> > indentifies you. You
>>> > > should not need to worry about it. If all you care about is
>> > clearing the
>>> > > session, then just clear it. It doesn't matter if you keep
>> > the id/token.
>>> > > 
>>> > >  
>> > 
>> >
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




CF Admin Links coming up as 404 errors

2004-05-12 Thread Ian Skinner
This is a little weird, but I have just learned that quite a few, but not all links in the cfadmin page on our new server are coming up as 404 errors.  Can anybody help explain how this might happen.

The CFIDE directory is in it's own directory on the server:
C:\WebSites\Administration\CFIDE\

As best as I can tell all the correct sub-directories exist where they are supposed to.

The websites in IIS administrator each have the following mappings:
CFIDE : C:\WebSites\Administration\CFIDE

The weird thing about this, is that common links work just fine such as "Settings", "Data Sources" and "Debugging Settings".  But Several others do not such as "Debugging IP Addresses", "Log Files", and "CFX Tags".  Fourteen of the links on the Admin page's left side menu work, eleven produce a 404 error.  Why would that happen?

Some specifics:
Windows 2000 Server
IIS 6
ColdFusion MX Standard 6.1

Thanks in advance.

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

"C code. C code run. Run code run. Please!"
 - Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: SOT: Mac RAM was Re: The other shoe drops

2004-05-12 Thread Dick Applebaum
I found an answer at:

http://developer.apple.com/documentation/Performance/Conceptual/ 
ManagingMemory/Concepts/AboutMemory.html

The OS X limit is 4 Gig RAM per process.

Jobs is supposed to preview Tiger (the next OS X) at Apple's WDDC dev  
conference at the end of June -- Haven't heard any rumors -- moping for  
more RAM support & DB-based file system.

Dick

On May 12, 2004, at 11:24 AM, Ben Doom wrote:

> OS X and OS X Server support up to 8GB, so putting more in wouldn't
>  really help.
>
>  AFAIK, other than the 8GB limit, there's nothing inherent about OS X  
> (or
>  the BSD core for that matter) that would prevent a given app from  
> using
>  as much of that as it wanted.
>
>  Technically, you could run MS-SQL Server on the Mac, but since it  
> would
>  be running in Windows in an emulator, it really wouldn't do you any
>  good.  :-)
>
>  --Ben Doom
>
>  Matt Liotta wrote:
>
>  > You'd have to check with Apple on that. XServe G5s have 8 DIMM  
> slots,
>  > so physically it can have more than 8GB of RAM.
>  >
>  > -Matt
>  >
>  > On May 12, 2004, at 12:34 PM, Dick Applebaum wrote:
>  >
>  >  > Just out of curiosity --
>  >  >
>  >  >  The Mac XServe G% is 64 bit and can have 8 Gig RAM.
>  >  >
>  >  >  Is there anything in OS X that limits the RAM use?
>  >  >
>  >  >  Of course, you can't run SQL-Server on a MAc, but you can nun
>  >  >  Sybase_ASE, Oracle 9i. PostgreSQL, MySQL and others.
>  >  >
>  >  >  TIA
>  >  >
>  >  >  Dick
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Next "X" days - but SKIP the weekend....

2004-05-12 Thread Les Mizzell
Afternoon,

Can't quite seem to get my head around this.

I need to show an event list on a site that always list today and the 
next 4 days. Butif any of those days = weekend - it has to SKIP 
those and move on..

So
Thursday Listing
Friday Listing
Monday Listing
Tuesday Listing
Wednesday Listing

No problem doing this and *including* the weekend dates. Something like:




Then: show everything equal or less than #enddate# and equal or greater 
than today

but I'm not sure how to go about skipping dates that fall on 
Saturday or Sunday.

Ideas?

-- 
Les Mizzell
---
Do geeks die when exposed to sunlight?
---
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: SOT: Mac RAM was Re: The other shoe drops

2004-05-12 Thread Matt Liotta
I don't believe that is true with the G5; only the G4.

-Matt

On May 12, 2004, at 3:45 PM, Dick Applebaum wrote:

> I found an answer at:
>
>  http://developer.apple.com/documentation/Performance/Conceptual/
>  ManagingMemory/Concepts/AboutMemory.html
>
>  The OS X limit is 4 Gig RAM per process.
>
>  Jobs is supposed to preview Tiger (the next OS X) at Apple's WDDC 
> dev  
>  conference at the end of June -- Haven't heard any rumors -- moping 
> for  
>  more RAM support & DB-based file system.
>
>  Dick
>
>  On May 12, 2004, at 11:24 AM, Ben Doom wrote:
>
>  > OS X and OS X Server support up to 8GB, so putting more in wouldn't
>  >  really help.
>  >
>  >  AFAIK, other than the 8GB limit, there's nothing inherent about OS 
> X  
>  > (or
>  >  the BSD core for that matter) that would prevent a given app from  
>  > using
>  >  as much of that as it wanted.
>  >
>  >  Technically, you could run MS-SQL Server on the Mac, but since it  
>  > would
>  >  be running in Windows in an emulator, it really wouldn't do you any
>  >  good.  :-)
>  >
>  >  --Ben Doom
>  >
>  >  Matt Liotta wrote:
>  >
>  >  > You'd have to check with Apple on that. XServe G5s have 8 DIMM  
>  > slots,
>  >  > so physically it can have more than 8GB of RAM.
>  >  >
>  >  > -Matt
>  >  >
>  >  > On May 12, 2004, at 12:34 PM, Dick Applebaum wrote:
>  >  >
>  >  >  > Just out of curiosity --
>  >  >  >
>  >  >  >  The Mac XServe G% is 64 bit and can have 8 Gig RAM.
>  >  >  >
>  >  >  >  Is there anything in OS X that limits the RAM use?
>  >  >  >
>  >  >  >  Of course, you can't run SQL-Server on a MAc, but you can nun
>  >  >  >  Sybase_ASE, Oracle 9i. PostgreSQL, MySQL and others.
>  >  >  >
>  >  >  >  TIA
>  >  >  >
>  >  >  >  Dick
>  >
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Next "X" days - but SKIP the weekend....

2004-05-12 Thread Ian Skinner
You might try .  The documentation says that 'w' equals weekday.

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Next "X" days - but SKIP the weekend....

2004-05-12 Thread Barney Boisvert
Well shoot.  Please ignore my previous email where I implemented this
long-hand.  ;)

Cheers,
barneyb

> -Original Message-
> From: Ian Skinner [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 12, 2004 1:00 PM
> To: CF-Talk
> Subject: RE: Next "X" days - but SKIP the weekend
> 
> You might try .  The 
> documentation says that 'w' equals weekday.
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Next "X" days - but SKIP the weekend....

2004-05-12 Thread Barney Boisvert
Check out the dayOfWeek() function.  That'll help you decide if a day is a
weekend, and consequently you need to increment your numDays.

An easy (though not necessarily the best) way to approach the problem is to
make a loop from 1 to the number of days you need.  Set a variable to the
start date, and each iteration of the loop add one day.  After adding the
day, check the day of the week it's on.  If it's a weekend, decrement your
counter variable because even though you added a day, it doesn't count:


	// required variables
	startDate = now();
	numDays = 5;
	// calulate end
	endDate = startDate;
	for (i = 1; i LTE numDays; i = i + 1) {
		endDate = dateAdd("d", 1, endDate);
		if (listFind("1,7", dayOfWeek(endDate)) GT 0) {
			numDays = numDays + 1;
		}
	}


Cheers,
barneyb

> -Original Message-
> From: Les Mizzell [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 12, 2004 12:51 PM
> To: CF-Talk
> Subject: Next "X" days - but SKIP the weekend
> 
> Afternoon,
> 
> Can't quite seem to get my head around this.
> 
> I need to show an event list on a site that always list today and the 
> next 4 days. Butif any of those days = weekend - it has to SKIP 
> those and move on..
> 
> So
> Thursday Listing
> Friday Listing
> Monday Listing
> Tuesday Listing
> Wednesday Listing
> 
> No problem doing this and *including* the weekend dates. 
> Something like:
> 
> 
> 
> 
> Then: show everything equal or less than #enddate# and equal 
> or greater 
> than today
> 
> 
> but I'm not sure how to go about skipping dates that fall on 
> Saturday or Sunday.
> 
> Ideas?
> 
> -- 
> Les Mizzell
> ---
> Do geeks die when exposed to sunlight?
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Next "X" days - but SKIP the weekend....

2004-05-12 Thread Jeff Garza
Use the Dayofweek() function to figure out what day today is (1-7) and then SWITCH/CASE through any days that might be affected.




  
  
  
  
  
  
  
  
  
  
  
  
  
  


Kinda ugly but it should work.  This is untested code so you might have to tweak the number of days to add to get it working right.

Cheers,

Jeff Garza
  - Original Message - 
  From: Les Mizzell 
  To: CF-Talk 
  Sent: Wednesday, May 12, 2004 12:50 PM
  Subject: Next "X" days - but SKIP the weekend

  Afternoon,

  Can't quite seem to get my head around this.

  I need to show an event list on a site that always list today and the 
  next 4 days. Butif any of those days = weekend - it has to SKIP 
  those and move on..

  So
  Thursday Listing
  Friday Listing
  Monday Listing
  Tuesday Listing
  Wednesday Listing

  No problem doing this and *including* the weekend dates. Something like:

  
  

  Then: show everything equal or less than #enddate# and equal or greater 
  than today

  but I'm not sure how to go about skipping dates that fall on 
  Saturday or Sunday.

  Ideas?

  -- 
  Les Mizzell
  ---
  Do geeks die when exposed to sunlight?
  ---
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Next "X" days - but SKIP the weekend....

2004-05-12 Thread Ian Skinner
Barney

 
Maybe not completely ignore.  If Les does not desire to display the days Saturday or Sunday, then a quick check of the dayofweek of each day as it's displayed will skip over them.  Something basically like this

 
loop from now() to dateAdd("w",5,now()) as indexDay
    if dayOfWeek(indexDay) NEQ 1 and dayOfWeek(indexDay) NEQ 7
display events
    else
skip day
end loop

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Help setting up DNS MX Record.

2004-05-12 Thread Emmet McGovern
When you say pointing, do you mean using your server as the nameserver with their registrar?    Is your server registered with your registrar as a nameserver?

If that's the case, then you just need to create an Host (A) record for mail that points to that ip (216.153.249.36), then create the mx record to point to mail.oilequipment.com

-emmet


From: Eric Creese [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 12, 2004 2:13 PM
To: CF-Talk
Subject: OT: Help setting up DNS MX Record.

I run my own small web server. I do not offer email, just site hosting for the sites I develop. I have a client that has their own exchange server a their facility.They have the DNS for the URL pointing at my server.  The site comes up fine.  I need to get their email to them so I need to set up a MX Record. However everything I am doing is wrong. Windows 2000, IIS, DNS

Here is what I have so far
(same as parent folder) Start Authority MyServer, admin
(same as parent folder) Name Server MyServer
(same as parent folder) Host 24.106.39.122
www Alias oilequipment.com

They previous hoster gave me this

86400   IN  MX  20 mail.oilequipment.com.
mail    86400   IN  A   216.153.249.36

I need help!

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




Re: CFC issues

2004-05-12 Thread Doug James
Off the top of my head, I believe  creates a component and 
calls the method then releases the component for garbage collection. Try 
creating the component, with CreateObject() for example, and then 
calling the methods.
For example:

cfcSize = 
CreateObject("component",component="#application.config.CFCOMPONENTS_PREFIX#com.seacrets.boutique.size");
formsize = cfcSize.get(ID);

...

value="formsize.getID();" >

Doug

Cutter (CF-Talk) wrote:

>The get() method creates a size object, the getID() method get's the ID 
>of that object. There are other method calls further down the form to 
>retrieve other properties of the object.
>
>
>Cutter
>
>Bryan Stevenson wrote:
>
>  
>
>>you are invoking a method named "get" but your function is named "getID" ;-)
>>
>>HTH
>>
>>Cheers
>>
>>Bryan Stevenson B.Comm.
>>VP & Director of E-Commerce Development
>>Electric Edge Systems Group Inc.
>>t. 250.920.8830
>>e. [EMAIL PROTECTED]
>>
>>-
>>Macromedia Associate Partner
>>www.macromedia.com
>>-
>>Vancouver Island ColdFusion Users Group
>>Founder & Director
>>www.cfug-vancouverisland.com
>>  - Original Message -
>>  From: Cutter (CF-Talk)
>>  To: CF-Talk
>>  Sent: Wednesday, May 12, 2004 10:25 AM
>>  Subject: CFC issues
>>
>>  Please forgive me for stupid questions, it has been quite awhile since I
>>    have been able to work with CFC's. I have a getID() method:
>>
>>  
>>  returntype="numeric" >
>>  
>> 
>>
>>  I first create my object:
>>
>>  
>>  component="#application.config.CFCOMPONENTS_PREFIX#com.seacrets.boutique.size" 
>>
>>  method="get" returnvariable="formsize" >
>>  
>>  
>>
>>  My object is there, with data (thank you cfdump). But when I call my
>>  getID() method...:
>>
>>  
>>
>>  I am receiving the following error:
>>
>>  Method selection Exception.
>>  An exception occurred during method selection process for Method getID
>>  The cause of this exception was that either there are no methods with
>>  the the specified method name and argument types, or the method getID is
>>  overloaded with arguments types that Coldfusion can't decipher
>>  reliablly. Use javacast function to reduce ambiguity.
>>
>>  The error occurred
>>
>>  Which of course points to the above line. What am I doing wrong here?
>>
>>  Cutter
>>
>>    
>>
>
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFC issues

2004-05-12 Thread Raymond Camden
Just as an aside, yes, the normal use of cfinvoke is such that it creates a
new instance each time. However, you can also pass an instance of a CFC to
cfinvoke, and in that case the existing CFC will be used. (Of course, you
still have to create the CFC beforehand.)
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: SOT: Mac RAM was Re: The other shoe drops

2004-05-12 Thread Dick Applebaum
According to this article it is an OS X limitation, not a G5/G4 
limitation

http://www.osnews.com/story.php?news_id=4009

Dick

On May 12, 2004, at 12:58 PM, Matt Liotta wrote:

> I don't believe that is true with the G5; only the G4.
>
>  -Matt
>
>  On May 12, 2004, at 3:45 PM, Dick Applebaum wrote:
>
>  > I found an answer at:
>  >
>  >  http://developer.apple.com/documentation/Performance/Conceptual/
>  >  ManagingMemory/Concepts/AboutMemory.html
>  >
>  >  The OS X limit is 4 Gig RAM per process.
>  >
>  >  Jobs is supposed to preview Tiger (the next OS X) at Apple's WDDC
>  > dev  
>  >  conference at the end of June -- Haven't heard any rumors -- moping
>  > for  
>  >  more RAM support & DB-based file system.
>  >
>  >  Dick
>  >
>  >  On May 12, 2004, at 11:24 AM, Ben Doom wrote:
>  >
>  >  > OS X and OS X Server support up to 8GB, so putting more in 
> wouldn't
>  >  >  really help.
>  >  >
>  >  >  AFAIK, other than the 8GB limit, there's nothing inherent about 
> OS
>  > X  
>  >  > (or
>  >  >  the BSD core for that matter) that would prevent a given app 
> from  
>  >  > using
>  >  >  as much of that as it wanted.
>  >  >
>  >  >  Technically, you could run MS-SQL Server on the Mac, but since 
> it  
>  >  > would
>  >  >  be running in Windows in an emulator, it really wouldn't do you 
> any
>  >  >  good.  :-)
>  >  >
>  >  >  --Ben Doom
>  >  >
>  >  >  Matt Liotta wrote:
>  >  >
>  >  >  > You'd have to check with Apple on that. XServe G5s have 8 
> DIMM  
>  >  > slots,
>  >  >  > so physically it can have more than 8GB of RAM.
>  >  >  >
>  >  >  > -Matt
>  >  >  >
>  >  >  > On May 12, 2004, at 12:34 PM, Dick Applebaum wrote:
>  >  >  >
>  >  >  >  > Just out of curiosity --
>  >  >  >  >
>  >  >  >  >  The Mac XServe G% is 64 bit and can have 8 Gig RAM.
>  >  >  >  >
>  >  >  >  >  Is there anything in OS X that limits the RAM use?
>  >  >  >  >
>  >  >  >  >  Of course, you can't run SQL-Server on a MAc, but you can 
> nun
>  >  >  >  >  Sybase_ASE, Oracle 9i. PostgreSQL, MySQL and others.
>  >  >  >  >
>  >  >  >  >  TIA
>  >  >  >  >
>  >  >  >  >  Dick
>  >  >
>  >
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




OS RAM was Re: SOT: Mac RAM was Re: The other shoe drops

2004-05-12 Thread Matt Liotta
I changed the subject again since the article referenced does an 
excellent job of explaining how much RAM can be allocated for a given 
process on Mac OS X, Windows, and Linux. As such, it would appear some 
of the earlier numbers mentioned in regard to Windows aren't 
practically correct.

For those that don't want to read the two page article that mostly 
covers Mac OS X, I'll quote one of the more useful paragraphs.

"However, as far as 32-bit OSes go, Mac OS X is actually somewhat ahead 
in the memory game. The virtual address space available to an 
application is close to 4GB, which is more than the 2GB Windows 
provides and the 3GB Linux provides. And the Mac's contiguous address 
space of 2.25GB exceeds the 1.5-1.7GB on Windows and the 2GB for Linux. 
Furthermore, Apple will not require you to shell out big money for some 
"Advanced Server" version of its OS if you want to install more than 
4GB of physical memory in your machine, which is what Microsoft and Red 
Hat want you to do."

-Matt

On May 12, 2004, at 5:37 PM, Dick Applebaum wrote:

> According to this article it is an OS X limitation, not a G5/G4
>  limitation
>
>  http://www.osnews.com/story.php?news_id=4009
>
>  Dick
>
>  On May 12, 2004, at 12:58 PM, Matt Liotta wrote:
>
>  > I don't believe that is true with the G5; only the G4.
>  >
>  >  -Matt
>  >
>  >  On May 12, 2004, at 3:45 PM, Dick Applebaum wrote:
>  >
>  >  > I found an answer at:
>  >  >
>  >  >  http://developer.apple.com/documentation/Performance/Conceptual/
>  >  >  ManagingMemory/Concepts/AboutMemory.html
>  >  >
>  >  >  The OS X limit is 4 Gig RAM per process.
>  >  >
>  >  >  Jobs is supposed to preview Tiger (the next OS X) at Apple's 
> WDDC
>  >  > dev  
>  >  >  conference at the end of June -- Haven't heard any rumors -- 
> moping
>  >  > for  
>  >  >  more RAM support & DB-based file system.
>  >  >
>  >  >  Dick
>  >  >
>  >  >  On May 12, 2004, at 11:24 AM, Ben Doom wrote:
>  >  >
>  >  >  > OS X and OS X Server support up to 8GB, so putting more in
>  > wouldn't
>  >  >  >  really help.
>  >  >  >
>  >  >  >  AFAIK, other than the 8GB limit, there's nothing inherent 
> about
>  > OS
>  >  > X  
>  >  >  > (or
>  >  >  >  the BSD core for that matter) that would prevent a given app
>  > from  
>  >  >  > using
>  >  >  >  as much of that as it wanted.
>  >  >  >
>  >  >  >  Technically, you could run MS-SQL Server on the Mac, but 
> since
>  > it  
>  >  >  > would
>  >  >  >  be running in Windows in an emulator, it really wouldn't do 
> you
>  > any
>  >  >  >  good.  :-)
>  >  >  >
>  >  >  >  --Ben Doom
>  >  >  >
>  >  >  >  Matt Liotta wrote:
>  >  >  >
>  >  >  >  > You'd have to check with Apple on that. XServe G5s have 8
>  > DIMM  
>  >  >  > slots,
>  >  >  >  > so physically it can have more than 8GB of RAM.
>  >  >  >  >
>  >  >  >  > -Matt
>  >  >  >  >
>  >  >  >  > On May 12, 2004, at 12:34 PM, Dick Applebaum wrote:
>  >  >  >  >
>  >  >  >  >  > Just out of curiosity --
>  >  >  >  >  >
>  >  >  >  >  >  The Mac XServe G% is 64 bit and can have 8 Gig RAM.
>  >  >  >  >  >
>  >  >  >  >  >  Is there anything in OS X that limits the RAM use?
>  >  >  >  >  >
>  >  >  >  >  >  Of course, you can't run SQL-Server on a MAc, but you 
> can
>  > nun
>  >  >  >  >  >  Sybase_ASE, Oracle 9i. PostgreSQL, MySQL and others.
>  >  >  >  >  >
>  >  >  >  >  >  TIA
>  >  >  >  >  >
>  >  >  >  >  >  Dick
>  >  >  >
>  >  >
>  >
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




ANNOUNCE: WorldWide Macromedia User Group meeting, sneak peaks and Community week.

2004-05-12 Thread Michael Smith
In case you haven't heard about this yet.

On Wednesday, May 19th, come see the Macromedia Worldwide User Group meeting
for sneak peaks of new products. During the rest of the week of May 17th
attend chats and seminars online with Macromedia product managers.

For more details and speakers go to http://www.cfconf.org/CommunityWeek/
and click on the Community Week logo on the top left of the page.

When: Wednesday, May 19th, 2004, 6:30 PM

Where: At a Macromedia user group near you (see URL above for listing).

Some of Macromedia's Product Managers will be broadcasting to us (and other
user groups around the world) via Breeze Live, with never seen before sneak
peaks on upcoming product releases!

I would love to tell you more but I have no CLUE!!! That's because this stuff
is top secret. Members of Team Macromedia don't know. User Group Managers don't
know. Only Macromedia knows what will be shown. And you can be among the first
outside Macromedia to learn about the new stuff!

-- 
Michael Smith, TeraTech Inc - Tools for Programmers(tm)
TeraTech voted Best Consulting Service by CFDJ readers!
CF/ASP Web, VB, Math, Access programming tools and consulting
405 E Gude Dr Ste 207, Rockville MD 20850 USA
Please check out http://www.teratech.com/ - email mailto:[EMAIL PROTECTED],
or call us for more information; in the USA at 1-800-447-9120,
+1-301-424-3903 International, Fax 301-762-8185  Thanks!
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Next "X" days - but SKIP the weekend....

2004-05-12 Thread Les Mizzell
What I got to work was to do a query returning the next 7 days, and then 
filter the results with the "dayOfWeek" function.


  
    and dayOfWeek(myquery.Event_Date) NEQ 7>

#MY OUTPUT STUFF#

  


Thanks to all that replied - great help!

-- 
Les Mizzell
---
Do geeks die when exposed to sunlight?
---
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: OT: Help setting up DNS MX Record.

2004-05-12 Thread Cary Gordon
I suggest that you move your dns to an easy to use, free service like 
.

We do it the old fashioned way - BIND on Linux, but there is no need for 
you to get that involved if it is not needed in you business.

If you do want to learn the nitty gritty, get Cricket Liu's DNS & BIND from 
O'Reilly.

If you need further help, contact me offlist.

Cary Gordon
The Cherry Hill Company

At 01:12 PM 5/12/2004 -0500, you wrote:
>I run my own small web server. I do not offer email, just site hosting for 
>the sites I develop. I have a client that has their own exchange server a 
>their facility.They have the DNS for the URL pointing at my server.  The 
>site comes up fine.  I need to get their email to them so I need to set up 
>a MX Record. However everything I am doing is wrong. Windows 2000, IIS, DNS
>
>Here is what I have so far
>(same as parent folder)Start Authority MyServer, admin
>(same as parent folder)Name Server MyServer
>(same as parent folder)Host24.106.39.122
>wwwAliasoilequipment.com
>
>They previous hoster gave me this
>
>86400   IN  MX  20 mail.oilequipment.com.
>mail    86400   IN  A   216.153.249.36
>
>I need help!
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: ANNOUNCE: WorldWide Macromedia User Group meeting, sneak peaks and Community week.

2004-05-12 Thread Irvin Gomez
If history is any indicator, 4/5 of whatever they announce will be garbage.

No reason to get too excited.

Irvin

>In case you haven't heard about this yet.
>
>On Wednesday, May 19th, come see the Macromedia Worldwide User Group meeting
>for sneak peaks of new products. During the rest of the week of May 17th
>attend chats and seminars online with Macromedia product managers.
>
>For more details and speakers go to http://www.cfconf.org/CommunityWeek/
>and click on the Community Week logo on the top left of the page.
>
>When: Wednesday, May 19th, 2004, 6:30 PM
>
>Where: At a Macromedia user group near you (see URL above for listing).
>
>Some of Macromedia's Product Managers will be broadcasting to us (and other
>user groups around the world) via Breeze Live, with never seen before sneak
>peaks on upcoming product releases!
>
>I would love to tell you more but I have no CLUE!!! That's because this stuff
>is top secret. Members of Team Macromedia don't know. User Group Managers don't
>know. Only Macromedia knows what will be shown. And you can be among the first
>outside Macromedia to learn about the new stuff!
>
>
>-- 
>Michael Smith, TeraTech Inc - Tools for Programmers(tm)
>TeraTech voted Best Consulting Service by CFDJ readers!
>CF/ASP Web, VB, Math, Access programming tools and consulting
>405 E Gude Dr Ste 207, Rockville MD 20850 USA
>Please check out http://www.teratech.com/ - email mailto:[EMAIL PROTECTED],
>or call us for more information; in the USA at 1-800-447-9120,
>+1-301-424-3903 International, Fax 301-762-8185  Thanks!
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: ANNOUNCE: WorldWide Macromedia User Group meeting, sneak peaks and Community week.

2004-05-12 Thread Adrocknaphobia
Jeah, that last one was pretty pointless. They just kept going on and on about CSS.. you'd think they had just invented it!

-Adam

> -Original Message-
> From: Irvin Gomez [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 12, 2004 11:29 PM
> To: 'CF-Talk'
> Subject: Re: ANNOUNCE: WorldWide Macromedia User Group meeting, sneak peaks and Community week.
> 
> If history is any indicator, 4/5 of whatever they announce will be garbage.
> 
> No reason to get too excited.
> 
> 
> Irvin
> 
> 
> 
> >In case you haven't heard about this yet.
> >
> >On Wednesday, May 19th, come see the Macromedia Worldwide User Group meeting
> >for sneak peaks of new products. During the rest of the week of May 17th
> >attend chats and seminars online with Macromedia product managers.
> >
> >For more details and speakers go to http://www.cfconf.org/CommunityWeek/
> >and click on the Community Week logo on the top left of the page.
> >
> >When: Wednesday, May 19th, 2004, 6:30 PM
> >
> >Where: At a Macromedia user group near you (see URL above for listing).
> >
> >Some of Macromedia's Product Managers will be broadcasting to us (and other
> >user groups around the world) via Breeze Live, with never seen before sneak
> >peaks on upcoming product releases!
> >
> >I would love to tell you more but I have no CLUE!!! That's because this stuff
> >is top secret. Members of Team Macromedia don't know. User Group Managers don't
> >know. Only Macromedia knows what will be shown. And you can be among the first
> >outside Macromedia to learn about the new stuff!
> >
> >
> >-- 
> >Michael Smith, TeraTech Inc - Tools for Programmers(tm)
> >TeraTech voted Best Consulting Service by CFDJ readers!
> >CF/ASP Web, VB, Math, Access programming tools and consulting
> >405 E Gude Dr Ste 207, Rockville MD 20850 USA
> >Please check out http://www.teratech.com/ - email mailto:[EMAIL PROTECTED],
> >or call us for more information; in the USA at 1-800-447-9120,
> >+1-301-424-3903 International, Fax 301-762-8185  Thanks!
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Help setting up DNS MX Record.

2004-05-12 Thread Jim McAtee
This doesn't quite make sense.  If, as you say, "They have the DNS for the
URL pointing at my server", then it implies that the customer (or their
ISP or someone else) is doing DNS for the domain.  So you shouldn't have
to set up DNS records locally.  Whoever is doing DNS for the domain should
set up the MX record and you "get their email to them" by the same means
as any other domain - through a relaying SMTP server that will look up the
MX record at the authoritative name servers for the domain.

- Original Message - 
From: "Eric Creese" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, May 12, 2004 12:12 PM
Subject: OT: Help setting up DNS MX Record.

> I run my own small web server. I do not offer email, just site hosting
for the sites I develop. I have a client that has their own exchange
server a their facility.They have the DNS for the URL pointing at my
server.  The site comes up fine.  I need to get their email to them so I
need to set up a MX Record. However everything I am doing is wrong.
Windows 2000, IIS, DNS
>
> Here is what I have so far
> (same as parent folder) Start Authority MyServer, admin
> (same as parent folder) Name Server MyServer
> (same as parent folder) Host 24.106.39.122
> www Alias oilequipment.com
>
> They previous hoster gave me this
>
> 86400   IN  MX  20 mail.oilequipment.com.
> mail    86400   IN  A   216.153.249.36
>
>
> I need help!
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Shanje refugees

2004-05-12 Thread Karl Simanonok
I was just notified today that Shanje.com will no longer be supporting its 
ColdFusion customers after June 1.  They even have a web page where they 
seem to seriously suggest that I should drop everything else I'm doing and 
rewrite tens of thousands of good, functioning CF code before June 1 so 
that I may have the privilege of migrating to their new .NET platform.

Can anyone suggest an alternative CF host that has most of the best 
features that Shanje.com offered?  I need SQL Server support and lots of 
domains and subdomains hopefully without getting nickel-and-dimed to death 
for each new database, domain and email address I set up.  I liked Shanje's 
Web Control Panel even if it was a bit clunky.

Regards,

Karl S.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




CFFile and Word/PDF document

2004-05-12 Thread sam komolafe
Hi All,

How do I View/Display Microsoft Word and/or PDF documents I retrived using CFFILE  into my coldfusion template?

Thanks
Sam
---
[This E-mail scanned for viruses.]
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Shanje refugees

2004-05-12 Thread CFDEV
i'm using efree2net.com and it's quite good.

 
Pat

  _  

From: Karl Simanonok [mailto:[EMAIL PROTECTED] 
Sent: May 12, 2004 20:28
To: CF-Talk
Subject: Shanje refugees

I was just notified today that Shanje.com will no longer be supporting its 
ColdFusion customers after June 1.  They even have a web page where they 
seem to seriously suggest that I should drop everything else I'm doing and 
rewrite tens of thousands of good, functioning CF code before June 1 so 
that I may have the privilege of migrating to their new .NET platform.

Can anyone suggest an alternative CF host that has most of the best 
features that Shanje.com offered?  I need SQL Server support and lots of 
domains and subdomains hopefully without getting nickel-and-dimed to death 
for each new database, domain and email address I set up.  I liked Shanje's 
Web Control Panel even if it was a bit clunky.

Regards,

Karl S. 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Format cfdump

2004-05-12 Thread JerryEla
Here is dump as a custom tag. I use this in CF 4.5.  Just rewrite the 
part the displays quereies.

Ben Densmore wrote:

> Is there a way to format the cfdump tag? I am trying to dump some info
> from 2 queries but they both display horizontally and I would like them
> to display vertically because they have quite a few fields.
>
> Thanks,
> Ben
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ANNOUNCE: WorldWide Macromedia User Group meeting, sneak peaks and Community week.

2004-05-12 Thread Mike Kear
It costs me half a day's production from my one-man shop because I have to
make a 1.5 hour trip each way.  They are therefore quite expensive for me,
even though there's no ticket price.  So I don't go to these things unless
they give some idea of what it's about.    The last one I went to was not
quite a waste of time, but was ruined by poor sound hookup, and right at a
critical point in the Q&A, when a question was asked I needed the answer to,
someone decided that was a good time to finish the presentation and started
making noise handing out tshirts and pens and other stuff.  So the thing I'd
travelled all that way to find out about, was the very thing I didn't get to
hear

Unless I hear something about what's in the meeting I wont be going.



Cheers

Mike Kear

Windsor, NSW, Australia

AFP Webworks

http://afpwebworks.com  





  _  

From: Adrocknaphobia [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 13 May 2004 9:37 AM
To: CF-Talk
Subject: Re: ANNOUNCE: WorldWide Macromedia User Group meeting, sneak peaks
and Community week.

Jeah, that last one was pretty pointless. They just kept going on and on
about CSS.. you'd think they had just invented it!

-Adam

> -Original Message-
> From: Irvin Gomez [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 12, 2004 11:29 PM
> To: 'CF-Talk'
> Subject: Re: ANNOUNCE: WorldWide Macromedia User Group meeting, sneak
peaks and Community week.
> 
> If history is any indicator, 4/5 of whatever they announce will be
garbage.
> 
> No reason to get too excited.
> 
> 
> Irvin
> 
> 
> 
> >In case you haven't heard about this yet.
> >
> >On Wednesday, May 19th, come see the Macromedia Worldwide User Group
meeting
> >for sneak peaks of new products. During the rest of the week of May 17th
> >attend chats and seminars online with Macromedia product managers.
> >
> >For more details and speakers go to http://www.cfconf.org/CommunityWeek/
> >and click on the Community Week logo on the top left of the page.
> >
> >When: Wednesday, May 19th, 2004, 6:30 PM
> >
> >Where: At a Macromedia user group near you (see URL above for listing).
> >
> >Some of Macromedia's Product Managers will be broadcasting to us (and
other
> >user groups around the world) via Breeze Live, with never seen before
sneak
> >peaks on upcoming product releases!
> >
> >I would love to tell you more but I have no CLUE!!! That's because this
stuff
> >is top secret. Members of Team Macromedia don't know. User Group Managers
don't
> >know. Only Macromedia knows what will be shown. And you can be among the
first
> >outside Macromedia to learn about the new stuff!
> >
> >
> >-- 
> >Michael Smith, TeraTech Inc - Tools for Programmers(tm)
> >TeraTech voted Best Consulting Service by CFDJ readers!
> >CF/ASP Web, VB, Math, Access programming tools and consulting
> >405 E Gude Dr Ste 207, Rockville MD 20850 USA
> >Please check out http://www.teratech.com/ - email
mailto:[EMAIL PROTECTED],
> >or call us for more information; in the USA at 1-800-447-9120,
> >+1-301-424-3903 International, Fax 301-762-8185  Thanks!
> 
>

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




FW: Consuming XML Webservice Problem

2004-05-12 Thread Shawn Contreras
Hello,
  I am consuming an XML Webservice for a company and having a problem. All
works well with the code below except, one of the items in the loop are
null therefore HOW do I write code that says "if there is no data, skip
to the next field and so on In this case there is a CompanyName but no
FirstName, no LastName, but there is a Phone.

  
  

   
  #FAQList[i].Company.CompanyName.xmltext#
  #FAQList[i].FirstName.xmltext#
#FAQList[i].LastName.xmltext#
  #FAQList[i].Location.Phone.xmltext#
   

  
  

  Thanks in advance for your assistance.

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