Re: CFMAIL problems
This is the only solution that worked for me when their are tons of email. Actually its not my solution, it was Tony Aly's solution and it works great. !--- First we pull the specific addressees--- cfquery name=get_email_addresses datasource=#attributes.dsn# dbserver=#attributes.dbserver# dbname=#attributes.dbname# username=#attributes.dbusername# password=#attributes.dbpassword# THIS QUERY RETURNS THE PEOPLE YOU ARE SENDING TO /cfquery !--- Then we use CFX_WAIT to pause between ever iteration of sending it out --- cfloop query=get_email_addresses cfset current_email = trim(lcase(email)) cftry cfmail to=#trim(current_email)# from=#trim(get_email_message.from_vc)# subject=#trim(get_email_message.subject_vc)# server=#trim(attributes.mail_server)##get_email_message.message_mem# . /cfmail CFX_Wait Sleeptime=1 cfcatch CFX_Wait Sleeptime=10 /cfcatch /cftry /cfloop Over the last 2 years we have tried everything imaginable in CF to accomplish the same task and this is the only solution that has worked for us. You can get CFX_WAIT int the tag gallery in Allaire's Developer Exchange. http://devex.allaire.com/developer/gallery/SearchResults.cfm?keywords=CFX_WA ITsearch=search Hope that helps, Sean Renet - Original Message - From: DE Bonis, Nicolas [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, April 29, 2001 10:52 PM Subject: CFMAIL problems Hi, I am having problems with cfmail, sometimes it delivers mail and sometimes it doesnt. I performed a test in where I looped over a cfmail 20 times, and 18 of those where delivered, 2 of them werent. Examining the mail log, the following message appeared SMTP server replied No connection to mail server. Moved file to d:\resource\apps\cfusion\MAIL\undelivr\118.cfmail. The site is hosted in australia and our mail server is in the US. I tried bumping the timeout up to 300 seconds and also specifying the mail server's address as a IP address and not a host name. It still hasn't solved the problem. It is hard to find the problem because it occurs randomly. I have read many mailing list archives where this problem occurs, but they all seem to never be able to deliver mail, in my case, 80% of the time it does. has anyone experienced this same problem? If so, how did you fix it! Could the problem be on the mail server?? Could any software on the webserver causing this. We are running pcanywhere and an ftp server. Thanks in advance Nick Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFMAIL problems
Have you always had this problem? what version of CF are you running?. Im using cf 4.5. -Original Message- From: Tony Gruen [SMTP:[EMAIL PROTECTED]] Sent: Monday, 30 April 2001 16:15 To: CF-Talk Subject: RE: CFMAIL problems I am also having that exact situation and both of my servers are on the same network. Valid addresses yet I see that same message in the log. Tony Gruen -Original Message- From: DE Bonis, Nicolas [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 29, 2001 10:52 PM To: CF-Talk Subject: CFMAIL problems Hi, I am having problems with cfmail, sometimes it delivers mail and sometimes it doesnt. I performed a test in where I looped over a cfmail 20 times, and 18 of those where delivered, 2 of them werent. Examining the mail log, the following message appeared SMTP server replied No connection to mail server. Moved file to d:\resource\apps\cfusion\MAIL\undelivr\118.cfmail. The site is hosted in australia and our mail server is in the US. I tried bumping the timeout up to 300 seconds and also specifying the mail server's address as a IP address and not a host name. It still hasn't solved the problem. It is hard to find the problem because it occurs randomly. I have read many mailing list archives where this problem occurs, but they all seem to never be able to deliver mail, in my case, 80% of the time it does. has anyone experienced this same problem? If so, how did you fix it! Could the problem be on the mail server?? Could any software on the webserver causing this. We are running pcanywhere and an ftp server. Thanks in advance Nick Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Refresh page always?
how can we ensure that the page requested is not taken from cache but from DB since the data is dynamic? I always need to press the refresh button before the data is updated. What can i do to ensure that data is always the latest? i added this tag in META HTTP-EQUIV=EXPIRES CONTENT=0 but it seems like this is not working fine tooo ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFMAIL problems
Thanks Sean, I also get this problem when sending just one email, the looping was just a test I did to how reliable the system was. My understanding it that when you do a cfmail, it doesnt actually send the mail straight away, it places it in spool directory as a text file, and every N seconds some sort of process mails everything in the spool directory. i am going to try use cfx_wait, but it seems strange to me that this effects how your mail is sent, if it was sent instantly it would make sense to me. Thanks for all your help Nick -Original Message- From: Sean Renet [SMTP:[EMAIL PROTECTED]] Sent: Monday, 30 April 2001 16:21 To: CF-Talk Subject: Re: CFMAIL problems This is the only solution that worked for me when their are tons of email. Actually its not my solution, it was Tony Aly's solution and it works great. !--- First we pull the specific addressees--- cfquery name=get_email_addresses datasource=#attributes.dsn# dbserver=#attributes.dbserver# dbname=#attributes.dbname# username=#attributes.dbusername# password=#attributes.dbpassword# THIS QUERY RETURNS THE PEOPLE YOU ARE SENDING TO /cfquery !--- Then we use CFX_WAIT to pause between ever iteration of sending it out --- cfloop query=get_email_addresses cfset current_email = trim(lcase(email)) cftry cfmail to=#trim(current_email)# from=#trim(get_email_message.from_vc)# subject=#trim(get_email_message.subject_vc)# server=#trim(attributes.mail_server)##get_email_message.message_mem# . /cfmail CFX_Wait Sleeptime=1 cfcatch CFX_Wait Sleeptime=10 /cfcatch /cftry /cfloop Over the last 2 years we have tried everything imaginable in CF to accomplish the same task and this is the only solution that has worked for us. You can get CFX_WAIT int the tag gallery in Allaire's Developer Exchange. http://devex.allaire.com/developer/gallery/SearchResults.cfm?keywords=CFX_ WA ITsearch=search Hope that helps, Sean Renet - Original Message - From: DE Bonis, Nicolas [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, April 29, 2001 10:52 PM Subject: CFMAIL problems Hi, I am having problems with cfmail, sometimes it delivers mail and sometimes it doesnt. I performed a test in where I looped over a cfmail 20 times, and 18 of those where delivered, 2 of them werent. Examining the mail log, the following message appeared SMTP server replied No connection to mail server. Moved file to d:\resource\apps\cfusion\MAIL\undelivr\118.cfmail. The site is hosted in australia and our mail server is in the US. I tried bumping the timeout up to 300 seconds and also specifying the mail server's address as a IP address and not a host name. It still hasn't solved the problem. It is hard to find the problem because it occurs randomly. I have read many mailing list archives where this problem occurs, but they all seem to never be able to deliver mail, in my case, 80% of the time it does. has anyone experienced this same problem? If so, how did you fix it! Could the problem be on the mail server?? Could any software on the webserver causing this. We are running pcanywhere and an ftp server. Thanks in advance Nick Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Refresh page always?
This this tag: META HTTP-EQUIV=expires CONTENT=Wed, 26 Feb 1997 08:21:57 GMT Pablo :) http://www.cfm-resources.com - Original Message - From: JAIME HOI [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, April 30, 2001 2:27 AM Subject: Refresh page always? how can we ensure that the page requested is not taken from cache but from DB since the data is dynamic? I always need to press the refresh button before the data is updated. What can i do to ensure that data is always the latest? i added this tag in META HTTP-EQUIV=EXPIRES CONTENT=0 but it seems like this is not working fine tooo ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFMAIL problems
Nick, the dll's for cfmail and cfftp are horrible. so if you had the problem once where you sent out a bunch of email, the dll is now corrupted. Even if you try to send one now chances are its not going to get out. At best you have to restart the server, at worst you have to reinstall the dll. Sean Renet - Original Message - From: DE Bonis, Nicolas [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, April 29, 2001 11:31 PM Subject: RE: CFMAIL problems Thanks Sean, I also get this problem when sending just one email, the looping was just a test I did to how reliable the system was. My understanding it that when you do a cfmail, it doesnt actually send the mail straight away, it places it in spool directory as a text file, and every N seconds some sort of process mails everything in the spool directory. i am going to try use cfx_wait, but it seems strange to me that this effects how your mail is sent, if it was sent instantly it would make sense to me. Thanks for all your help Nick -Original Message- From: Sean Renet [SMTP:[EMAIL PROTECTED]] Sent: Monday, 30 April 2001 16:21 To: CF-Talk Subject: Re: CFMAIL problems This is the only solution that worked for me when their are tons of email. Actually its not my solution, it was Tony Aly's solution and it works great. !--- First we pull the specific addressees--- cfquery name=get_email_addresses datasource=#attributes.dsn# dbserver=#attributes.dbserver# dbname=#attributes.dbname# username=#attributes.dbusername# password=#attributes.dbpassword# THIS QUERY RETURNS THE PEOPLE YOU ARE SENDING TO /cfquery !--- Then we use CFX_WAIT to pause between ever iteration of sending it out --- cfloop query=get_email_addresses cfset current_email = trim(lcase(email)) cftry cfmail to=#trim(current_email)# from=#trim(get_email_message.from_vc)# subject=#trim(get_email_message.subject_vc)# server=#trim(attributes.mail_server)##get_email_message.message_mem# . /cfmail CFX_Wait Sleeptime=1 cfcatch CFX_Wait Sleeptime=10 /cfcatch /cftry /cfloop Over the last 2 years we have tried everything imaginable in CF to accomplish the same task and this is the only solution that has worked for us. You can get CFX_WAIT int the tag gallery in Allaire's Developer Exchange. http://devex.allaire.com/developer/gallery/SearchResults.cfm?keywords=CFX_ WA ITsearch=search Hope that helps, Sean Renet - Original Message - From: DE Bonis, Nicolas [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, April 29, 2001 10:52 PM Subject: CFMAIL problems Hi, I am having problems with cfmail, sometimes it delivers mail and sometimes it doesnt. I performed a test in where I looped over a cfmail 20 times, and 18 of those where delivered, 2 of them werent. Examining the mail log, the following message appeared SMTP server replied No connection to mail server. Moved file to d:\resource\apps\cfusion\MAIL\undelivr\118.cfmail. The site is hosted in australia and our mail server is in the US. I tried bumping the timeout up to 300 seconds and also specifying the mail server's address as a IP address and not a host name. It still hasn't solved the problem. It is hard to find the problem because it occurs randomly. I have read many mailing list archives where this problem occurs, but they all seem to never be able to deliver mail, in my case, 80% of the time it does. has anyone experienced this same problem? If so, how did you fix it! Could the problem be on the mail server?? Could any software on the webserver causing this. We are running pcanywhere and an ftp server. Thanks in advance Nick Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFMAIL problems
Well we have restarted the server before, and that has not fixed the problem.. would you know how I would go about reinstalling the dll's??? and how risky it is... -Original Message- From: Sean Renet [SMTP:[EMAIL PROTECTED]] Sent: Monday, 30 April 2001 17:03 To: CF-Talk Subject: Re: CFMAIL problems Nick, the dll's for cfmail and cfftp are horrible. so if you had the problem once where you sent out a bunch of email, the dll is now corrupted. Even if you try to send one now chances are its not going to get out. At best you have to restart the server, at worst you have to reinstall the dll. Sean Renet - Original Message - From: DE Bonis, Nicolas [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, April 29, 2001 11:31 PM Subject: RE: CFMAIL problems Thanks Sean, I also get this problem when sending just one email, the looping was just a test I did to how reliable the system was. My understanding it that when you do a cfmail, it doesnt actually send the mail straight away, it places it in spool directory as a text file, and every N seconds some sort of process mails everything in the spool directory. i am going to try use cfx_wait, but it seems strange to me that this effects how your mail is sent, if it was sent instantly it would make sense to me. Thanks for all your help Nick -Original Message- From: Sean Renet [SMTP:[EMAIL PROTECTED]] Sent: Monday, 30 April 2001 16:21 To: CF-Talk Subject: Re: CFMAIL problems This is the only solution that worked for me when their are tons of email. Actually its not my solution, it was Tony Aly's solution and it works great. !--- First we pull the specific addressees--- cfquery name=get_email_addresses datasource=#attributes.dsn# dbserver=#attributes.dbserver# dbname=#attributes.dbname# username=#attributes.dbusername# password=#attributes.dbpassword# THIS QUERY RETURNS THE PEOPLE YOU ARE SENDING TO /cfquery !--- Then we use CFX_WAIT to pause between ever iteration of sending it out --- cfloop query=get_email_addresses cfset current_email = trim(lcase(email)) cftry cfmail to=#trim(current_email)# from=#trim(get_email_message.from_vc)# subject=#trim(get_email_message.subject_vc)# server=#trim(attributes.mail_server)##get_email_message.message_mem# . /cfmail CFX_Wait Sleeptime=1 cfcatch CFX_Wait Sleeptime=10 /cfcatch /cftry /cfloop Over the last 2 years we have tried everything imaginable in CF to accomplish the same task and this is the only solution that has worked for us. You can get CFX_WAIT int the tag gallery in Allaire's Developer Exchange. http://devex.allaire.com/developer/gallery/SearchResults.cfm?keywords=CFX_ WA ITsearch=search Hope that helps, Sean Renet - Original Message - From: DE Bonis, Nicolas [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, April 29, 2001 10:52 PM Subject: CFMAIL problems Hi, I am having problems with cfmail, sometimes it delivers mail and sometimes it doesnt. I performed a test in where I looped over a cfmail 20 times, and 18 of those where delivered, 2 of them werent. Examining the mail log, the following message appeared SMTP server replied No connection to mail server. Moved file to d:\resource\apps\cfusion\MAIL\undelivr\118.cfmail. The site is hosted in australia and our mail server is in the US. I tried bumping the timeout up to 300 seconds and also specifying the mail server's address as a IP address and not a host name. It still hasn't solved the problem. It is hard to find the problem because it occurs randomly. I have read many mailing list archives where this problem occurs, but they all seem to never be able to deliver mail, in my case, 80% of the time it does. has anyone experienced this same problem? If so, how did you fix it! Could the problem be on the mail server?? Could any software on the webserver causing this. We are running pcanywhere and an ftp server. Thanks in advance Nick Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CFFTP - file size 0
Everytime I uploaded the files, it always save in 0 size. While uploading with other ftp application, it works fine. Have anyone got this problem before? How do you solve it? - Rudy ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Refresh page always?
Thanks .. it works fine... i have another qn why is it that i always get this error A connection could not be established with the server. Page not found when in fact the page is indeed at the server. To add on, sometimes when my form goes thru the action page, i get this error, Transfer Aborted. Please try again. Does it got anything to do with my Coldfusion settings or application settings? I am using the follow cfapplication cfapplication name=Human_Resource sessionmanagement=yes essiontimeout=#CreateTimeSpan(0,0,20,0)# is there anything wrong with it? -Original Message- From: Varando Family [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 2:31 PM To: CF-Talk Subject: Re: Refresh page always? This this tag: META HTTP-EQUIV=expires CONTENT=Wed, 26 Feb 1997 08:21:57 GMT Pablo :) http://www.cfm-resources.com - Original Message - From: JAIME HOI [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, April 30, 2001 2:27 AM Subject: Refresh page always? how can we ensure that the page requested is not taken from cache but from DB since the data is dynamic? I always need to press the refresh button before the data is updated. What can i do to ensure that data is always the latest? i added this tag in META HTTP-EQUIV=EXPIRES CONTENT=0 but it seems like this is not working fine tooo ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF-Partners List
Besides this new list, I've added a special header to all posts from Macromedia representatives. This will help us identify the posts coming from them so they do not 'get lost' in the deluge of mail that many developers receive. Great idea. I was getting sick of opening up e-mails (in Outlook) just to see if an e-mail came from a macromedia.com address. Any chance of doing the same for e-mails from allaire.com? -- Aidan Whitehall [EMAIL PROTECTED] Netshopperuk Telephone +44 (01744) 648650 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: wireless CF announcement
personal plug additionally, if you're just getting started with WAP development or you're looking for a good resource, here's a link to ben's book (which i co-authored): http://www.amazon.com/exec/obidos/ASIN/0672319462/o/qid=988599 204/sr=8-1/ref=aps_sr_b_1_1/107-2665960-7247714 Who says advertising doesn't work? You just cost me £35.00 ;-) -- Aidan Whitehall [EMAIL PROTECTED] Netshopperuk Telephone +44 (01744) 648650 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hosting Service Provider Edition Eliminated
This is excellent news indeed! Can you imagine Microsoft making even the smallest change in strategy based on the developer community's comments? Reckon we all ought to start talking about Studio now to see if they can turn that into a reliable product that works as advertised? Cheers, Mike Kear Windsor, NSW, Australia AFP WebWorks -Original Message- Kevin Lynch [EMAIL PROTECTED] wrote in message news:v04220800b712724d63f0 We're definitely listening -- there were excellent points made by this group. We are of course very interested in supporting and growing the ColdFusion community and are very driven by customer feedback, as we are across our product line. I also would like to increase the communication between the ColdFusion team at Macromedia and the community here to avoid misunderstandings -- we'll be working to improve that. In the meantime, let's get back to building great stuff! thanks Kevin ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Offical: CFM-Resources Are Alive
Earlier today, after some frustrating days not being able to get anywhere contacting Pablo or Tito at CFM-Resources I posted a message on this list under the subject: CFM-Resources? Are they alive? I'm pleased to report that Pablo saw that message and invited us to contact him directly. This I did with the message I'd been trying to get through to him for a week. Pablo addressed my questions immediately, and after a brief exchange of a few emails, my issues were resolved within the hour and I'm a happy CFM-Resources camper once more. Just thought you'd all like to know that in addition to offering a fantastic value-for-money package, CFM-Resources are responsive to their customers too. Cheers, Mike Kear Windsor, NSW, Australia www.modelwarship.com -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 1:24 PM To: CF-Talk Subject: RE: CFM-Resources? Are they alive? Fourth request: first request sent Mon 23/04/01 9:23 AM Second sent Fri 27/04/01 10:25 PM Third request sent both through the online form and by email Sun 29/04/01 1:47 AMCan't get access to helpdesk with either old or new passwords. G'day Pablo/Tito, I'm thrilled with all the changes that you're making, and very impressed with how fast it's all happening. And I'm prepared to be patient and put up with things that aren't quite right while you get it all organised. The important things are all working beautifully.But a couple of things are not quite right for me and I'd appreciate if you could clarify. (1) Free or paid? Passwords confusing me... [snip] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Getting current page name.
This should also work, #getfilefrompath(getbasetemplatepath())# -Original Message- From: J Davis [mailto:[EMAIL PROTECTED]] Sent: 28 April 2001 18:20 To: CF-Talk Subject: Getting current page name. I am writing a custom tag and I need to get the url of the page calling the tag to complete the scripting in the custom tag. Can anyone provide a simple way of achiving this? CF server 4.5. Thank you. Jeff Davis ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
problem writing to a file
I made a post some time ago along these lines but the problem stiull remains so I though I might try again: I have a site sat on 2 web servers with load balancing. I have a page that when called uses HTTP and CFFile to wirte info to a file on a shared drive on the server using a mapped drive. The problem is when I call this page and look at the subsequent file that is created all that is in it is Access Denied. both CFServers are running as a user account which has full access permission to the folder containing the file. The file is also owned by this user. Has anyone come accross this before? -- Andrew Ewings Project Manager Thoughtbubble Ltd http://www.thoughtbubble.net -- United Kingdom http://www.thoughtbubble.co.uk/ Tel: +44 (0) 20 7387 8890 -- New Zealand http://www.thoughtbubble.co.nz/ Tel: +64 (0) 9 488 9131 -- The information in this email and in any attachments is confidential and intended solely for the attention and use of the named addressee(s). Any views or opinions presented are solely those of the author and do not necessarily represent those of Thoughtbubble. This information may be subject to legal, professional or other privilege and further distribution of it is strictly prohibited without our authority. If you are not the intended recipient, you are not authorised to disclose, copy, distribute, or retain this message. Please notify us on +44 (0)207 387 8890. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF-Partners List
Is this list open to just partners? Where I'm coming from is can CFUG managers sign up as well? Dave - Original Message - From: Michael Dinowitz [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, April 29, 2001 11:01 PM Subject: CF-Partners List *** Team Allaire *** A new list has just been created called CF-Partners. This list is designed so the Macromedia and its partners in the ColdFusion community can have a central location to communicate. As we've seen in the last few weeks, Macromedia is listening to what we say and is communicating back to us. To sign up for this new list you can visit the front page of www.houseoffusion.com and use the link there or send an email to [EMAIL PROTECTED] with a body of 'subscribe'. Besides this new list, I've added a special header to all posts from Macromedia representatives. This will help us identify the posts coming from them so they do not 'get lost' in the deluge of mail that many developers receive. Michael Dinowitz Publisher: Fusion Authority weekly news alert (www.fusionauthority.com/alert) Listmaster: CF-Talk, CF-Jobs, Spectra-Talk, Jrun-Talk, etc. (www.houseoffusion.com) ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Questtion.....?
I want to host a web site.my site also has database (Access) Is any one offer free hosting services.? Thanks in Advance ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: problem writing to a file
A couple of things... * Are you sure that the access denied is not the HTTP call on the webserver? Check the the CFHTTP call is working from the page before trying to write to the file... * Are you sure that CFFIle can do a write to that directory? Again check from a dummy page... If this is working (I assumed you checked it) then the problem will be file permissions somewhere along the line, but it looks like those are fixed. So the server side issue looks sorted. For this reason, I would expect that the problem would lie in the webserver HTTP call. Check that the file can be written and that you can access the webserver internally (ie that it allows calls from the webserver itself because it doesn't have to). Check the firewall settings and the HTTP settings. Apart from that, there isn't enough info in your post to go further (ie webserver, cf version etc). HTH Paul -Original Message- From: Andy Ewings [SMTP:[EMAIL PROTECTED]] Sent: 30 April 2001 12:18 To: CF-Talk Subject:problem writing to a file I made a post some time ago along these lines but the problem stiull remains so I though I might try again: I have a site sat on 2 web servers with load balancing. I have a page that when called uses HTTP and CFFile to wirte info to a file on a shared drive on the server using a mapped drive. The problem is when I call this page and look at the subsequent file that is created all that is in it is Access Denied. both CFServers are running as a user account which has full access permission to the folder containing the file. The file is also owned by this user. Has anyone come accross this before? -- Andrew Ewings Project Manager Thoughtbubble Ltd http://www.thoughtbubble.net -- United Kingdom http://www.thoughtbubble.co.uk/ Tel: +44 (0) 20 7387 8890 -- New Zealand http://www.thoughtbubble.co.nz/ Tel: +64 (0) 9 488 9131 -- The information in this email and in any attachments is confidential and intended solely for the attention and use of the named addressee(s). Any views or opinions presented are solely those of the author and do not necessarily represent those of Thoughtbubble. This information may be subject to legal, professional or other privilege and further distribution of it is strictly prohibited without our authority. If you are not the intended recipient, you are not authorised to disclose, copy, distribute, or retain this message. Please notify us on +44 (0)207 387 8890. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Unknown Error, anybody seen this?
Hi, I've got this error message... - Error Diagnostic Information out_of_range: position beyond end of string in function: basic_string::substr(size_t,size_t) const index: 80 is greater than max_index: 64 unknown error while executing a tag. Date/Time: Mon Apr 30 11:34:23 2001 Browser: Nokia-WAP-Toolkit/1.2 Remote Address: 192.168.xx.xx Query String: params=97643505,d5 - I'm going to assume this is some kinda of internal error? I'm running CF Version 4.5.1 Enterprise, on UNIX, 5.6 SunOS I don't have the problem when running on NT CF version 4.5.0 I have a gut feeling it *may* have something to do with the inputBaseN() function, I'm doing loads of converting binary to an integers, i.e. inputBaseN('01010110',2). But I'm only guess this from the max_index: 64 part of the error message, which so far has been either 64 or 256. ?? Cheers, Dan. This message is intended only for the use of the person(s) (the intended recipient(s)) to whom it is addressed. It may contain information which is privileged and confidential within the meaning of the applicable law. If you are not the intended recipient, please contact the sender as soon as possible. The views expressed in this communication may not necessarily be the views held by Live Information Systems Limited. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Getting current page name.
I want to host a web site.my site also has database (Access) Is any one offer free hosting services.? Thanks in Advance ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFFTP - file size 0
Make sure you specify the full path of where you want the file to go...Drive letter and all! Kevin - Original Message - From: Rudy Rustam [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, April 30, 2001 2:15 AM Subject: CFFTP - file size 0 Everytime I uploaded the files, it always save in 0 size. While uploading with other ftp application, it works fine. Have anyone got this problem before? How do you solve it? - Rudy ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: problem writing to a file
Cheers Paul. Turn out it was th HTTP request -- Andrew Ewings Project Manager Thoughtbubble Ltd http://www.thoughtbubble.net -- United Kingdom http://www.thoughtbubble.co.uk/ Tel: +44 (0) 20 7387 8890 -- New Zealand http://www.thoughtbubble.co.nz/ Tel: +64 (0) 9 488 9131 -- The information in this email and in any attachments is confidential and intended solely for the attention and use of the named addressee(s). Any views or opinions presented are solely those of the author and do not necessarily represent those of Thoughtbubble. This information may be subject to legal, professional or other privilege and further distribution of it is strictly prohibited without our authority. If you are not the intended recipient, you are not authorised to disclose, copy, distribute, or retain this message. Please notify us on +44 (0)207 387 8890. -Original Message- From: Paul Johnston [mailto:[EMAIL PROTECTED]] Sent: 30 April 2001 12:39 To: CF-Talk Subject: RE: problem writing to a file A couple of things... * Are you sure that the access denied is not the HTTP call on the webserver? Check the the CFHTTP call is working from the page before trying to write to the file... * Are you sure that CFFIle can do a write to that directory? Again check from a dummy page... If this is working (I assumed you checked it) then the problem will be file permissions somewhere along the line, but it looks like those are fixed. So the server side issue looks sorted. For this reason, I would expect that the problem would lie in the webserver HTTP call. Check that the file can be written and that you can access the webserver internally (ie that it allows calls from the webserver itself because it doesn't have to). Check the firewall settings and the HTTP settings. Apart from that, there isn't enough info in your post to go further (ie webserver, cf version etc). HTH Paul -Original Message- From: Andy Ewings [SMTP:[EMAIL PROTECTED]] Sent: 30 April 2001 12:18 To: CF-Talk Subject:problem writing to a file I made a post some time ago along these lines but the problem stiull remains so I though I might try again: I have a site sat on 2 web servers with load balancing. I have a page that when called uses HTTP and CFFile to wirte info to a file on a shared drive on the server using a mapped drive. The problem is when I call this page and look at the subsequent file that is created all that is in it is Access Denied. both CFServers are running as a user account which has full access permission to the folder containing the file. The file is also owned by this user. Has anyone come accross this before? -- Andrew Ewings Project Manager Thoughtbubble Ltd http://www.thoughtbubble.net -- United Kingdom http://www.thoughtbubble.co.uk/ Tel: +44 (0) 20 7387 8890 -- New Zealand http://www.thoughtbubble.co.nz/ Tel: +64 (0) 9 488 9131 -- The information in this email and in any attachments is confidential and intended solely for the attention and use of the named addressee(s). Any views or opinions presented are solely those of the author and do not necessarily represent those of Thoughtbubble. This information may be subject to legal, professional or other privilege and further distribution of it is strictly prohibited without our authority. If you are not the intended recipient, you are not authorised to disclose, copy, distribute, or retain this message. Please notify us on +44 (0)207 387 8890. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Values from delimeted text file into database
Hi I want to insert multiple values from a comma delimeted text file into a SQL Database. How can one insert all the values from all the rows? Regards Carlo Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
How to start on a two-week calendar?
I have conference call database. I'd like to have a web page that presents a two-week view of upcoming conference calls. It will show the curent week, Monday-Friday, and the next week, Monday-Friday, with the title of each conference call hyperlinked to the conference call information. The user will also be able to view the next two weeks, or the previous two weeks. How do I start with the calendar? I'm not sure how to get it to show the current week and the next week, then provide the Next and Previous functions. Can anyone get me pointed in the right direction? I know there are calendar custom tags out there, and have no problem using one that does what I need it to, if someone can recommend one. But rather than picking through a custome tag to get it to work for me, I think I'd rather get some practice in building one from scratch. Thanks. Tim - Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Slightly OT: Speaking of potty mouth...
Since the list scrubs attachments and looks at headers, etc,...isn't there a way to scrub the bad words and replace them with $%*@ characters? Like a forum program? Just occurred to me and I figured I would ask... Erika Love sought is good, but given unsought is better. - William Shakespeare -Original Message- --- Ben PS For the record, in the future, I think we can do without the foul language that several list participants felt compelled to spew. Those messages were not forwarded to the decision markers anyway, so they did not effect the decision, and accomplished nothing at all. Civility and reason seems to prevail, not potty mouth emotions. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: List Functions
Sorry,, typo, theloop should be thelist -Original Message- From: L Williams [mailto:[EMAIL PROTECTED]] Sent: Friday, April 27, 2001 11:53 AM To: CF-Talk Subject: Re: List Functions Hi Robert, Thanks for the tip, but it didn't work. The server can't figure out what theLoop is I get : Error Occurred While Processing Request Error Diagnostic Information An error occurred while evaluating the expression: #listgetat(theloop,i)# Error near line 42, column 95. Error resolving parameter THELOOP ColdFusion was unable to determine the value of the parameter. This problem is very likely due to the fact that either: -You have misspelled the parameter name, or -You have not specified a QUERY attribute for a CFOUTPUT, CFMAIL, or CFTABLE tag. The error occurred while processing an element with a general identifier of (#listgetat(theloop,i)#), occupying document position (42:94) to (42:115) in the template file /opt/coldfusion/CustomTags/bestbets/rTreelw.cfm Any clues? Thanks in advance - I'm still stumped. Loryn Robert Segal wrote: Try something like this: cfloop from=1 to = #listlen(thelist)# index=i cfoutput a href=http://www.domain.com/search_children.cfm?parent=#listgetat(theloop,i) ##listgetat(theloop,i)#/a /cfouput /cfloop Assuming your list is in a variable called thelist (e.g. thelist = Corporate Life,Amenities,Cafeteria) -Original Message- From: Loryn C Williams [mailto:[EMAIL PROTECTED]] Sent: Friday, April 27, 2001 6:47 AM To: CF-Talk Subject: List Functions All, I think I have a fairly simple problem, but I can't for the life of me figure out how to get this done. I have a custom tag that traverses up a tree and produces a list (good) How do I make each list item (as it is output) contain a url reference and values to call another cf custom tag? For example my list produces Corporate Life - Amenities - Cafeteria I would like it to say a href=http://www.domain.com/search_children.cfm?parent=Corporate LifeCorporate Life /a etc.. I have not had any luck at all with this and any help would be GREATLY appreciated. Thank You in advance Loryn Williams ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Hosting Service Provider Edition Eliminated
Hi, I've been sitting in on this list for a few months now, and the hoo-hah about CF5 licensing issues has been the first thread to really draw me in. I began learning ColdFusion just over a year ago when I was employed as a journalist on a website where we were twiddling our thumbs pre-launch and our CF guy was slaving under untold pressure. I learnt enough in a week to be of use to him. Impressed by this (I *never* envisioned myself becoming involved in server-side technologies), I decided to delve further into CF. I now feel confident building relatively secure, fully functional backend site adminstration systems in CF, integrated with frontend output. Most of my 'bread and butter' now comes from corporate clients wanting CF sites built or tweaked; but more importantly to me, I'm able to offer the power of this technology to a number of smaller companies and charities at rates that make CF hosting costs feasible. The shallow learning curve of CF makes the extra cost of hosting a viable option for these smaller organisations - just. Reading the recent thread about CF5 horrified me. Suddenly all the investment I'd made in learning more advanced CF seemed like a waste, and several projects that are very important to me (as well as a lot of business) seemed about to fly out the window. It was encouraging, then, as someone enthusiastically entering into the CF developer community at the very time the Allaire/Macromedia merger is occurring, to see a (relatively) prompt, positive response from MM regarding the reactions on developers mailing lists. Of course I think it would be great if CF was free. I wouldn't have to rely on limited developer hosting accounts for development purposes, and money would be saved all-round. But yeah, I can't see MM going for this. It might pay off if they went for it, but it'd be a risk. On the other hand, it's good they realised they were shooting themselves in the foot by pricing the small- to-middle customers out in favour of ASP or PHP. I really think that CF's shallow learning curve makes this market as important as enterprise customers. Being UK-based is a major factor for me. As bandwidth as so much more expensive outside the US, the extra cost of a non-free server-side technology is much more of an issue. Any drastic hiking of the price will filter down through from ISP's to developers, and back to CF, harming its chances of becoming a reasonable alternative to ASP or PHP. There's a middle way between a free CF Server and one that only big clients can afford. I hope MM are finding it now and follow it through. I feel committed to CF now, and this licensing scare was the first thing to make me question this. I'm hanging in now, as MM's positive response bodes well for the MM-CF developer relationship. I just wanted to let everyone know that I'm one CF newbie who is anxious to see CF flourish for all, not just those with money to burn. cheers, - Gyrus [EMAIL PROTECTED] work: http://www.tengai.co.uk/steve/ play: http://www.norlonto.net ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: New CF5 Partner Hosting License
CFPARAM NAME=CF5 Partner Hosting License cf_titanic - Let's hope not! -Original Message- From: Steve Pierce [mailto:[EMAIL PROTECTED]] Sent: Friday, April 27, 2001 5:05 PM To: CF-Talk Subject: RE: New CF5 Partner Hosting License dBase and Sybase both thought they could increase their revenue by increasing their price and look where it got them. You can only increase your price when you don't have competition or you own significant market share. For example, has anyone tried to buy a copy of MS Word 2000 for $99 or $69 with a competitive upgrade. Not recently. When MS had competition, you could by Word dirt cheap. Now, no competition and Word is bundled with a bunch of other stuff you may not want and even upgrades can cost your $250 or more. SQL Server license with unlimited connections could be had for less than $1,000 5 years ago. Today, you can expect to pay $10,000 to $20,000 for a similar license. What changed, almost no competition in the NT-based SQL market. You could buy NT server for less than $500. Today, it can be $5,000. What changed, Novell is no longer a threat. Now these are all Microsoft examples but ask yourself, who is generally Allaire's competitor in this space. Is it IBM? How about OpenSource PHP? Perhaps OracleDev? So who has failed or is really struggling. Sybase, Ingres, cc:Mail, Banyan Vines, Wang Imaging and many more all tried substantial increase in licensing pricing when they ran into hard times. And look what happened. Who else is struggling? Well Allaire for one. Macromedia's performance hasn't been that stellar recently. Sure management can think that increasing price will increase revenue, but history of the software business will show that no company that has ever tried a significant price increase ultimately succeeded. The folks at Allaire and MM are very smart. But for them to believe that a price increase strategy is a good thing is for them to be so arrogant as to assume that all those other companies were run by stupid people. They weren't. In fact some of those same folks now work at Allaire/Macromedia. Cheers! - Steve -Original Message- From: Zac [mailto:[EMAIL PROTECTED]] Sent: Friday, April 27, 2001 1:42 PM To: CF-Talk Subject: RE: New CF5 Partner Hosting License Let me preface this by saying that it isn't meant as a comment about Macromedia but is a general comment They HAVE to know that abandoning us (and yes, I'm definitely in the low end as well) will only result in the death of CF. Publicly held software companies are beholden to their shareholders and the bottom line. If the management of the company thinks that they can make more money in a process that eliminates 90% of their small scale developers they will do it. No question. If the idea is sound in the long term is another matter entirely. And I think you can look at the history of software development firms to see that foresight and long-term planning are not necessarily skills that the management of software companies have in excess. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Cf_objectdump
Does anyone have experience with this custom tag ? I am using this to dump an array onto the screen but all it does is display the name of the file. Darren Adams Web Developer Marketing Department Systems Union Office: 01252 55 6220 Mobile: 07714 817 038 Email: [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF-Partners List
Doesn't email filtering accomplish the same task? Howie - Original Message - From: Aidan Whitehall [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, April 30, 2001 5:05 AM Subject: RE: CF-Partners List Great idea. I was getting sick of opening up e-mails (in Outlook) just to see if an e-mail came from a macromedia.com address. Any chance of doing the same for e-mails from allaire.com? -- Aidan Whitehall [EMAIL PROTECTED] Netshopperuk Telephone +44 (01744) 648650 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
List Request
To the Listmaster (and everybody who's concerned) I shortly subscribed to this list and I'm glad to listen and hepefully contribute. Allthough a newbie on the list, I have a small suggestion to make: I do not succeed to write a rule in my eMail-Client in order to move all the Email from the list to a certain folder. How about a short prefix in the subject [cfTalk] ... of every email? Regards Eugen ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Cf_objectdump
I use it all the time - say if your array is called MyArray, you have to make sure you use cf_objectdump object=#MyArray# NOT cf_objectdump object=MyArray otherwise cf_objectdump will just dump MyArray, which is a string. hope that helps Alistair Davidson Senior Web Developer Rocom New media www.rocomx.net -Original Message- From: Darren Adams [mailto:[EMAIL PROTECTED]] Sent: 30 April 2001 14:17 To: CF-Talk Subject: Cf_objectdump Does anyone have experience with this custom tag ? I am using this to dump an array onto the screen but all it does is display the name of the file. Darren Adams Web Developer Marketing Department Systems Union Office: 01252 55 6220 Mobile: 07714 817 038 Email: [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Cf_objectdump
Sorry I meant all it displays is the name of the structure. -Original Message- From: Darren Adams [mailto:[EMAIL PROTECTED]] Sent: 30 April 2001 14:17 To: CF-Talk Subject: Cf_objectdump Does anyone have experience with this custom tag ? I am using this to dump an array onto the screen but all it does is display the name of the file. Darren Adams Web Developer Marketing Department Systems Union Office: 01252 55 6220 Mobile: 07714 817 038 Email: [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF-Partners List
Dave, if you go to signup for the list you will see the following text: CF-Partners is a mailing list dealing with the relationship between the ColdFusion community and MacroMedia. We are all partners in the growth of ColdFusion and this is a central list for communication between these two groups. HTH Stephen -Original Message- From: Dave Hannum [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 7:17 AM To: CF-Talk Subject: Re: CF-Partners List Is this list open to just partners? Where I'm coming from is can CFUG managers sign up as well? Dave - Original Message - From: Michael Dinowitz [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, April 29, 2001 11:01 PM Subject: CF-Partners List *** Team Allaire *** A new list has just been created called CF-Partners. This list is designed so the Macromedia and its partners in the ColdFusion community can have a central location to communicate. As we've seen in the last few weeks, Macromedia is listening to what we say and is communicating back to us. To sign up for this new list you can visit the front page of www.houseoffusion.com and use the link there or send an email to [EMAIL PROTECTED] with a body of 'subscribe'. Besides this new list, I've added a special header to all posts from Macromedia representatives. This will help us identify the posts coming from them so they do not 'get lost' in the deluge of mail that many developers receive. Michael Dinowitz Publisher: Fusion Authority weekly news alert (www.fusionauthority.com/alert) Listmaster: CF-Talk, CF-Jobs, Spectra-Talk, Jrun-Talk, etc. (www.houseoffusion.com) ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: List Request
works fine for me, just filter based on the recipient containing cf-talk. -Original Message- From: Eugen Notter [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 6:27 AM To: CF-Talk Subject: List Request To the Listmaster (and everybody who's concerned) I shortly subscribed to this list and I'm glad to listen and hepefully contribute. Allthough a newbie on the list, I have a small suggestion to make: I do not succeed to write a rule in my eMail-Client in order to move all the Email from the list to a certain folder. How about a short prefix in the subject [cfTalk] ... of every email? Regards Eugen ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Cf_objectdump
At 02:16 PM 4/30/2001 +0100, you wrote: Does anyone have experience with this custom tag ? I am using this to dump an array onto the screen but all it does is display the name of the file. I found cf_objdump easier to use and had a better output display. (If you are using IE). It has cascading data output, its real cool. I can email it to you if you can't find it, I don't remember where I was able to find it. I think it was based on cf_objectdump. -Ryan ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hosting Service Provider Edition Eliminated
I didn't suggest that they should give one away for free. best, paul At 11:38 PM 4/29/01 -0500, you wrote: Paul, Unfortunate Macromedia doesn't have a million other products to sell where they can turn a profit by giving one big one away for free. They are not really big enough to start playing that kind of game. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: List Request
Sort your mail on the To field - it is always CF-Talk Your method was tried a while back and got many negative responses... HTH, Howie Hamlin - inFusion Project Manager On-Line Data Solutions, Inc. www.CoolFusion.com 631-737-4668 x101 inFusion Mail Server (iMS) - The Intelligent Mail Server - Original Message - From: Eugen Notter [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, April 30, 2001 9:26 AM Subject: List Request To the Listmaster (and everybody who's concerned) I shortly subscribed to this list and I'm glad to listen and hepefully contribute. Allthough a newbie on the list, I have a small suggestion to make: I do not succeed to write a rule in my eMail-Client in order to move all the Email from the list to a certain folder. How about a short prefix in the subject [cfTalk] ... of every email? Regards Eugen ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
hi my cfinput trouble with error
hi Guys please do help\ am using a cfinput to get the data from the dartabse for further editing in the cfm page. that field has been validated for integer , but the hasty user key in 4_2 instead of 42 i.e they leave a space inbetween the nembers.which results in seeing the seeor page, i tried with cferror in application.cfm pointing to another error.page,(it is not working), So Guys suggest me how to make this sitaition not so complicated, and make the users to enter only the valid numbers well the javacript i used gives the alert but when i clik to proceed ends up in the same error the error is: -- An unexpected token 1 was found following tier_1_ident_phys=1. Expected tokens may include: . SQLSTATE=42601 this is what i used my code- --- cfinput name=physicians_identified value=#ident_phys_result# type=text message=Physicians Identified needs to be a number between 0 and validate=integer ONVALIDATE=checknumber() --- javscript: script language=JavaScript1.2 function checknumber(){ var x=document.num.physicians_identified.value var anum=/(^\d+$)|(^\d+\.\d+$)/ if (anum.test(x)) testresult=true else{ alert(Please input a valid number!) testresult=false } return (testresult) } /script script function checkban(){ if (document.layers||document.all) return checknumber() else return true } /script -paul Get 250 color business cards for FREE! http://businesscards.lycos.com/vp/fastpath/ ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Cf_objectdump
If you could email it to me that would be superb !! -Original Message- From: Ryan [mailto:[EMAIL PROTECTED]] Sent: 30 April 2001 14:30 To: CF-Talk Subject: Re: Cf_objectdump At 02:16 PM 4/30/2001 +0100, you wrote: Does anyone have experience with this custom tag ? I am using this to dump an array onto the screen but all it does is display the name of the file. I found cf_objdump easier to use and had a better output display. (If you are using IE). It has cascading data output, its real cool. I can email it to you if you can't find it, I don't remember where I was able to find it. I think it was based on cf_objectdump. -Ryan ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: List Request
Just use the SENT FROM choice for the rule. It will work! It is what I use! btc -Original Message- From: Eugen Notter [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 8:27 AM To: CF-Talk Subject: List Request To the Listmaster (and everybody who's concerned) I shortly subscribed to this list and I'm glad to listen and hepefully contribute. Allthough a newbie on the list, I have a small suggestion to make: I do not succeed to write a rule in my eMail-Client in order to move all the Email from the list to a certain folder. How about a short prefix in the subject [cfTalk] ... of every email? Regards Eugen ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: List Request
If your using outlook or should be basically anyone, can be: If sent-to contains CF-TALK then filter -Original Message- From: Eugen Notter [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 9:27 AM To: CF-Talk Subject: List Request To the Listmaster (and everybody who's concerned) I shortly subscribed to this list and I'm glad to listen and hepefully contribute. Allthough a newbie on the list, I have a small suggestion to make: I do not succeed to write a rule in my eMail-Client in order to move all the Email from the list to a certain folder. How about a short prefix in the subject [cfTalk] ... of every email? Regards Eugen ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: cfexec.exe
Excellent suggestion -- it worked!! Thanks alot. Deb Dickerson [EMAIL PROTECTED] on 04/29/2001 04:11:18 PM Please respond to [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] cc: Subject: RE: cfexec.exe Unchecking the 'Interact with Desktop' option within the CF Exec Service properties in the control panel helps also, if I remember correctly. Deb -Original Message- From: Aidan Whitehall [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 29, 2001 11:43 AM To: CF-Talk Subject: RE: cfexec.exe Has anyone experienced trouble with cfexec.exe, when logging out of Windows? From our NT 4.0 server, running ColdFusion Server 4.5.1, when any valid NT user attempts to shut down Windows, by choosing the close all programs and log on as a different user option, This Windows application can not respond to the end task request... dialog box appears , generated from cfexec.exe. The dialog box has the standard three option buttons: Wait, End Task, and Cancel. We have found that after clicking End Task, the log out completes, and all else is still fine (i.e. scheduled tasks continue to run, etc.). Yeah, I think we had that on a development box with CFAS 4.0.1 on it. I'm pretty sure our Network Administrator saying that he'd seen that on two Dell Poweredge boxes that were set up using the Dell start-up CD that came with them. I think (rightly or wrongly) that it was resolved by reformatting the boxes (it wasn't a major problem) and reinstalling the OS without the Dell CD. I also seem to remember that if you stop the RDS service before shutting down or rebooting the server, you don't get that message. I'll ask the Network Administrator if he has any more info on it. -- Aidan Whitehall [EMAIL PROTECTED] Netshopperuk Telephone +44 (01744) 648650 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF-Partners List
Only if you set up a filter to do it... Personally, I don't think I could survive on a daily basis without e-mail filtering. At 09:20 AM 04/30/2001 -0400, you wrote: Doesn't email filtering accomplish the same task? Howie - Original Message - From: Aidan Whitehall [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, April 30, 2001 5:05 AM Subject: RE: CF-Partners List Great idea. I was getting sick of opening up e-mails (in Outlook) just to see if an e-mail came from a macromedia.com address. Any chance of doing the same for e-mails from allaire.com? -- Aidan Whitehall [EMAIL PROTECTED] Netshopperuk Telephone +44 (01744) 648650 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: List Request
At 03:26 PM 04/30/2001 +0200, you wrote: To the Listmaster (and everybody who's concerned) I shortly subscribed to this list and I'm glad to listen and hepefully contribute. Allthough a newbie on the list, I have a small suggestion to make: I do not succeed to write a rule in my eMail-Client in order to move all the Email from the list to a certain folder. How about a short prefix in the subject [cfTalk] ... of every email? What is your mail client? i have been able to write filters for this list in both Navigator mail and Eudora mail. I don't do it based on the subject, though, I filter based on the 'to' field. IF the to field is '[EMAIL PROTECTED]' put in coldfusionlists folder. (Actually, I may have it more generalized and just everything from 'houseoffusion.com' is thrown in the coldfusionlists folder, but.. you get the general idea) Jeffry Houser | mailto:[EMAIL PROTECTED] AIM: Reboog711 | ICQ: 5246969 | Phone: 860-229-2781 -- Instant ColdFusion 5.0 | ISBN: 0-07-213238-8 Due out June 2001 -- DotComIt, LLC database driven web data using ColdFusion, Lotus Notes/Domino -- Half of the Alternative Folk Duo called Far Cry Fly http://www.farcryfly.com | http://www.mp3.com/FarCryFly ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Cf_objectdump
Ryan, You can download any of my tags--including CF_ObjDump--off my web site: http://www.pengoworks.com/index.cfm?action=CustomTags -Dan -Original Message- From: Ryan [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 9:30 AM To: CF-Talk Subject: Re: Cf_objectdump At 02:16 PM 4/30/2001 +0100, you wrote: Does anyone have experience with this custom tag ? I am using this to dump an array onto the screen but all it does is display the name of the file. I found cf_objdump easier to use and had a better output display. (If you are using IE). It has cascading data output, its real cool. I can email it to you if you can't find it, I don't remember where I was able to find it. I think it was based on cf_objectdump. -Ryan ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Cf_objectdump
Cheers !! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 30 April 2001 14:24 To: CF-Talk Subject: RE: Cf_objectdump I use it all the time - say if your array is called MyArray, you have to make sure you use cf_objectdump object=#MyArray# NOT cf_objectdump object=MyArray otherwise cf_objectdump will just dump MyArray, which is a string. hope that helps Alistair Davidson Senior Web Developer Rocom New media www.rocomx.net -Original Message- From: Darren Adams [mailto:[EMAIL PROTECTED]] Sent: 30 April 2001 14:17 To: CF-Talk Subject: Cf_objectdump Does anyone have experience with this custom tag ? I am using this to dump an array onto the screen but all it does is display the name of the file. Darren Adams Web Developer Marketing Department Systems Union Office: 01252 55 6220 Mobile: 07714 817 038 Email: [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Questtion.....?
The first and best out there :) http://www.cfm-resources.com Pablo - Original Message - From: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, April 30, 2001 7:31 AM Subject: Questtion.? I want to host a web site.my site also has database (Access) Is any one offer free hosting services.? Thanks in Advance ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFMAIL problems
We are using CF 4.5.2 - we do not have this problem on all servers. I have used CFW_Wait when we have several mails going out with no problem. This only happens on one server that sends emails one at a time when someone fills out a request form. Out of about 200 a week, 30 will not go. Tony -Original Message- From: DE Bonis, Nicolas [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 29, 2001 11:25 PM To: CF-Talk Subject: RE: CFMAIL problems Have you always had this problem? what version of CF are you running?. Im using cf 4.5. -Original Message- From: Tony Gruen [SMTP:[EMAIL PROTECTED]] Sent: Monday, 30 April 2001 16:15 To: CF-Talk Subject: RE: CFMAIL problems I am also having that exact situation and both of my servers are on the same network. Valid addresses yet I see that same message in the log. Tony Gruen -Original Message- From: DE Bonis, Nicolas [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 29, 2001 10:52 PM To: CF-Talk Subject: CFMAIL problems Hi, I am having problems with cfmail, sometimes it delivers mail and sometimes it doesnt. I performed a test in where I looped over a cfmail 20 times, and 18 of those where delivered, 2 of them werent. Examining the mail log, the following message appeared SMTP server replied No connection to mail server. Moved file to d:\resource\apps\cfusion\MAIL\undelivr\118.cfmail. The site is hosted in australia and our mail server is in the US. I tried bumping the timeout up to 300 seconds and also specifying the mail server's address as a IP address and not a host name. It still hasn't solved the problem. It is hard to find the problem because it occurs randomly. I have read many mailing list archives where this problem occurs, but they all seem to never be able to deliver mail, in my case, 80% of the time it does. has anyone experienced this same problem? If so, how did you fix it! Could the problem be on the mail server?? Could any software on the webserver causing this. We are running pcanywhere and an ftp server. Thanks in advance Nick Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
AW: List Request
Thanks everybody for helping the blind, death and dumb. In my Client, the SENT FROM is different for every mail (it holds your personal adresses). The cf-Talk appears in the Reply. Either Microsoft stripped the reply-option in the german version or I'm definetly ... After 20 min. of searching I give up. Eugen -Ursprüngliche Nachricht- Von: Brad Comer [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 30. April 2001 15:36 An: CF-Talk Betreff: RE: List Request Just use the SENT FROM choice for the rule. It will work! It is what I use! btc -Original Message- From: Eugen Notter [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 8:27 AM To: CF-Talk Subject: List Request To the Listmaster (and everybody who's concerned) I shortly subscribed to this list and I'm glad to listen and hepefully contribute. Allthough a newbie on the list, I have a small suggestion to make: I do not succeed to write a rule in my eMail-Client in order to move all the Email from the list to a certain folder. How about a short prefix in the subject [cfTalk] ... of every email? Regards Eugen ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF-Partners List
I agree, my CF-Talk folder has over 6000 messages in it. I think its time to clean up. Rich -Original Message- From: Jeffry Houser [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 12:43 PM To: CF-Talk Subject: Re: CF-Partners List Only if you set up a filter to do it... Personally, I don't think I could survive on a daily basis without e-mail filtering. At 09:20 AM 04/30/2001 -0400, you wrote: Doesn't email filtering accomplish the same task? Howie - Original Message - From: Aidan Whitehall [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, April 30, 2001 5:05 AM Subject: RE: CF-Partners List Great idea. I was getting sick of opening up e-mails (in Outlook) just to see if an e-mail came from a macromedia.com address. Any chance of doing the same for e-mails from allaire.com? -- Aidan Whitehall [EMAIL PROTECTED] Netshopperuk Telephone +44 (01744) 648650 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Arrays and Structures storing query values
Can anyone lend me a hand ? I am trying to store one database in an array of structures then insert it into another database. I am only using one field at the moment but, there will be 9 that I want to copy over. What I am trying to do is to take PressReleaseHeader from the pressreleasetable. But it keep giving me errors. !--- query the old newsroom database--- cfquery name=news datasource=newsadmin dbtype=ODBC select * from pressreleasetable ORDER by pressreleasedate DESC /cfquery !---Setup an array with a structure --- cfset oldnews = ArrayNew() cfset oldnews[1] = StructNew() !---add others here later e.g. prsub,prcontent,date etc... --- Cfoutput query=news cfset oldnews[news.currentrow].headline = #pressreleaseheader# /cfoutput Darren Adams Web Developer Marketing Department Systems Union Office: 01252 55 6220 Mobile: 07714 817 038 Email: [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF-Partners List
Great idea. I was getting sick of opening up e-mails (in Outlook) just to see if an e-mail came from a macromedia.com address. Any chance of doing the same for e-mails from allaire.com? Doesn't email filtering accomplish the same task? Umm, I must have got the wrong end of the stick. I'd thought Michael was saying that had set up something which flagged the sender of a CF-Talk e-mail as having been sent from a macromedia.com e-mail address (I'd been opening some e-mails to see if they were Macromedia employees). Maybe not. Ignore me... it's one of those days. -- Aidan Whitehall [EMAIL PROTECTED] Netshopperuk Telephone +44 (01744) 648650 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Arrays and Structures storing query values
It looks like you have to do StructNew within the loop for every iteration. In your code you are only doing that once, for the first array element. - Original Message - From: Darren Adams [EMAIL PROTECTED] !--- query the old newsroom database--- cfquery name=news datasource=newsadmin dbtype=ODBC select * from pressreleasetable ORDER by pressreleasedate DESC /cfquery !---Setup an array with a structure --- cfset oldnews = ArrayNew() cfset oldnews[1] = StructNew() !---add others here later e.g. prsub,prcontent,date etc... --- Cfoutput query=news cfset oldnews[news.currentrow].headline = #pressreleaseheader# /cfoutput ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF-Partners List
Only 6000? Your post made me take a look at my CF-Talk folder. I've got over 12,000 and that's after archiving almost 5000 to a local DB. Guess you're right, it's time to archive again. Thx Stephen -Original Message- From: ibtoad [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 10:27 AM To: CF-Talk Subject: RE: CF-Partners List I agree, my CF-Talk folder has over 6000 messages in it. I think its time to clean up. Rich -Original Message- From: Jeffry Houser [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 12:43 PM To: CF-Talk Subject: Re: CF-Partners List Only if you set up a filter to do it... Personally, I don't think I could survive on a daily basis without e-mail filtering. At 09:20 AM 04/30/2001 -0400, you wrote: Doesn't email filtering accomplish the same task? Howie - Original Message - From: Aidan Whitehall [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, April 30, 2001 5:05 AM Subject: RE: CF-Partners List Great idea. I was getting sick of opening up e-mails (in Outlook) just to see if an e-mail came from a macromedia.com address. Any chance of doing the same for e-mails from allaire.com? -- Aidan Whitehall [EMAIL PROTECTED] Netshopperuk Telephone +44 (01744) 648650 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Help me! My brain won't start
I'm getting ready to implement a custom tag that needs to have an array passed. Can I just do: CFMODULE template=whatever.cfm arrWhatever=#VARIABLES.arrWhatever# Or should I do: CFMODULE template=whatever.cfm arrWhatever=CALLER.VARIABLES.arrWhatever My brain is so fried this morning, I just can't even conceptualize an answer. I must remember to skip the Jazz and Heritage Festival next Sunday. Russel Russel Madere, Jr. Senior Web Developer ICQ: 5446158 http://www.TurboSquid.com Some days you eat the bear; some days the bear eats you. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Arrays and Structures storing query values
I think you need to do it the other wat around - Structures can hold arrays, I dont think arrays can store structures. N !- Neil Clark Senior Web Applications Engineer XML / Cerebro MCB Digital Macromedia Alliance Member Tel: 020 8941 3232 Fax: 020 8941 4333 e-mail: [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF-Partners List
*** Team Allaire *** The 'flag' is not in the header but at the top of the message itself. I'm posting a filtering FAQ with the information in a few moments. Umm, I must have got the wrong end of the stick. I'd thought Michael was saying that had set up something which flagged the sender of a CF-Talk e-mail as having been sent from a macromedia.com e-mail address (I'd been opening some e-mails to see if they were Macromedia employees). Maybe not. Ignore me... it's one of those days. -- Aidan Whitehall [EMAIL PROTECTED] Netshopperuk Telephone +44 (01744) 648650 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Arrays and Structures storing query values
According to the official Advanced Coldfusion Development course book you can. -Original Message- From: Neil Clark [mailto:[EMAIL PROTECTED]] Sent: 30 April 2001 16:10 To: CF-Talk Subject: RE: Arrays and Structures storing query values I think you need to do it the other wat around - Structures can hold arrays, I dont think arrays can store structures. N !- Neil Clark Senior Web Applications Engineer XML / Cerebro MCB Digital Macromedia Alliance Member Tel: 020 8941 3232 Fax: 020 8941 4333 e-mail: [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Arrays and Structures storing query values
Sure they can Neil, cfscript myArray = arraynew(1); myArray[1].myStruct = structnew(); myArray[1].myStruct.name = Aaron; /cfscript Works for me. Aaron Johnson, MCSE, MCP+I Allaire Certified ColdFusion Developer MINDSEYE, Inc. phn617.350.0339 fax617.350.8884 icq66172567 [EMAIL PROTECTED] -Original Message- From: Neil Clark [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 11:10 AM To: CF-Talk Subject: RE: Arrays and Structures storing query values I think you need to do it the other wat around - Structures can hold arrays, I dont think arrays can store structures. N !- Neil Clark Senior Web Applications Engineer XML / Cerebro MCB Digital Macromedia Alliance Member Tel: 020 8941 3232 Fax: 020 8941 4333 e-mail: [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Arrays and Structures storing query values
MacroMedia Representitive Arrays can store structs. CFSET X = ArrayNew(1) CFSET X[1] = StructNew() You can get crazy if you want. CFSET X[1].Y = ArrayNew(1) CFSET X[1].Y[1] = StructNew() CFSET X[1].Y[1][unreadable] = Yes === Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email : [EMAIL PROTECTED] ICQ UIN : 3679482 My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Neil Clark [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 11:10 AM To: CF-Talk Subject: RE: Arrays and Structures storing query values I think you need to do it the other wat around - Structures can hold arrays, I dont think arrays can store structures. N ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Help me! My brain won't start
you can use CF_Whatever and as long as whatever.cfm is in the same directory OR in the custom tags directory you should be fine. -Original Message- From: Russel Madere [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 8:00 AM To: CF-Talk Subject: Help me! My brain won't start I'm getting ready to implement a custom tag that needs to have an array passed. Can I just do: CFMODULE template=whatever.cfm arrWhatever=#VARIABLES.arrWhatever# Or should I do: CFMODULE template=whatever.cfm arrWhatever=CALLER.VARIABLES.arrWhatever My brain is so fried this morning, I just can't even conceptualize an answer. I must remember to skip the Jazz and Heritage Festival next Sunday. Russel Russel Madere, Jr. Senior Web Developer ICQ: 5446158 http://www.TurboSquid.com Some days you eat the bear; some days the bear eats you. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Slightly OT: Speaking of potty mouth...
*** Team Allaire *** While the tech for it is really easy, there's no chance that I'm going to add it. Besides the legal issues it may open me up to, I feel that peoples words should be left 'as is'. I remove attachments and HTML formatting for protection from viruses (and some size issues). That's one thing. Censoring peoples posts is totally different. Since the list scrubs attachments and looks at headers, etc,...isn't there a way to scrub the bad words and replace them with $%*@ characters? Like a forum program? Just occurred to me and I figured I would ask... Erika Love sought is good, but given unsought is better. - William Shakespeare -Original Message- --- Ben PS For the record, in the future, I think we can do without the foul language that several list participants felt compelled to spew. Those messages were not forwarded to the decision markers anyway, so they did not effect the decision, and accomplished nothing at all. Civility and reason seems to prevail, not potty mouth emotions. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Arrays and Structures storing query values
Darren: I'm just starting to use structures in CF too, so I'm by no means an expert, but the code appended below is what I've used to address the task you asked about -- hope it helps ! -Gerry Gerard T. Pauline Mgr, Internet/DB Applications Computer Systems, DoIT Pace University CFQUERY NAME=Info DATASOURCE=LSN MAXROWS=100 SELECT student_ID, last_name, first_name FROM Students ORDER BY last_name, first_name; /CFQUERY CFSET Student = ArrayNew(1) CFSET Idx = 0 CFLOOP QUERY=Info CFSET Idx = Idx + 1 CFSET Student[Idx]= StructNew() CFSET Student[Idx].ID = Info.Student_ID CFSET Student[Idx].LN = Info.Last_Name CFSET Student[Idx].FN = Info.First_Name /CFLOOP TABLE BORDER=3 CFOUTPUT CFLOOP INDEX=T FROM=1 TO=#ArrayLen(Student)# CFIF Student[T].ID GTE 90 TR TD#Student[T].ID#/TD TD#Student[T].LN#/TD TD#Student[T].FN#/TD /TR /CFIF /CFLOOP /CFOUTPUT /TABLE Darren Adams wrote: Can anyone lend me a hand ? I am trying to store one database in an array of structures then insert it into another database. I am only using one field at the moment but, there will be 9 that I want to copy over. What I am trying to do is to take PressReleaseHeader from the pressreleasetable. But it keep giving me errors. !--- query the old newsroom database--- cfquery name=news datasource=newsadmin dbtype=ODBC select * from pressreleasetable ORDER by pressreleasedate DESC /cfquery !---Setup an array with a structure --- cfset oldnews = ArrayNew() cfset oldnews[1] = StructNew() !---add others here later e.g. prsub,prcontent,date etc... --- Cfoutput query=news cfset oldnews[news.currentrow].headline = #pressreleaseheader# /cfoutput Darren Adams Web Developer Marketing Department Systems Union Office: 01252 55 6220 Mobile: 07714 817 038 Email: [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Filtering FAQ
*** Team Allaire *** 1. All mail to the House of Fusion lists is filtered to remove HTML formatting, attachments and other non-needed and/or potentially dangerous material. 2. All posts have the list that it was posted to in the TO header. For example, all posts to CF-Talk will have a TO field of CF-Talk [EMAIL PROTECTED] 3. Macromedia employees who post from a macromedia.com address will have a 'banner' at the top of the post saying that they are representatives of Macromedia. Ben posting from his own site will have to be recognized on name value alone. ;) 4. Team Allaire members will have a banner saying that they are Team Allaire members. 5. In the future, the best posters may also get a banner with something like Team ColdFusion or the like. Dave (CFPoster supreme) Watts is at the top of that list. 6. We've tried to have a subject prefix of [cf-talk] and the like in the past and it was rejected by the community. It will not be tried again. Filtering on the TO field works for all mail readers (even if you've rolled your own). ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Help me! My brain won't start
Hello Russel, you could just pass in the array and a variable to be used on the caller page. then return the array via: SetVariable(caller.#attributes.arrVariable#,attributes.arrWhatever); -- Best regards, Critter --- Monday, April 30, 2001, 10:59:58 S2k, you wrote: RM I'm getting ready to implement a custom tag that needs to have an array RM passed. RM Can I just do: RM CFMODULE template=whatever.cfm arrWhatever=#VARIABLES.arrWhatever# RM Or should I do: RM CFMODULE template=whatever.cfm RM arrWhatever=CALLER.VARIABLES.arrWhatever RM My brain is so fried this morning, I just can't even conceptualize an RM answer. I must remember to skip the Jazz and Heritage Festival next Sunday. RM Russel RM RM Russel Madere, Jr. Senior Web Developer RM ICQ: 5446158 http://www.TurboSquid.com RM Some days you eat the bear; some days the bear eats you. RM RM ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Arrays and Structures storing query values
!--- query the old newsroom database--- cfquery name=news datasource=newsadmin dbtype=ODBC select * from pressreleasetable ORDER by pressreleasedate DESC /cfquery !---Setup an array with a structure --- cfset oldnews = ArrayNew() !---add others here later e.g. prsub,prcontent,date etc... --- Cfloop query=news cfset oldnews[news.currentrow] = StructNew() cfloop list=#news.ColumnList# index=fieldname cfset oldnews[news.currentrow][fieldname] = Evaluate(news. fieldname) /cfloop /cfloop Should do the trick Steve -Original Message- From: Darren Adams [mailto:[EMAIL PROTECTED]] Sent: 30 April 2001 15:28 To: CF-Talk Subject: Arrays and Structures storing query values Can anyone lend me a hand ? I am trying to store one database in an array of structures then insert it into another database. I am only using one field at the moment but, there will be 9 that I want to copy over. What I am trying to do is to take PressReleaseHeader from the pressreleasetable. But it keep giving me errors. !--- query the old newsroom database--- cfquery name=news datasource=newsadmin dbtype=ODBC select * from pressreleasetable ORDER by pressreleasedate DESC /cfquery !---Setup an array with a structure --- cfset oldnews = ArrayNew() cfset oldnews[1] = StructNew() !---add others here later e.g. prsub,prcontent,date etc... --- Cfoutput query=news cfset oldnews[news.currentrow].headline = #pressreleaseheader# /cfoutput Darren Adams Web Developer Marketing Department Systems Union Office: 01252 55 6220 Mobile: 07714 817 038 Email: [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Arrays and Structures storing query values
Code should look this: !--- query the old newsroom database--- cfquery name=news datasource=newsadmin dbtype=ODBC select * from pressreleasetable ORDER by pressreleasedate DESC /cfquery !---Setup an array with a structure --- cfset oldnews = ArrayNew(1) !---add others here later e.g. prsub,prcontent,date etc... --- Cfoutput query=news cfset oldnews[news.currentrow] = StructNew() cfset oldnews[news.currentrow].headline = #pressreleaseheader# /cfoutput -Original Message- From: stas [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 11:00 AM To: CF-Talk Subject: Re: Arrays and Structures storing query values It looks like you have to do StructNew within the loop for every iteration. In your code you are only doing that once, for the first array element. - Original Message - From: Darren Adams [EMAIL PROTECTED] !--- query the old newsroom database--- cfquery name=news datasource=newsadmin dbtype=ODBC select * from pressreleasetable ORDER by pressreleasedate DESC /cfquery !---Setup an array with a structure --- cfset oldnews = ArrayNew() cfset oldnews[1] = StructNew() !---add others here later e.g. prsub,prcontent,date etc... --- Cfoutput query=news cfset oldnews[news.currentrow].headline = #pressreleaseheader# /cfoutput ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Arrays and Structures storing query values
I think you need to do it the other way around - Structures can hold arrays, I dont think arrays can store structures. No, arrays can contain structures, just as structures can contain arrays. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF-Partners List
*** Team Allaire *** On the topic of mine is bigger than yours, the list gets an average of 200 posts a day. Multiply that by 30 days and that's your 6000 messages. Now if that's just a month, think of how much you have after a year. Now think of ALL the lists together. Anyone want to buy me a new hard drive for my mail alone? ;) Only 6000? Your post made me take a look at my CF-Talk folder. I've got over 12,000 and that's after archiving almost 5000 to a local DB. Guess you're right, it's time to archive again. Thx Stephen -Original Message- From: ibtoad [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 10:27 AM To: CF-Talk Subject: RE: CF-Partners List I agree, my CF-Talk folder has over 6000 messages in it. I think its time to clean up. Rich -Original Message- From: Jeffry Houser [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 12:43 PM To: CF-Talk Subject: Re: CF-Partners List Only if you set up a filter to do it... Personally, I don't think I could survive on a daily basis without e-mail filtering. At 09:20 AM 04/30/2001 -0400, you wrote: Doesn't email filtering accomplish the same task? Howie - Original Message - From: Aidan Whitehall [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, April 30, 2001 5:05 AM Subject: RE: CF-Partners List Great idea. I was getting sick of opening up e-mails (in Outlook) just to see if an e-mail came from a macromedia.com address. Any chance of doing the same for e-mails from allaire.com? -- Aidan Whitehall [EMAIL PROTECTED] Netshopperuk Telephone +44 (01744) 648650 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Arrays and Structures storing query values
Yep your correct !! Also I needed to put a one in the ArrayNew() declaration. Cheers ! -Original Message- From: stas [mailto:[EMAIL PROTECTED]] Sent: 30 April 2001 16:00 To: CF-Talk Subject: Re: Arrays and Structures storing query values It looks like you have to do StructNew within the loop for every iteration. In your code you are only doing that once, for the first array element. - Original Message - From: Darren Adams [EMAIL PROTECTED] !--- query the old newsroom database--- cfquery name=news datasource=newsadmin dbtype=ODBC select * from pressreleasetable ORDER by pressreleasedate DESC /cfquery !---Setup an array with a structure --- cfset oldnews = ArrayNew() cfset oldnews[1] = StructNew() !---add others here later e.g. prsub,prcontent,date etc... --- Cfoutput query=news cfset oldnews[news.currentrow].headline = #pressreleaseheader# /cfoutput ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Benefits of CFSWITCH vs. CFSCRIPT with SWITCH
I'll be the first to admit that I am biased toward the use of cfscript, but let's look at this a little closer. 1) It is possible to execute a block of code for more than one value. cfswitch expression=#foo# cfcase value=1,2 !--- code --- /cfcase .. .. .. /cfswitch cfscript switch ( foo ) { case 1 : case 2 : { // code break; } .. .. .. } /cfscript 2) What is the basis of the statement that says cfswitch / cfcase is twice as fast switch / case? Is the test code equivalent? Has anyone talked to one of Allaire's programmers about their implementation of this code? Are you already in a cfscript statement? Or are you starting a new cfscript block? -- Josh Meekhof ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Arrays and Structures storing query values
sure they can, i do it all the time. cfset astAuthors = arrayNew(1) cfset astAuthors[1] = structNew() cfset astAuthors[1].firstname = 'jeff' cfset astAuthors[1].lastname = 'tapper' cfset astAuthors[2] = structNew() cfset astAuthors[2].firstname = 'ben' cfset astAuthors[2].lastname = 'forta' works fine for me. At 04:09 PM 4/30/01 +0100, you wrote: I think you need to do it the other wat around - Structures can hold arrays, I dont think arrays can store structures. N !- Neil Clark Senior Web Applications Engineer XML / Cerebro MCB Digital Macromedia Alliance Member Tel: 020 8941 3232 Fax: 020 8941 4333 e-mail: [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Arrays and Structures storing query values
This is the CF forum, not the Spectra forum ;) - Original Message - From: Raymond Camden [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, April 30, 2001 11:12 AM Subject: RE: Arrays and Structures storing query values MacroMedia Representitive Arrays can store structs. CFSET X = ArrayNew(1) CFSET X[1] = StructNew() You can get crazy if you want. CFSET X[1].Y = ArrayNew(1) CFSET X[1].Y[1] = StructNew() CFSET X[1].Y[1][unreadable] = Yes === Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email : [EMAIL PROTECTED] ICQ UIN : 3679482 My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Neil Clark [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 11:10 AM To: CF-Talk Subject: RE: Arrays and Structures storing query values I think you need to do it the other wat around - Structures can hold arrays, I dont think arrays can store structures. N ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Arrays and Structures storing query values
Doh. Just think the other way around is more suited? maybe not? whatdoiknow!!! :-( !- Neil Clark Senior Web Applications Engineer XML / Cerebro MCB Digital Macromedia Alliance Member Tel: 020 8941 3232 Fax: 020 8941 4333 e-mail: [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
NumberFormat woes
I feel a little silly about not being able to figure this out... I'm using CF 4.5.1 SP2. I have a list of numbers: 7, 10, 203, 8, 26, etc. I want the single digit numbers to display as two digits (07, 08, etc.). All other numbers should just display as they are (10, 203, 26, etc.). I've tried NumberFormat(mynumber, 00), but then I get an error if there's a three digit number. I've tried NumberFormat(mynumber, 999), but that doesn't display the single digits as two digits. I've tried NumberFormat(mynumber, 900), but that displays the single digits with two leading zeros. I've tried other, similar combinations as well - all with no success. Any ideas? Thanks, Evan -- -=-=-=-=-=-=-=-=-=- Evan Lavidor Circle.com Boston Tel: 617-585-3107 Fax: 617-585-3091 -=-=-=-=-=-=-=-=-=- ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Help me! My brain won't start
I knew that. We are using CFMODULE because the files reside in a centralized CodeResources directory. What I need help with is passing the array. Russel Madere, Jr. Senior Web Developer ICQ: 5446158 http://www.TurboSquid.com Some days you eat the bear; some days the bear eats you. -Original Message- From: Dylan Bromby [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 10:11 To: CF-Talk Subject: RE: Help me! My brain won't start you can use CF_Whatever and as long as whatever.cfm is in the same directory OR in the custom tags directory you should be fine. -Original Message- From: Russel Madere [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 8:00 AM To: CF-Talk Subject: Help me! My brain won't start I'm getting ready to implement a custom tag that needs to have an array passed. Can I just do: CFMODULE template=whatever.cfm arrWhatever=#VARIABLES.arrWhatever# Or should I do: CFMODULE template=whatever.cfm arrWhatever=CALLER.VARIABLES.arrWhatever My brain is so fried this morning, I just can't even conceptualize an answer. I must remember to skip the Jazz and Heritage Festival next Sunday. Russel Russel Madere, Jr. Senior Web Developer ICQ: 5446158 http://www.TurboSquid.com Some days you eat the bear; some days the bear eats you. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
javascript and document questions
To all, I imagine this is simple but my brain quit after a 14 hr saturday and I had two problems to resolve. The first question is: I have a dynamic table filled by a query that includes a check box. The check box value is keyed to a database entry. using the 'onclick' attribute I need to call an update query in a cf template. The quetion is how to write the javascript function to call 'qryBoxUpdate.cfm'? The second question is: On an intranet, no outside connection, using a dynamic link to a document or spreadsheet brings up the document in a browser or view window. I want the original application to open the file for editing. Where or how can that be specified? Thanks in advance for the comments. Richard ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
parent/child
I'm trying to figure out how to have the child closed (instead of open) when the display page loads. Any suggestions? Thanks, Steve Here's an example of some code... SCRIPT LANGUAGE=javascript function toggleChild (entry) { if (entry.style.display == 'none') { entry.style.display = 'block'; return; } else { entry.style.display = 'none'; return; } } /SCRIPT table TR TD align=right DIV ID=Task CLASS=parent B font color=red A onClick=toggleChildUClass#ug_counter#)X/A /font /B /DIV /TD /TR TR TD DIV CLASS=child ID=UClass STYLE=display: block; DISPLAY=none table width=100% TR TD?TD /TR /table /div /td /tr /table ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Arrays and Structures storing query values
Yep ! Thats the fella -Original Message- From: Robert Segal [mailto:[EMAIL PROTECTED]] Sent: 30 April 2001 16:20 To: CF-Talk Subject: RE: Arrays and Structures storing query values Code should look this: !--- query the old newsroom database--- cfquery name=news datasource=newsadmin dbtype=ODBC select * from pressreleasetable ORDER by pressreleasedate DESC /cfquery !---Setup an array with a structure --- cfset oldnews = ArrayNew(1) !---add others here later e.g. prsub,prcontent,date etc... --- Cfoutput query=news cfset oldnews[news.currentrow] = StructNew() cfset oldnews[news.currentrow].headline = #pressreleaseheader# /cfoutput -Original Message- From: stas [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 11:00 AM To: CF-Talk Subject: Re: Arrays and Structures storing query values It looks like you have to do StructNew within the loop for every iteration. In your code you are only doing that once, for the first array element. - Original Message - From: Darren Adams [EMAIL PROTECTED] !--- query the old newsroom database--- cfquery name=news datasource=newsadmin dbtype=ODBC select * from pressreleasetable ORDER by pressreleasedate DESC /cfquery !---Setup an array with a structure --- cfset oldnews = ArrayNew() cfset oldnews[1] = StructNew() !---add others here later e.g. prsub,prcontent,date etc... --- Cfoutput query=news cfset oldnews[news.currentrow].headline = #pressreleaseheader# /cfoutput ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
parent/child
I'm trying to figure out how to have the child closed (instead of open) when the display page loads. Any suggestions? Thanks, Steve Here's an example of some code... SCRIPT LANGUAGE=javascript function toggleChild (entry) { if (entry.style.display == 'none') { entry.style.display = 'block'; return; } else { entry.style.display = 'none'; return; } } /SCRIPT table TR TD align=right DIV ID=Task CLASS=parent B font color=red A onClick=toggleChildUClass#ug_counter#)X/A /font /B /DIV /TD /TR TR TD DIV CLASS=child ID=UClass STYLE=display: block; DISPLAY=none table width=100% TR TD?TD /TR /table /div /td /tr /table ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Feedback to Jeff Whatcott - Macromedia
Jeff Whatcott: I would like to add my thanks to Macromedia for listening to the CF community. It is rare, surprising, and the single most important action that has influenced my decision to continue to invest in CF. I cannot over emphasize that point. I hope your superiors hear this and continue to give you support when you listen to the CF community. I am one of your most valued customers. Why? Because I am not one of the hard core experienced CF developers that you have been hearing from on the CF-Talk list (although I hope to become one). I am an experienced software developer who is moving over to web development in a serious way, investing in training, selling clients on developing in CF, selling other programmers to join me in using CF to develop web applications. I am an evanglelist on the use of Macromedia's Dreamweaver and Fireworks products. I look forward to the integration aspects. I am out there selling CF every day. Shared hosting is a critical aspect for a large number of clients at this stage in the promotion and use of CF. On Sunday, I was holding my breath. I seriously thought that I might have to turn all of my investment around, cancel some CF projects, and move to other platforms (there is VERY high pressure from other teams of developers and clients to move to ASP). I chose CF over ASP for a variety of reasons. CF is the better choice in many cases. It is a very productive tool with a very short learning curve. My point is that there are many out there who are in my position, even more who WILL be in my position once Macromedia does a good job of promoting CF with their other products. Macromedia and CF are at a real cross-roads. I am bullish as can be on the merger. Macromedia crushed the competition in the web development tool market. MS isn't even in the running, not in the same universe. Anyone with any creative mind can see the huge opportunities for Macromedia to make CF a common standard for the general web development community, the quick integration of CF into other tools. Please send the message to stay the course and look at the long run. Your real revenue is with the mass market that Macromedia will capture with integrated tools, something Macromedia knows how to do. CF could end up being the David that beats Goliath. Humbly and respectfully, Eric Root http://www.MountainMyst.com/ ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
parent/child
I'm trying to figure out how to have the child closed (instead of open) when the display page loads. Any suggestions? Thanks, Steve Here's an example of some code... SCRIPT LANGUAGE=javascript function toggleChild (entry) { if (entry.style.display == 'none') { entry.style.display = 'block'; return; } else { entry.style.display = 'none'; return; } } /SCRIPT table TR TD align=right DIV ID=Task CLASS=parent B font color=red A onClick=toggleChildUClass#ug_counter#)X/A /font /B /DIV /TD /TR TR TD DIV CLASS=child ID=UClass STYLE=display: block; DISPLAY=none table width=100% TR TD?TD /TR /table /div /td /tr /table ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
parent/child
I'm trying to figure out how to have the child closed (instead of open) when the display page loads. Any suggestions? Thanks, Steve Here's an example of some code... SCRIPT LANGUAGE=javascript function toggleChild (entry) { if (entry.style.display == 'none') { entry.style.display = 'block'; return; } else { entry.style.display = 'none'; return; } } /SCRIPT table TR TD align=right DIV ID=Task CLASS=parent B font color=red A onClick=toggleChildUClass#ug_counter#)X/A /font /B /DIV /TD /TR TR TD DIV CLASS=child ID=UClass STYLE=display: block; DISPLAY=none table width=100% TR TD?TD /TR /table /div /td /tr /table ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF-Partners List
mike; why don't you sign up for paypal? i'd donate and i'm sure a number of others would. HDs are so cheap these days. -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 8:17 AM To: CF-Talk Subject: Re: CF-Partners List *** Team Allaire *** On the topic of mine is bigger than yours, the list gets an average of 200 posts a day. Multiply that by 30 days and that's your 6000 messages. Now if that's just a month, think of how much you have after a year. Now think of ALL the lists together. Anyone want to buy me a new hard drive for my mail alone? ;) Only 6000? Your post made me take a look at my CF-Talk folder. I've got over 12,000 and that's after archiving almost 5000 to a local DB. Guess you're right, it's time to archive again. Thx Stephen -Original Message- From: ibtoad [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 10:27 AM To: CF-Talk Subject: RE: CF-Partners List I agree, my CF-Talk folder has over 6000 messages in it. I think its time to clean up. Rich -Original Message- From: Jeffry Houser [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 12:43 PM To: CF-Talk Subject: Re: CF-Partners List Only if you set up a filter to do it... Personally, I don't think I could survive on a daily basis without e-mail filtering. At 09:20 AM 04/30/2001 -0400, you wrote: Doesn't email filtering accomplish the same task? Howie - Original Message - From: Aidan Whitehall [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, April 30, 2001 5:05 AM Subject: RE: CF-Partners List Great idea. I was getting sick of opening up e-mails (in Outlook) just to see if an e-mail came from a macromedia.com address. Any chance of doing the same for e-mails from allaire.com? -- Aidan Whitehall [EMAIL PROTECTED] Netshopperuk Telephone +44 (01744) 648650 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF-Partners List
31,403... ;-) jon - Original Message - From: Stephen Kellogg [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, April 30, 2001 11:06 AM Subject: RE: CF-Partners List Only 6000? Your post made me take a look at my CF-Talk folder. I've got over 12,000 and that's after archiving almost 5000 to a local DB. Guess you're right, it's time to archive again. Thx Stephen -Original Message- From: ibtoad [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 10:27 AM To: CF-Talk Subject: RE: CF-Partners List I agree, my CF-Talk folder has over 6000 messages in it. I think its time to clean up. Rich -Original Message- From: Jeffry Houser [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 12:43 PM To: CF-Talk Subject: Re: CF-Partners List Only if you set up a filter to do it... Personally, I don't think I could survive on a daily basis without e-mail filtering. At 09:20 AM 04/30/2001 -0400, you wrote: Doesn't email filtering accomplish the same task? Howie - Original Message - From: Aidan Whitehall [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, April 30, 2001 5:05 AM Subject: RE: CF-Partners List Great idea. I was getting sick of opening up e-mails (in Outlook) just to see if an e-mail came from a macromedia.com address. Any chance of doing the same for e-mails from allaire.com? -- Aidan Whitehall [EMAIL PROTECTED] Netshopperuk Telephone +44 (01744) 648650 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Docs for CFX_IMAGE
I'm trying to locate documentation for CFX_IMAGE. intrafusion.com has only documenation about IMI, but not the basic ACTION operators. If someone can help me offlist It would be great. Thanks, Michael Lugassy ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Arrays and Structures storing query values
MacroMedia Representitive Ok, I'll pick up my toys and leave then. ;) === Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email : [EMAIL PROTECTED] ICQ UIN : 3679482 My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Dave f [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 11:35 AM To: CF-Talk Subject: Re: Arrays and Structures storing query values This is the CF forum, not the Spectra forum ;) ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
can GIF can caught virus?
This may sound stupid but can any format (GIF/JPG/BMP) other then EXE/COM can caught a virus? ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Benefits of CFSWITCH vs. CFSCRIPT with SWITCH
*** Team Allaire *** 1) It is possible to execute a block of code for more than one value. Very cute hack. Mind if I steal it for my docs on CFSCRIPT? cfscript switch ( foo ) { case 1 : case 2 : { // code break; 2) What is the basis of the statement that says cfswitch / cfcase is twice as fast switch / case? Is the test code equivalent? Has anyone talked to one of Allaire's programmers about their implementation of this code? Are you already in a cfscript statement? Or are you starting a new cfscript block? I tried each case. 1. a CFLOOP over a CFSWITCH 2. A CFLOOP over a CFSCRIPT switch 3. A CFSCRIPT for loop over a switch I've redone my tests and have better numbers. In the CFSWITCH case we have a speed of 80ms for CFSWITCH statements that have values or numbers or letters. In the CFSCRIPT switch statement, a time of 140 ms was achieved for cases where there were only numeric values. When letter values were allowed in cases, the time went up to 800ms. A very dramatic shift. One note is that there was almost no difference in having the loop inside the CFSCRIPT block or outside. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF-Partners List
*** Team Allaire *** Actually, there is a donations address signed up at paypal (https://secure.paypal.x.com/affil/pal=donations%40fusionauthority.com). At one point a few people from the Fusebox list sent in some donations and we got some new software with it. Truth be told, I'd rather get corporate sponsors of one form or another to help support the lists and the FA magazine. I always appreciate when people donate, but having the 'big guys' giving takes some weight off of peoples shoulders. One of the main supports of the lists and FA is CFHosting.com. The cost of the bandwidth used by the HoF machine is covered by them and they deserve a big nod for it. They're also working with me on other resources for the community and it's only because of my need to work that they're not up yet. I've branched out some and have gotten help so they will be up and running soon. As you've seen, we're getting up to date on the FA alerts, putting in better navigation for it and even upgrading the annotated docs to CF 5. I'm even talking to a big CF player at the moment about a sponsorship that could help get more resources out there and maybe even tie some of them together (not absorbing the resources that exist, but giving them better communication and sharing). mike; why don't you sign up for paypal? i'd donate and i'm sure a number of others would. HDs are so cheap these days. -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 8:17 AM To: CF-Talk Subject: Re: CF-Partners List *** Team Allaire *** On the topic of mine is bigger than yours, the list gets an average of 200 posts a day. Multiply that by 30 days and that's your 6000 messages. Now if that's just a month, think of how much you have after a year. Now think of ALL the lists together. Anyone want to buy me a new hard drive for my mail alone? ;) Only 6000? Your post made me take a look at my CF-Talk folder. I've got over 12,000 and that's after archiving almost 5000 to a local DB. Guess you're right, it's time to archive again. Thx Stephen -Original Message- From: ibtoad [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 10:27 AM To: CF-Talk Subject: RE: CF-Partners List I agree, my CF-Talk folder has over 6000 messages in it. I think its time to clean up. Rich -Original Message- From: Jeffry Houser [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 12:43 PM To: CF-Talk Subject: Re: CF-Partners List Only if you set up a filter to do it... Personally, I don't think I could survive on a daily basis without e-mail filtering. At 09:20 AM 04/30/2001 -0400, you wrote: Doesn't email filtering accomplish the same task? Howie - Original Message - From: Aidan Whitehall [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, April 30, 2001 5:05 AM Subject: RE: CF-Partners List Great idea. I was getting sick of opening up e-mails (in Outlook) just to see if an e-mail came from a macromedia.com address. Any chance of doing the same for e-mails from allaire.com? -- Aidan Whitehall [EMAIL PROTECTED] Netshopperuk Telephone +44 (01744) 648650 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
hi my cfinput trouble with error PLEASE HELP
-- On Mon, 30 Apr 2001 06:37:02 paul . wrote: hi Guys please do help\ am using a cfinput to get the data from the dartabse for further editing in the cfm page. that field has been validated for integer , but the hasty user key in 4_2 instead of 42 i.e they leave a space inbetween the nembers.which results in seeing the seeor page, i tried with cferror in application.cfm pointing to another error.page,(it is not working), So Guys suggest me how to make this sitaition not so complicated, and make the users to enter only the valid numbers well the javacript i used gives the alert but when i clik to proceed ends up in the same error the error is: -- An unexpected token 1 was found following tier_1_ident_phys=1. Expected tokens may include: . SQLSTATE=42601 this is what i used my code- --- cfinput name=physicians_identified value=#ident_phys_result# type=text message=Physicians Identified needs to be a number between 0 and validate=integer ONVALIDATE=checknumber() --- javscript: script language=JavaScript1.2 function checknumber(){ var x=document.num.physicians_identified.value var anum=/(^\d+$)|(^\d+\.\d+$)/ if (anum.test(x)) testresult=true else{ alert(Please input a valid number!) testresult=false } return (testresult) } /script script function checkban(){ if (document.layers||document.all) return checknumber() else return true } /script -paul Get 250 color business cards for FREE! http://businesscards.lycos.com/vp/fastpath/ ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Creating a Dynamic Menu
I would like to create a Dynamic Menu like the one on MSNBC.COM using CF. Does anybody have any ideas? ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Help me! My brain won't start
There is no reason to use the caller scope unless you are referencing the calling page from _within_ a custom tag. So, if you want to pass an array to a custom tag, your first example will work fine. jon - Original Message - From: Russel Madere [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, April 30, 2001 11:41 AM Subject: RE: Help me! My brain won't start I knew that. We are using CFMODULE because the files reside in a centralized CodeResources directory. What I need help with is passing the array. Russel Madere, Jr. Senior Web Developer ICQ: 5446158 http://www.TurboSquid.com Some days you eat the bear; some days the bear eats you. -Original Message- From: Dylan Bromby [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 10:11 To: CF-Talk Subject: RE: Help me! My brain won't start you can use CF_Whatever and as long as whatever.cfm is in the same directory OR in the custom tags directory you should be fine. -Original Message- From: Russel Madere [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 8:00 AM To: CF-Talk Subject: Help me! My brain won't start I'm getting ready to implement a custom tag that needs to have an array passed. Can I just do: CFMODULE template=whatever.cfm arrWhatever=#VARIABLES.arrWhatever# Or should I do: CFMODULE template=whatever.cfm arrWhatever=CALLER.VARIABLES.arrWhatever My brain is so fried this morning, I just can't even conceptualize an answer. I must remember to skip the Jazz and Heritage Festival next Sunday. Russel Russel Madere, Jr. Senior Web Developer ICQ: 5446158 http://www.TurboSquid.com Some days you eat the bear; some days the bear eats you. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Arrays and Structures storing query values
*** Team Pixie *** If you think about it, arrays are suited to storing an arbitrary number of bits of information from 1 ... n - similar to the way a table stores an arbitrary number of records. Structures are suited to storing groups of associated information e.g. employee=StructNew(), employee.name=bob employee.deptNo=123, etc. in the same manner that a record uses numerous fields to group associated information per record. Put the two together and you get an array (or set of records) of structures (associated information). Steve -Original Message- From: Neil Clark [mailto:[EMAIL PROTECTED]] Sent: 30 April 2001 16:44 To: CF-Talk Subject: RE: Arrays and Structures storing query values Doh. Just think the other way around is more suited? maybe not? whatdoiknow!!! :-( !- Neil Clark Senior Web Applications Engineer XML / Cerebro MCB Digital Macromedia Alliance Member Tel: 020 8941 3232 Fax: 020 8941 4333 e-mail: [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Help me! My brain won't start
oh ok. did you try just: arrWhatever=#caller.arrWhatever# -Original Message- From: Russel Madere [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 8:41 AM To: CF-Talk Subject: RE: Help me! My brain won't start I knew that. We are using CFMODULE because the files reside in a centralized CodeResources directory. What I need help with is passing the array. Russel Madere, Jr. Senior Web Developer ICQ: 5446158 http://www.TurboSquid.com Some days you eat the bear; some days the bear eats you. -Original Message- From: Dylan Bromby [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 10:11 To: CF-Talk Subject: RE: Help me! My brain won't start you can use CF_Whatever and as long as whatever.cfm is in the same directory OR in the custom tags directory you should be fine. -Original Message- From: Russel Madere [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 8:00 AM To: CF-Talk Subject: Help me! My brain won't start I'm getting ready to implement a custom tag that needs to have an array passed. Can I just do: CFMODULE template=whatever.cfm arrWhatever=#VARIABLES.arrWhatever# Or should I do: CFMODULE template=whatever.cfm arrWhatever=CALLER.VARIABLES.arrWhatever My brain is so fried this morning, I just can't even conceptualize an answer. I must remember to skip the Jazz and Heritage Festival next Sunday. Russel Russel Madere, Jr. Senior Web Developer ICQ: 5446158 http://www.TurboSquid.com Some days you eat the bear; some days the bear eats you. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
ejb
Has anyone worked with calling an ejb from websphere? We are having issues with the context. All the documentation talks about Web Logic but I'm wondering if cfobject will work with calling from a remote websphere box? Thanks, Tom ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: NumberFormat woes
cfif num lte 9cfset num = 0#num#/cfif This gives you a string though, so do any calculations before output. - Original Message - From: Evan Lavidor [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, April 30, 2001 11:36 AM Subject: NumberFormat woes I feel a little silly about not being able to figure this out... I'm using CF 4.5.1 SP2. I have a list of numbers: 7, 10, 203, 8, 26, etc. I want the single digit numbers to display as two digits (07, 08, etc.). All other numbers should just display as they are (10, 203, 26, etc.). I've tried NumberFormat(mynumber, 00), but then I get an error if there's a three digit number. I've tried NumberFormat(mynumber, 999), but that doesn't display the single digits as two digits. I've tried NumberFormat(mynumber, 900), but that displays the single digits with two leading zeros. I've tried other, similar combinations as well - all with no success. Any ideas? Thanks, Evan -- -=-=-=-=-=-=-=-=-=- Evan Lavidor Circle.com Boston Tel: 617-585-3107 Fax: 617-585-3091 -=-=-=-=-=-=-=-=-=- ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT but VIQ: Denial of Service Attacks
A client of mine got hacked over the weekend. The hacker was PoisonBOx or someone posing as PoisonBOx. They only infected default.asp, index.asp and default.htm, index.htm pages. Thankfully, on this particular box, we don't use any of them. Obviously there are vulnerabilities lurking around in IIS4/SP6 that need to be addressed and the client is now in the process of making sure each and every patch/hot fix that exists is in place and that permissions are set up as they should be. My question is, has anybody else been affected by this particular hacker, and if so, did you ever find out how exactly they got in? A search on PoisonBOx turned up 74 results, with news articles from websites being hacked, etc. But I can't find anything on whether or not they figured out how the *^%#@ got in! Ahh, Monday morning. how sweet it is. Thanks for any feedback..., Erika Whatever you can do, or dream you can, begin it. Boldness has genius, power, and magic in it. - Goethe ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT (was Re: Filtering FAQ)
5. In the future, the best posters may also get a banner with something like Team ColdFusion or the like. Dave (CFPoster supreme) Watts is at the top of that list. Even after his needlessly contrarian - and ultimately incorrect - stance on the Hosting Edition? :) Just trying to lighten it up on a Monday, folks ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists