Re: Load testing...

2003-08-14 Thread Ryan Mitchell
Thanks!!

On 11/8/03 10:44, Andre Mohamed [EMAIL PROTECTED] wrote:

 Ryan,
 
 Try Google and free load testing tools.
 
 More specifically, you'll want to search for Load/Stress testing
 specific to web sites e.g. the following are all free:
 
 1)Microsoft's Web Application Stress Tool
 http://www.microsoft.com/downloads/details.aspx?FamilyID=e2c0585a-062a-4
 39e-a67d-75a89aa36495DisplayLang=en
 
 2)Apache's JMeter http://jakarta.apache.org/jmeter
 
 3)OpenSTA http://www.opensta.org
 
 Amongst MANY MANY MANY others.
 
 Micrsoft's tool is good to get started with if you are new to the area
 though somewhat limited in more advanced functionality.
 
 André
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
 Sent: 11 August 2003 09:36
 To: CF-Talk
 Subject: Load testing...
 
 Hello
 
 I want to load test one of my sites, to see what sort of traffic it can
 handle, to see if there are areas I need to improve etc...
 
 Am I dreaming thinking their are tools (free is good) out there to do
 this?
 
 Ryan
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

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



Cutting content...

2003-08-14 Thread Ryan Mitchell
Hello

I'm outputting a summary of content stored in a database field, up to a
certain number of characters, but I want to make sure it doesn't cut off mid
word...

At the minute I have :

#Left(content, 255)#

How do I make it so that if the last character is not a space it goes cuts
out all characters until the last space?

TIA,
Ryan


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

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



Load testing...

2003-08-14 Thread Ryan Mitchell
Hello

I want to load test one of my sites, to see what sort of traffic it can
handle, to see if there are areas I need to improve etc...

Am I dreaming thinking their are tools (free is good) out there to do this?

Ryan


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

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



Re: dynamically populating a select box from another select box

2003-08-14 Thread Ryan Mitchell
You're the man :)
Many thanks...

On 13/8/03 12:52, Pascal Peters [EMAIL PROTECTED] wrote:

 useArray = eval(section);
 
 
 -Oorspronkelijk bericht-
 Van: Ryan Mitchell [mailto:[EMAIL PROTECTED]
 Verzonden: wo 13/08/2003 12:54
 Aan: CF-Talk 
 CC: 
 Onderwerp: OT: dynamically populating a select box from another select box
 
 
 
 Hello
 
 Im trying to dynamically populate a select box from another select box...
 
 Here's the JS code:
 
 script type=text/javascript language=javascript
 function createSelectBox (subsection, section) { // populate subsection box
 according to section box
 
 // set up arrays
 cfloop query=sections
 cfsilent
cfquery name=subsection ...
SELECT * FROM subsectionInSection WHERE section = '#sections.name#'
/cfquery
cfset first = 1
 /cfsilent
 var #name# = new Array(cfloop query=subsectioncfif NOT
 first,/cfif#subsection.name#cfset first = 0/cfloop);
 /cfloop
 
 // empty current items
 for(i=subsection.options.length; i=0; i--)
subsection.options[i] = null;
   
 // set array to use
 useArray = section;
   
 // create new select
 for(j=0; juseArray.length; j++)
subsection.options[j] = new Option(useArray[j]);
   
 subsection.options[0].selected = true;
 
 }
 /script
 
 And it's called here:
 
 select name=section id=section
 onChange=createSelectBox(document.form.subsection,
 this.options[this.selectedIndex].value); 
 
 The JS gets passed the name of the section I want, which corresponds to the
 name of the array I want... The problem is that instead of outputting the
 array it is supposed to, it outputs the name of the section with each
 character in a new option...
 
 How can I get it to output the array?!
 
 TIA,
 Ryan
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

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



OT: dynamically populating a select box from another select box

2003-08-14 Thread Ryan Mitchell
Hello

Im trying to dynamically populate a select box from another select box...

Here's the JS code:

script type=text/javascript language=javascript
function createSelectBox (subsection, section) { // populate subsection box
according to section box

// set up arrays
cfloop query=sections
cfsilent
cfquery name=subsection ...
SELECT * FROM subsectionInSection WHERE section = '#sections.name#'
/cfquery
cfset first = 1
/cfsilent
var #name# = new Array(cfloop query=subsectioncfif NOT
first,/cfif#subsection.name#cfset first = 0/cfloop);
/cfloop

// empty current items
for(i=subsection.options.length; i=0; i--)
subsection.options[i] = null;

// set array to use
useArray = section;

// create new select
for(j=0; juseArray.length; j++)
subsection.options[j] = new Option(useArray[j]);

subsection.options[0].selected = true;

} 
/script

And it's called here:

select name=section id=section
onChange=createSelectBox(document.form.subsection,
this.options[this.selectedIndex].value); 

The JS gets passed the name of the section I want, which corresponds to the
name of the array I want... The problem is that instead of outputting the
array it is supposed to, it outputs the name of the section with each
character in a new option...

How can I get it to output the array?!

TIA,
Ryan


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

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



Database layout question...

2003-08-08 Thread Ryan Mitchell
Hello

Just looking for thoughts on the best way to do this..

I'm creating a site totally db-driven... And I'm looking for a way to allow
a page to be in more than one section on the site...

So I have 2 tables, page and section (originally enough!)... :)

My thought was to make a field within page called inSection and list the
sections it is in, and then to loop through and see which sections it in...
However this seems awfully slow, you have to query each page and then loop
through all its sections to see if its in the section you want...

Is there a better way to do this? Surely there must be!!

Thanks,
Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

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



Database layout question...

2003-08-07 Thread Ryan Mitchell
Cool, I had done something similar while wiating for a reply... So its good
to hear someone else backing up that idea!

Thanks,
Ryan


Date: 08/07/2003 02:38 PM
Author: Paul Giesenhagen
Short Link: http://www.houseoffusion.com/lists.cfm?link=m:4:26195:131908

Create 

PageTable 
--
pageID, content 

Fuse Table (this table brings the pages and sections together)
--
fuseID, sectionID, pageID

Section Table 
--
sectionID, sectionName

Then, you can call ALL pages that have sectionID = XX  Thus, a pageID can be
in multiple rose in the Fuse table.

Make sense? 

Hope this helps! 
Paul Giesenhagen 
QuillDesign 



- Original Message -
From: Ryan Mitchell [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 9:59 AM
Subject: Database layout question...


 Hello 

 Just looking for thoughts on the best way to do this..

 I'm creating a site totally db-driven... And I'm looking for a way to
allow 
 a page to be in more than one section on the site...

 So I have 2 tables, page and section (originally enough!)... :)

 My thought was to make a field within page called inSection and list the
 sections it is in, and then to loop through and see which sections it
in... 
 However this seems awfully slow, you have to query each page and then loop
 through all its sections to see if its in the section you want...

 Is there a better way to do this? Surely there must be!!

 Thanks, 
 Ryan 



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

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



File manager app

2003-07-24 Thread Ryan Mitchell
Hello

Has anyone seen/written a file manager application in CF, that lets you
upload, rename, delete files/folders, and is free :)

Thanks
Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

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



Re: CF Banner Ad Management

2003-07-23 Thread Ryan Mitchell
http://www.fuseads.com


On 23/7/03 15:20, Cutter (CF-Talk) [EMAIL PROTECTED]
wrote:

 Need suggestions on a dynamic, easy to integrate, CFMX and mySQL
 compatible Banner Ad Management system. What are you using?
 
 Cutter
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

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



Cfc troubles...

2003-07-22 Thread Ryan Mitchell
Hello all

Im using a cfc for the first time... And guess what - its not working :)

So this is a v simple mail cfc, designed so that I can change how the mail
is sent later down the line and not have to change lots of cfmail tags...

Im calling it as follows:

cfinvoke method=sendMail component=path.to.sendmail
cfinvokeargument name=to value=[EMAIL PROTECTED]
cfinvokeargument name=from value=[EMAIL PROTECTED]
cfinvokeargument name=subject value=Subject
cfinvokeargument name=body value=body text here
/cfinvoke

But get the following error:

Unable to complete CFML to Java translation.

Error information unsupported statement: class
coldfusion.compiler.ASTfunctionDefinition

And it highlights the line
cfinvokeargument name=body value=body text here

The cfc itself starts like this:

cfcomponent hint=send mail container displayname=sendmail

cffunction name=sendMail access=public

!--- defined required arguments ---
cfargument name=from type=string required=false
cfargument name=to type=string required=true
cfargument name=subject type=string required=true
cfargument name=body type=string required=true

!--- process stuff here ---

And so on...

Anyone know the problem??

Ryan


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

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



Re: Cfc troubles...

2003-07-22 Thread Ryan Mitchell
The path is right, cos I don¹t get an error saying it cant find it :)
Weird, must just be my dev box... Will try it elsewhere...
Thanks!

On 22/7/03 14:38, Raymond Camden [EMAIL PROTECTED] wrote:

 I'm not seeing this when I duplicate your code. One thing though - what
 is the path to sendmail?
 
 
 ===
 Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
 (www.mindseye.com)
 Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)
 
 Email: [EMAIL PROTECTED]
 Blog : www.camdenfamily.com/morpheus/blog
 Yahoo IM : morpheus
 
 My ally is the Force, and a powerful ally it is. - Yoda
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 22, 2003 7:30 AM
 To: CF-Talk
 Subject: Cfc troubles...
 
 
 Hello all
 
 Im using a cfc for the first time... And guess what - its not
 working :)
 
 So this is a v simple mail cfc, designed so that I can change
 how the mail is sent later down the line and not have to
 change lots of cfmail tags...
 
 Im calling it as follows:
 
 cfinvoke method=sendMail component=path.to.sendmail
 cfinvokeargument name=to value=[EMAIL PROTECTED]
 cfinvokeargument name=from value=[EMAIL PROTECTED]
 cfinvokeargument name=subject value=Subject
 cfinvokeargument name=body value=body text here
 /cfinvoke
 
 But get the following error:
 
 Unable to complete CFML to Java translation.
 
 Error information unsupported statement: class
 coldfusion.compiler.ASTfunctionDefinition
 
 And it highlights the line
 cfinvokeargument name=body value=body text here
 
 The cfc itself starts like this:
 
 cfcomponent hint=send mail container displayname=sendmail
 
 cffunction name=sendMail access=public
 
 !--- defined required arguments ---
 cfargument name=from type=string required=false
 cfargument name=to type=string required=true
 cfargument name=subject type=string required=true
 cfargument name=body type=string required=true
 
 !--- process stuff here ---
 
 And so on...
 
 Anyone know the problem??
 
 Ryan
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

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



Re: Cfc troubles...

2003-07-22 Thread Ryan Mitchell
Aaah
I understand now :)

ignite.site.shared.cfc.sendmail

On 22/7/03 14:49, Raymond Camden [EMAIL PROTECTED] wrote:

 Yes, but what _is_ the path. I believe there is a bug where if the path
 contains one of the Java keywords, the CFC won't work correctly.
 
 
 ===
 Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
 (www.mindseye.com)
 Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)
 
 Email: [EMAIL PROTECTED]
 Blog : www.camdenfamily.com/morpheus/blog
 Yahoo IM : morpheus
 
 My ally is the Force, and a powerful ally it is. - Yoda
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 22, 2003 7:49 AM
 To: CF-Talk
 Subject: Re: Cfc troubles...
 
 
 The path is right, cos I don¹t get an error saying it cant
 find it :) Weird, must just be my dev box... Will try it
 elsewhere... Thanks!
 
 On 22/7/03 14:38, Raymond Camden [EMAIL PROTECTED] wrote:
 
 I'm not seeing this when I duplicate your code. One thing though -
 what is the path to sendmail?
 
 
 ==
 ==
 ===
 Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
 (www.mindseye.com)
 Member of Team Macromedia
 (http://www.macromedia.com/go/teammacromedia)
 
 Email: [EMAIL PROTECTED]
 Blog : www.camdenfamily.com/morpheus/blog
 Yahoo IM : morpheus
 
 My ally is the Force, and a powerful ally it is. - Yoda
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 22, 2003 7:30 AM
 To: CF-Talk
 Subject: Cfc troubles...
 
 
 Hello all
 
 Im using a cfc for the first time... And guess what - its
 not working 
 :)
 
 So this is a v simple mail cfc, designed so that I can
 change how the 
 mail is sent later down the line and not have to change lots of
 cfmail tags...
 
 Im calling it as follows:
 
 cfinvoke method=sendMail component=path.to.sendmail
 cfinvokeargument name=to
 value=[EMAIL PROTECTED]
 cfinvokeargument name=from
 value=[EMAIL PROTECTED]
 cfinvokeargument name=subject value=Subject
 cfinvokeargument name=body value=body text here
 /cfinvoke
 
 But get the following error:
 
 Unable to complete CFML to Java translation.
 
 Error information unsupported statement: class
 coldfusion.compiler.ASTfunctionDefinition
 
 And it highlights the line
 cfinvokeargument name=body value=body text here
 
 The cfc itself starts like this:
 
 cfcomponent hint=send mail container displayname=sendmail
 
 cffunction name=sendMail access=public
 
 !--- defined required arguments ---
 cfargument name=from type=string required=false
 cfargument name=to type=string required=true
 cfargument name=subject type=string required=true
 cfargument name=body type=string required=true
 
 !--- process stuff here ---
 
 And so on...
 
 Anyone know the problem??
 
 Ryan
 
 
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

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



Re: Cfc troubles...

2003-07-22 Thread Ryan Mitchell
lol :)
Its only my dev box :o)

On 22/7/03 14:57, Michael T. Tangorre [EMAIL PROTECTED] wrote:

 now that is a path!
 
 
 - Original Message -
 From: Ryan Mitchell [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Tuesday, July 22, 2003 9:56 AM
 Subject: Re: Cfc troubles...
 
 
 Aaah
 I understand now :)
 
 ignite.site.shared.cfc.sendmail
 
 On 22/7/03 14:49, Raymond Camden [EMAIL PROTECTED] wrote:
 
 Yes, but what _is_ the path. I believe there is a bug where if the path
 contains one of the Java keywords, the CFC won't work correctly.
 
 
 ===
 Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
 (www.mindseye.com)
 Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)
 
 Email: [EMAIL PROTECTED]
 Blog : www.camdenfamily.com/morpheus/blog
 Yahoo IM : morpheus
 
 My ally is the Force, and a powerful ally it is. - Yoda
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 22, 2003 7:49 AM
 To: CF-Talk
 Subject: Re: Cfc troubles...
 
 
 The path is right, cos I don¹t get an error saying it cant
 find it :) Weird, must just be my dev box... Will try it
 elsewhere... Thanks!
 
 On 22/7/03 14:38, Raymond Camden [EMAIL PROTECTED] wrote:
 
 I'm not seeing this when I duplicate your code. One thing though -
 what is the path to sendmail?
 
 
 ==
 ==
 ===
 Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
 (www.mindseye.com)
 Member of Team Macromedia
 (http://www.macromedia.com/go/teammacromedia)
 
 Email: [EMAIL PROTECTED]
 Blog : www.camdenfamily.com/morpheus/blog
 Yahoo IM : morpheus
 
 My ally is the Force, and a powerful ally it is. - Yoda
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 22, 2003 7:30 AM
 To: CF-Talk
 Subject: Cfc troubles...
 
 
 Hello all
 
 Im using a cfc for the first time... And guess what - its
 not working
 :)
 
 So this is a v simple mail cfc, designed so that I can
 change how the
 mail is sent later down the line and not have to change lots of
 cfmail tags...
 
 Im calling it as follows:
 
 cfinvoke method=sendMail component=path.to.sendmail
 cfinvokeargument name=to
 value=[EMAIL PROTECTED]
 cfinvokeargument name=from
 value=[EMAIL PROTECTED]
 cfinvokeargument name=subject value=Subject
 cfinvokeargument name=body value=body text here
 /cfinvoke
 
 But get the following error:
 
 Unable to complete CFML to Java translation.
 
 Error information unsupported statement: class
 coldfusion.compiler.ASTfunctionDefinition
 
 And it highlights the line
 cfinvokeargument name=body value=body text here
 
 The cfc itself starts like this:
 
 cfcomponent hint=send mail container displayname=sendmail
 
 cffunction name=sendMail access=public
 
 !--- defined required arguments ---
 cfargument name=from type=string required=false
 cfargument name=to type=string required=true
 cfargument name=subject type=string required=true
 cfargument name=body type=string required=true
 
 !--- process stuff here ---
 
 And so on...
 
 Anyone know the problem??
 
 Ryan
 
 
 
 
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

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



Re: Cfc troubles...

2003-07-22 Thread Ryan Mitchell
Not really.. :o) ... NDA

On 22/7/03 14:59, Raymond Camden [EMAIL PROTECTED] wrote:

 I'm not seeing anything there that worries me. Can you show us the full
 code of your CFC?
 
 
 ===
 Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
 (www.mindseye.com)
 Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)
 
 Email: [EMAIL PROTECTED]
 Blog : www.camdenfamily.com/morpheus/blog
 Yahoo IM : morpheus
 
 My ally is the Force, and a powerful ally it is. - Yoda
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 22, 2003 7:56 AM
 To: CF-Talk
 Subject: Re: Cfc troubles...
 
 
 Aaah
 I understand now :)
 
 ignite.site.shared.cfc.sendmail
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

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



Re: Cfc troubles...

2003-07-22 Thread Ryan Mitchell
Ok, hopefully ive take all the stuff I cant show out...


cfcomponent hint=send mail container displayname=sendmail

cffunction name=sendMail access=public returntype=boolean
hint=send mail function

!--- defined required arguments ---
cfargument name=from type=string required=false
cfargument name=to type=string required=true
cfargument name=subject type=string required=true
cfargument name=body type=string required=true

!--- begin function ---
cftry

cfscript

// remove all html from the string passed
function removeHTML(s) {
return rereplace(s, '[^]', '', 'all');
}

// replace all p with CR/LF and all br with LF in passed
string
function plainTextFormat(s) {
s = rereplace(s, 'p',
'#chr(13)##chr(10)##chr(13)##chr(10)#', 'all');
s = rereplace(s, 'br', '#chr(13)##chr(10)#', 'all');
return removeHTML(s);
}

/cfscript

!--- check if from is defined ---
cfif isdefined('arguments.from') is false
cfset arguments.from = '[EMAIL PROTECTED]'
/cfif

!--- strip html for plain text version ---
cfset plaintext = plainTextFormat(body)

!--- send mail ---
cfmail to=#arguments.to# from=#arguments.from#
subject=#removeHTML(arguments.subject)#

p class=title#removeHTML(subject)#/p
#body#

/cfmail

!--- success!! ---
cfset myResult = true

!--- catch errors ---
cfcatch type=any
cfset myResult = false
cfinclude template=../error.cfm
/cfcatch

/cftry   
!--- end function ---

!--- return result ---
cfreturn myResult

/cffunction

/cfcomponent



On 22/7/03 15:07, Raymond Camden [EMAIL PROTECTED] wrote:

 How about the full code of your method then? Also, can you view the
 CFC's descriptor at least?
 
 
 ===
 Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
 (www.mindseye.com)
 Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)
 
 Email: [EMAIL PROTECTED]
 Blog : www.camdenfamily.com/morpheus/blog
 Yahoo IM : morpheus
 
 My ally is the Force, and a powerful ally it is. - Yoda
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 22, 2003 8:03 AM
 To: CF-Talk
 Subject: Re: Cfc troubles...
 
 
 Not really.. :o) ... NDA
 
 On 22/7/03 14:59, Raymond Camden [EMAIL PROTECTED] wrote:
 
 I'm not seeing anything there that worries me. Can you show us the
 full code of your CFC?
 
 
 ==
 ==
 ===
 Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
 (www.mindseye.com)
 Member of Team Macromedia
 (http://www.macromedia.com/go/teammacromedia)
 
 Email: 
 [EMAIL PROTECTED]
 Blog : www.camdenfamily.com/morpheus/blog
 Yahoo IM : morpheus
 
 My ally is the Force, and a powerful ally it is. - Yoda
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 22, 2003 7:56 AM
 To: CF-Talk
 Subject: Re: Cfc troubles...
 
 
 Aaah
 I understand now :)
 
 ignite.site.shared.cfc.sendmail
 
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

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



Re: Cfc troubles...

2003-07-22 Thread Ryan Mitchell
Perfect... Thanks!!

On 22/7/03 15:21, Raymond Camden [EMAIL PROTECTED] wrote:

 There you go - you can't define a UDF inside a CFC method. You have to
 define it outside.
 
 
 ===
 Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
 (www.mindseye.com)
 Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)
 
 Email: [EMAIL PROTECTED]
 Blog : www.camdenfamily.com/morpheus/blog
 Yahoo IM : morpheus
 
 My ally is the Force, and a powerful ally it is. - Yoda
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 22, 2003 8:15 AM
 To: CF-Talk
 Subject: Re: Cfc troubles...
 
 
 Ok, hopefully ive take all the stuff I cant show out...
 
 
 cfcomponent hint=send mail container displayname=sendmail
 
 cffunction name=sendMail access=public
 returntype=boolean hint=send mail function
 
 !--- defined required arguments ---
 cfargument name=from type=string required=false
 cfargument name=to type=string required=true
 cfargument name=subject type=string required=true
 cfargument name=body type=string required=true
 
 !--- begin function ---
 cftry
 
 cfscript
 
 // remove all html from the string passed
 function removeHTML(s) {
 return rereplace(s, '[^]', '', 'all');
 }
 
 // replace all p with CR/LF and all br with
 LF in passed string
 function plainTextFormat(s) {
 s = rereplace(s, 'p',
 '#chr(13)##chr(10)##chr(13)##chr(10)#', 'all');
 s = rereplace(s, 'br', '#chr(13)##chr(10)#', 'all');
 return removeHTML(s);
 }
 
 /cfscript
 
 !--- check if from is defined ---
 cfif isdefined('arguments.from') is false
 cfset arguments.from = '[EMAIL PROTECTED]'
 /cfif
 
 !--- strip html for plain text version ---
 cfset plaintext = plainTextFormat(body)
 
 !--- send mail ---
 cfmail to=#arguments.to#
 from=#arguments.from# subject=#removeHTML(arguments.subject)#
 
 p class=title#removeHTML(subject)#/p
 #body#
 
 /cfmail
 
 !--- success!! ---
 cfset myResult = true
 
 !--- catch errors ---
 cfcatch type=any
 cfset myResult = false
 cfinclude template=../error.cfm
 /cfcatch
 
 /cftry
 !--- end function ---
 
 !--- return result ---
 cfreturn myResult
 
 /cffunction
 
 /cfcomponent
 
 
 
 On 22/7/03 15:07, Raymond Camden [EMAIL PROTECTED] wrote:
 
 How about the full code of your method then? Also, can you view the
 CFC's descriptor at least?
 
 
 ==
 ==
 ===
 Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
 (www.mindseye.com)
 Member of Team Macromedia
 (http://www.macromedia.com/go/teammacromedia)
 
 Email: [EMAIL PROTECTED]
 Blog : www.camdenfamily.com/morpheus/blog
 Yahoo IM : morpheus
 
 My ally is the Force, and a powerful ally it is. - Yoda
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 22, 2003 8:03 AM
 To: CF-Talk
 Subject: Re: Cfc troubles...
 
 
 Not really.. :o) ... NDA
 
 On 22/7/03 14:59, Raymond Camden [EMAIL PROTECTED] wrote:
 
 I'm not seeing anything there that worries me. Can you
 show us the 
 full code of your CFC?
 
 
 
 =
 =
 ==
 ===
 Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
 (www.mindseye.com)
 Member of Team Macromedia
 (http://www.macromedia.com/go/teammacromedia)
 
 Email: 
 [EMAIL PROTECTED]
 Blog : www.camdenfamily.com/morpheus/blog
 Yahoo IM : morpheus
 
 My ally is the Force, and a powerful ally it is. - Yoda
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 22, 2003 7:56 AM
 To: CF-Talk
 Subject: Re: Cfc troubles...
 
 
 Aaah
 I understand now :)
 
 ignite.site.shared.cfc.sendmail
 
 
 
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

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



Remove/replace html

2003-07-16 Thread Ryan Mitchell
I know this comes up every week or so but I never pay attention!!

I need a script to replace all instances of p with a #chr(10)##chr(13)#,
all instances of br with #chr(10)# and then strip all other html
formatting away giving me nice plain text...

Any thoughts??

Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

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



Re: video formats streaming

2003-07-15 Thread Ryan Mitchell
You can also use quicktime streaming... You can download it from the apple
site, its called darwin streaming server

http://developer.apple.com/darwin/projects/streaming/

(its free)

Ryan

On 15/7/03 8:01 pm, J Brodie [EMAIL PROTECTED] wrote:

 Paul,
 
 On the streaming side you really have three options-- Real Player, Windows
 Media and Flash -- and each have their pros and cons associated with each
 technology.
 
 Since you already have a real server configured, you might want to create an
 .rpm file containing the path of the real media video file (such as pnm:// or
 rtsp://myInternalserver.com/myRealFile.rm). Then call the .rpm file from your
 object tag when you call the stream. This will allivate(sp) some of your
 security concerns. Of course you will need to lock down the web server to
 prevent outsiders from accessing the text .rpm file directly to find the real
 location of the stream.
 
 Some gotachs to look out for when using this approach. Real Server streams on
 port 7007-- most firewalls block this port. Although Real will let you stream
 from port 80, you will need to have Real Server on a seperate machine.
 
 You will also need to make sure everyone has downloaded the Real Plugin as
 well using this approach. In this day, where sysadmins lock down workstations
 pretty tighly, some users may not be able to download the plugin.
 
 If you have the orininal AVIs and WAV files you might want to consider either
 using Flash Communication Server or the free Windows Media Server route, since
 more folks have these plugins On the other hand going from RM to MPEG to
 another format could take a lot of the quality away from the video.
 
 You also might want to check the encoding bitrate of the video as well. If you
 have employees dialing in, they will never be able to view a video streamed at
 a broadband rate
 
 Jeremy Brodie
 p3 Web Development
 
 thanks Michael
 its on a secure server  just for internal use
 the only reason they want it streamed is that they are pretty chunky files.
 training videos that can be over 20 minutes long..
 
 guess i will look into setting up a real server, since we own it.
 just dislike its format  the way they treat there clients...
 -paul
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

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



Cfhttp

2003-07-14 Thread Ryan Mitchell
Hello

Is there any way to preserve session state over cfhttp... Im doing multiple
requests on a web page, and the page uses sessions, and so I cant login etc
via cfhttp as it doesn¹t seem to preserve sessions...

TIA,
Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

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



Re: Cfhttp (now regex help needed...)

2003-07-14 Thread Ryan Mitchell
Ok, cool i've got this aspect working, thanks dave...

Now... I am doing a cfhttp on a php page and need to return the php sid, so
basically I need to search through the string and find

sid=. where the  Represent a 32 char alphanumeric string...

I've tried 
ReFind('sid=([[:alnum:]])+',cfhttp.FileContent)
But it doesn¹t seem to work... Any thoughts?

Sorry for all this annoyance...
This is so worth it if I get this working!

Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

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



Re: Cfhttp (now regex help needed...)

2003-07-14 Thread Ryan Mitchell
Thanks, got it doing what I want now!!!

On 14/7/03 16:08, Ben Doom [EMAIL PROTECTED] wrote:

 How big is the php page that's coming back?  ReFind() has some character
 limitations (about 22k or so), so if the page is any bigger, it just fails.
 No error, no message, no grace -- it just doesn't find anything.
 
 Assuming the page is small enough, you should be looking for something like
 
 (|\?)sid=[[:alnum:]]{32}
 
 I changed just the  to an  or ? so it would find the string even if it's
 the first in the query string.  The {32} means to look for 32 of the
 previous construct (in this case, an alnum).
 
 HTH.
 
 As always, if you need more assistance, Ninjas are standing by:
 http://www.houseoffusion.com/cf_lists/index.cfm?method=threadsforumid=21
 HoF CF-RegEx -- for all your regex needs.
 
 
 --  Ben Doom
   Programmer  General Lackey
   Moonbow Software, Inc
 
 : -Original Message-
 : From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
 : Sent: Monday, July 14, 2003 10:50 AM
 : To: CF-Talk
 : Subject: Re: Cfhttp (now regex help needed...)
 :
 :
 : Ok, cool i've got this aspect working, thanks dave...
 :
 : Now... I am doing a cfhttp on a php page and need to return the
 : php sid, so
 : basically I need to search through the string and find
 :
 : sid=. where the  Represent a 32 char alphanumeric string...
 :
 : I've tried
 : ReFind('sid=([[:alnum:]])+',cfhttp.FileContent)
 : But it doesn¹t seem to work... Any thoughts?
 :
 : Sorry for all this annoyance...
 : This is so worth it if I get this working!
 :
 : Ryan
 :
 : 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

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



Re: FireFly vs DRK

2003-07-14 Thread Ryan Mitchell
Christian... When will firefly (Flash MX DCK) be available on Mac OSX??
The tech specs list only pc compatability... !!

On 14/7/03 21:00, Candace Cottrell [EMAIL PROTECTED] wrote:

 Thanks Christian, I hadn't seen that one.
 
 Candace K. Cottrell, Web Developer
 The Children's Medical Center
 One Children's Plaza
 Dayton, OH 45404 
 937-641-4293 
 http://www.childrensdayton.org
 
 
 [EMAIL PROTECTED]
 
 [EMAIL PROTECTED] 7/14/2003 3:25:50 PM 
 On Monday, July 14, 2003, at 01:19 PM, Candace Cottrell wrote:
 
 Also, anyone know of any good tutorials? I have checked at mm.com,
 but
 those are fairly limited from what I could gather.
 
 Have you seen Ben's article?
 
 http://www.macromedia.com/devnet/mx/coldfusion/articles/data_conn.html
 
 
 Christian
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

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



AMENDED (STILL NEED HELP): Php in cf help...

2003-07-13 Thread Ryan Mitchell
Ok, right I've discovered the problem, but can't find a way around it... I
know theres a lot of regex guru's out there, and one of them is bound to
have come across this before, so please help!!

Basically im trying to URLEncodeFormat the part of the string being
ReReplaced... Ie I want to URLEncodeFormat(\0)... It doesn¹t matter that im
trying to url encode format it, no function works with the \0 as its
argument.. !!

So basically im discovering the \0 is unusable...

So is there any way I can pass the \0 to the URLEncodeFormat() function? So
that I can urlencode it?

I hope this all makes sense...
Ryan

On 12/7/03 23:12, Ryan Mitchell [EMAIL PROTECTED] wrote:

 Sorry copied the wrong version:
 
 Ok so:
 #ReReplace(cfhttp.FileContent,'[[:alnum:]/]+[[:alnum:]]+\.php+[[:alnum:]:;%-_\
 .\?/=]+','index.cfm?section=#url.section#page=#URLEncodedFormat(\0)#','ALL')#
 
 Gives me an error saying
 Missing argument name.
 
 wheras:
 
 #ReReplace(cfhttp.FileContent,'[[:alnum:]/]+[[:alnum:]]+\.php+[[:alnum:]:;%-_\
 .\?/=]+','index.cfm?section=#url.section#page=#URLEncodedFormat(\0)#','ALL'
 )#
 
 Doesn¹t output the replaced string, it just outputs \0 where the replaced
 string should be...
 
 Any ideas?
 
 
 On 12/7/03 21:15, Jim McAtee [EMAIL PROTECTED] wrote:
 
 Show the code that is generating the error.
 
 
 - Original Message -
 From: Ryan Mitchell [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Saturday, July 12, 2003 11:38 AM
 Subject: Php in cf help...
 
 
 Hello
 
 Im trying to include a php file within a cold fusion page, and in doing so
 replace all links within the page so that they refer back to the cold fusion
 page calling the php file... Hope that made sense...
 
 So anyways, im doing a cfhttp of the file, and then with the result doing
 this...
 
 #ReReplace(cfhttp.FileContent,'[[:alnum:]/]+[[:alnum:]]+\.php+[:;%-_\.\?/=]+
 ','index.cfm?section=#url.section#page=\0','ALL')#
 
 However, I want to URLEncodedFormat() the \0 bit of the expression, but it
 won't let me!! I get an error saying invalid expression format or something
 like that...
 
 Anyways, I need to encode the url to preserve the variables passed in it for
 the php page to process...
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

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



Php in cf help...

2003-07-12 Thread Ryan Mitchell
Hello

Im trying to include a php file within a cold fusion page, and in doing so
replace all links within the page so that they refer back to the cold fusion
page calling the php file... Hope that made sense...

So anyways, im doing a cfhttp of the file, and then with the result doing
this...

#ReReplace(cfhttp.FileContent,'[[:alnum:]/]+[[:alnum:]]+\.php+[:;%-_\.\?/=]+
','index.cfm?section=#url.section#page=\0','ALL')#

However, I want to URLEncodedFormat() the \0 bit of the expression, but it
won't let me!! I get an error saying invalid expression format or something
like that...

Anyways, I need to encode the url to preserve the variables passed in it for
the php page to process...

Help!?
Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

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



Re: Php in cf help...

2003-07-12 Thread Ryan Mitchell
Sorry copied the wrong version:

Ok so:
#ReReplace(cfhttp.FileContent,'[[:alnum:]/]+[[:alnum:]]+\.php+[[:alnum:]:;%-
_\.\?/=]+','index.cfm?section=#url.section#page=#URLEncodedFormat(\0)#','AL
L')#

Gives me an error saying
Missing argument name.

wheras:

#ReReplace(cfhttp.FileContent,'[[:alnum:]/]+[[:alnum:]]+\.php+[[:alnum:]:;%-
_\.\?/=]+','index.cfm?section=#url.section#page=#URLEncodedFormat(\0)#','
ALL')#

Doesn¹t output the replaced string, it just outputs \0 where the replaced
string should be...

Any ideas?


On 12/7/03 21:15, Jim McAtee [EMAIL PROTECTED] wrote:

 Show the code that is generating the error.
 
 
 - Original Message -
 From: Ryan Mitchell [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Saturday, July 12, 2003 11:38 AM
 Subject: Php in cf help...
 
 
 Hello
 
 Im trying to include a php file within a cold fusion page, and in doing so
 replace all links within the page so that they refer back to the cold fusion
 page calling the php file... Hope that made sense...
 
 So anyways, im doing a cfhttp of the file, and then with the result doing
 this...
 
 #ReReplace(cfhttp.FileContent,'[[:alnum:]/]+[[:alnum:]]+\.php+[:;%-_\.\?/=]+
 ','index.cfm?section=#url.section#page=\0','ALL')#
 
 However, I want to URLEncodedFormat() the \0 bit of the expression, but it
 won't let me!! I get an error saying invalid expression format or something
 like that...
 
 Anyways, I need to encode the url to preserve the variables passed in it for
 the php page to process...
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

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



Re: Dreamweaver tag updates for redsky

2003-07-10 Thread Ryan Mitchell
Lol... Original email said tag updates... You can speculate all you
like... NDA


On 10/7/03 3:06 am, Rich Z [EMAIL PROTECTED] wrote:

 Redsky has new tags?
 
 -Original Message-
 From: Tilbrook, Peter [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 09, 2003 9:29 PM
 To: CF-Talk
 Subject: RE: Dreamweaver tag updates for redsky
 
 There are for Studio 5/HomeSite+ on the beta site. Not for DWMX as yet.
 
 
 **
 The information contained in this e-mail, and any attachments to it, is
 intended for the use of the addressee and is confidential. If you are
 not the intended recipient you must not use, disclose, read, forward,
 copy or retain any of the information. If you have received this e-mail
 in
 error, please delete it and notify the sender by return e-mail or
 telephone.
 The Commonwealth does not warrant that any attachments are free from
 viruses or any other defects. You assume all liability for any loss,
 damage or other consequences which may arise from opening or using the
 attachments.
 
 ***
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

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



Dreamweaver tag updates for redsky

2003-07-09 Thread Ryan Mitchell
Hello

Anyone know if there is / will be an update for dreamweaver for tag updates
in redsky?

Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

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



Removing spaces from a string?

2003-06-28 Thread Ryan Mitchell
Hello

How do you remove spaces from a string?

Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

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



Charsets when querying db

2003-06-24 Thread Ryan Mitchell
Hello

Im having some trouble with querying my db (Mysql on mx), and im getting ú
replaced by funny characters and all sorts like that.

I have a feeling its to do with the character sets the db is returning, and
the charset on the page... I tried to change the page charset, but no
difference, is there any way of forcing the db to return a charset...

Either that or its a problem with cfmx... :)

Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

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



Re: Charsets when querying db

2003-06-24 Thread Ryan Mitchell
Where do you add that connection string?
In the cfadmin or within the query?

On 24/6/03 22:16, Jochem van Dieten [EMAIL PROTECTED] wrote:

 Bryan Love wrote:
 What version of MySQL are you using?  Try switching to 4.1 if you aren't
 using it...
 
 You are recommending people to switch to an alpha release?
 
 It might be a better idea to try the following in the connectionstring
 first (presuming the database charset is iso-8859-1):
 useUnicode=truecharacterEncoding=iso-8859-1
 
 Jochem
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

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



Re: Charsets when querying db

2003-06-24 Thread Ryan Mitchell
Ok I added it in the cfadmin...

Seems to be a bit hit and miss, it does the trick for querying db's, but
inserts and stuff seem to be inserting funny chars... My pages have the

meta http-equiv=Content-Type content=text/html; charset=iso-8859-1

And 

cfprocessingdirective pageencoding=iso-8859-1

Lines in them...

Is there anything else I should be putting in??


On 24/6/03 22:16, Jochem van Dieten [EMAIL PROTECTED] wrote:

 Bryan Love wrote:
 What version of MySQL are you using?  Try switching to 4.1 if you aren't
 using it...
 
 You are recommending people to switch to an alpha release?
 
 It might be a better idea to try the following in the connectionstring
 first (presuming the database charset is iso-8859-1):
 useUnicode=truecharacterEncoding=iso-8859-1
 
 Jochem
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

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



Re: Charsets when querying db

2003-06-24 Thread Ryan Mitchell
Thanks jochem... As ever!!

On 24/6/03 23:52, Jochem van Dieten [EMAIL PROTECTED] wrote:

 Ryan Mitchell wrote:
 
 Seems to be a bit hit and miss, it does the trick for querying db's, but
 inserts and stuff seem to be inserting funny chars... My pages have the
 
 meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
 
 That is not sufficient, it is overruled by the HTTP header which
 defaults to UTF-8 in CF MX.
 
 
 And 
 
 cfprocessingdirective pageencoding=iso-8859-1
 
 setEncoding() and cfcontent:
 http://www.macromedia.com/support/coldfusion/internationalization/internationa
 lization_cfmx/
 
 Jochem
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

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



Blue dragon installation issues

2003-06-17 Thread Ryan Mitchell
Hello

After all the talk of BD in recent days I downloaded the free J2EE version
and installed in on my mac, as a web app in Jrun4.

Things seemed ok, the test cfml and jsp pages ran fine, but I cant access
the admin panel. All attempts to access it return a white page..

Occasionally (after lots of refresh pressing) I get an alert saying
Developers License for BlueDragon...

Seems a bit strange that cfml pages process but the admin doesn¹t...
Incidentally I can't find the admin.cfm page, but its not returning an error
not found either...

TIA,
Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

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



This should be easy

2003-06-13 Thread Ryan Mitchell
Heylo

Im using a cftry - cfcatch sort of thing for the first time, and I want to
email myself the error message that gets produced... How do you do this?

TIA,
Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

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



Regex

2003-06-09 Thread Ryan Mitchell
Yet another regex... Is there a tutorial anywhere on them so I can learn to
do them myself?

Right, basically I'm using the CGI.SCRIPT_NAME variable to determine the
directory that a file is in, and do some database selecting as
appropriate...

So, I need to strip the CGI.SCRIPT_NAME variable to just give me the first
directory... 

Ie /blah/index.cfm  blah

TIA
Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

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



Re: Regex

2003-06-09 Thread Ryan Mitchell
It won't be in the wwwroot, so that¹s great. Thanks.
Ryan

On 9/6/03 10:48, Mike Townend [EMAIL PROTECTED] wrote:

 The only initial trouble with this is that if the file is in the root of the
 site this function will return the wwwroot or whatever your root folder is
 called... And I just noticed the delimiter should be \
 
 CFSET sDir = ListLast(GetDirectoryFromPath(GetCurrentTemplatePath()), \)
 
 HTH
 
 
 
 -Original Message-
 From: Mike Townend [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 9, 2003 10:44
 To: CF-Talk
 Subject: RE: Regex
 
 
 How about something like
 
 CFSET sDir = ListLast(GetDirectoryFromPath(GetCurrentTemplatePath()), /)
 
 HTH
 
 
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 9, 2003 10:36
 To: CF-Talk
 Subject: Regex
 
 
 Yet another regex... Is there a tutorial anywhere on them so I can learn to
 do them myself?
 
 Right, basically I'm using the CGI.SCRIPT_NAME variable to determine the
 directory that a file is in, and do some database selecting as
 appropriate...
 
 So, I need to strip the CGI.SCRIPT_NAME variable to just give me the first
 directory... 
 
 Ie /blah/index.cfm  blah
 
 TIA
 Ryan
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

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



Re: Back Buttons

2003-06-04 Thread Ryan Mitchell
You can purge the history of all pages, or the last so many pages I
believe... Google it... Dunno if its an ie only thing or a cross browser
thing.. I read about it in an article.. Sorry to be so vague!!

Ryan

On 3/6/03 21:22, Turetsky, Seth [EMAIL PROTECTED] wrote:

 sounds like he wants to override the browser back button, naga naga
 naganahappen
 if not, don't mind me
 
 -Original Message-
 From: Cassidy Symons [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 03, 2003 4:09 PM
 To: CF-Talk
 Subject: Re: Back Buttons
 
 
 history.go(-2)
 
 At 03:52 PM 6/3/2003 -0400, you wrote:
 Is there away to make the back button do history -2 instead of -1 on
 certain pages... I am trying to bypass a form post page to return my
 users to where they origiannlly came from...
 
 Any ideas...
 
 
 
 Kris Pilles
 Website Manager
 Western Suffolk BOCES
 507 Deer Park Rd., Building C
 Phone: 631-549-4900 x 267
 E-mail: [EMAIL PROTECTED]
 
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

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



Upload progress bar...

2003-06-04 Thread Ryan Mitchell
Hello

I found this...


Ryan Mitchell

e: [EMAIL PROTECTED]
w: www.rtnetworks.net
t: 07866569916


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

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



Oops... Upload progress bar

2003-06-04 Thread Ryan Mitchell
Wrong button ;)

Anyyways I found this:

http://support.persits.com/upload/progress.asp

Anyone know how to create this in cold fusion.. The code is included at that
link. It calls a couple of asp functions such as FormatProgress(), and I
cant see them defined... Are they native asp functions? It doesn¹t seem hard
to replicate apart from these...

I could just use this code in my CMS, but I'd prefer to keep my cffile one,
and just implement a cf version of this... Any help gratefuly received.

Ryan Mitchell

e: [EMAIL PROTECTED]
w: www.rtnetworks.net
t: 07866569916


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

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



WOT: but necessary!

2003-06-03 Thread Ryan Mitchell
Hello

This is random, but I need to know if anyone has heard of it, as Ive been
searching all day but with no luck.

Basically, I want visitors to a site to be able to see their msn messenger
contact list if they are logged in.. I know such a thing exists, as when you
used to log in to hotmail you got it, I just cant see it any more when I go
to hotmail...

There are scripts out there for showing your msn status, but I would like to
be able to see who is online in my contact list...

Don¹t ask me why, a client asked for it!!

TIA
Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

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



Re: Insert woes... SOLVED

2003-05-31 Thread Ryan Mitchell
I changed them all to varchar to make sure they inserted, its a integer
field now that I got it working :)

Thanks...

On 30/5/03 2:42 pm, Greg Luce [EMAIL PROTECTED] wrote:

 But the queryparam for quantity may need to be NUMERIC or INTEGER right?
 Your quantity isn't VARCHAR is it?
 
 -Original Message-
 From: Adrian Lynch [mailto:[EMAIL PROTECTED]
 Sent: Friday, May 30, 2003 7:54 AM
 To: CF-Talk
 Subject: RE: Insert woes... SOLVED
 
 
 That was gonna be my second guess, honest :OD
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
 Sent: 30 May 2003 13:46
 To: CF-Talk
 Subject: Re: Insert woes... SOLVED
 
 
 Dammit...
 
 Option is a reseverd field name in mysql... Doh!!
 
 
 On 30/5/03 1:36 pm, Ryan Mitchell [EMAIL PROTECTED] wrote:
 
 Fraid not, the values are getting passed properly , which is the weird
 
 thing.. It **looks** totally right.. But its throwing an error. Im
 using mysql btw...
 
 
 On 30/5/03 1:38 pm, Adrian Lynch [EMAIL PROTECTED] wrote:
 
 Just a guess as I use SPs instead, but would quotes around the query
 params
 help?
 
 Ade
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
 Sent: 30 May 2003 13:32
 To: CF-Talk
 Subject: Insert woes...
 
 
 Hello
 
 Im having issues with a simple insert statement... I just cant get it
 
 to work and I don¹t know why!!
 
 cfquery ...
 INSERT INTO SavedItems (Item, Quantity, AccountID, Option) VALUES (
   cfqueryparam cfsqltype=cf_sql_varchar
 value=#Session.Cart[i].Item#,
   cfqueryparam cfsqltype=cf_sql_varchar
 value=#Session.Cart[i].Quantity#,
   cfqueryparam cfsqltype=cf_sql_varchar
 value=#Session.AccountID#,
   cfqueryparam cfsqltype=cf_sql_varchar
 value=#Session.Cart[i].Option#
   )
 /cfquery
 
 I get this error:
 Error Executing Database Query.
 
 Syntax error or access violation: You have an error in your SQL
 syntax
 
 Any obvious mistakes?
 
 (and yes I am locking my session vars)
 
 Ryan
 
 
 
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

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

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



Insert woes...

2003-05-30 Thread Ryan Mitchell
Hello

Im having issues with a simple insert statement... I just cant get it to
work and I don¹t know why!!

cfquery ...
 INSERT INTO SavedItems (Item, Quantity, AccountID, Option)
 VALUES (
cfqueryparam cfsqltype=cf_sql_varchar
value=#Session.Cart[i].Item#,
cfqueryparam cfsqltype=cf_sql_varchar
value=#Session.Cart[i].Quantity#,
cfqueryparam cfsqltype=cf_sql_varchar value=#Session.AccountID#,
cfqueryparam cfsqltype=cf_sql_varchar
value=#Session.Cart[i].Option#
)
/cfquery

I get this error:
Error Executing Database Query.

Syntax error or access violation: You have an error in your SQL syntax

Any obvious mistakes?

(and yes I am locking my session vars)

Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

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



Re: Insert woes...

2003-05-30 Thread Ryan Mitchell
Fraid not, the values are getting passed properly , which is the weird
thing.. It **looks** totally right.. But its throwing an error.
Im using mysql btw...


On 30/5/03 1:38 pm, Adrian Lynch [EMAIL PROTECTED] wrote:

 Just a guess as I use SPs instead, but would quotes around the query params
 help?
 
 Ade
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
 Sent: 30 May 2003 13:32
 To: CF-Talk
 Subject: Insert woes...
 
 
 Hello
 
 Im having issues with a simple insert statement... I just cant get it to
 work and I don¹t know why!!
 
 cfquery ...
 INSERT INTO SavedItems (Item, Quantity, AccountID, Option)
 VALUES (
   cfqueryparam cfsqltype=cf_sql_varchar
 value=#Session.Cart[i].Item#,
   cfqueryparam cfsqltype=cf_sql_varchar
 value=#Session.Cart[i].Quantity#,
   cfqueryparam cfsqltype=cf_sql_varchar value=#Session.AccountID#,
   cfqueryparam cfsqltype=cf_sql_varchar
 value=#Session.Cart[i].Option#
   )
 /cfquery
 
 I get this error:
 Error Executing Database Query.
 
 Syntax error or access violation: You have an error in your SQL syntax
 
 Any obvious mistakes?
 
 (and yes I am locking my session vars)
 
 Ryan
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

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



Re: Insert woes... SOLVED

2003-05-30 Thread Ryan Mitchell
Dammit...

Option is a reseverd field name in mysql... Doh!!


On 30/5/03 1:36 pm, Ryan Mitchell [EMAIL PROTECTED] wrote:

 Fraid not, the values are getting passed properly , which is the weird
 thing.. It **looks** totally right.. But its throwing an error.
 Im using mysql btw...
 
 
 On 30/5/03 1:38 pm, Adrian Lynch [EMAIL PROTECTED] wrote:
 
 Just a guess as I use SPs instead, but would quotes around the query params
 help?
 
 Ade
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
 Sent: 30 May 2003 13:32
 To: CF-Talk
 Subject: Insert woes...
 
 
 Hello
 
 Im having issues with a simple insert statement... I just cant get it to
 work and I don¹t know why!!
 
 cfquery ...
 INSERT INTO SavedItems (Item, Quantity, AccountID, Option)
 VALUES (
   cfqueryparam cfsqltype=cf_sql_varchar
 value=#Session.Cart[i].Item#,
   cfqueryparam cfsqltype=cf_sql_varchar
 value=#Session.Cart[i].Quantity#,
   cfqueryparam cfsqltype=cf_sql_varchar value=#Session.AccountID#,
   cfqueryparam cfsqltype=cf_sql_varchar
 value=#Session.Cart[i].Option#
   )
 /cfquery
 
 I get this error:
 Error Executing Database Query.
 
 Syntax error or access violation: You have an error in your SQL syntax
 
 Any obvious mistakes?
 
 (and yes I am locking my session vars)
 
 Ryan
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

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



Re: Mac OS X - Jrun 4/CFMX installation

2003-03-28 Thread Ryan Mitchell
It ships with apache, but you'll need to start it up.

System Preferences  Sharing  tick personal web sharing

The install is easy enough, just follow the MM instructions.

Any problems give me a shout off-list

Ryan

On 28/3/03 3:14, Tilbrook, Peter [EMAIL PROTECTED] wrote:

 I'm going to attempt to install CFMX for Mac OS X (again!). I'm no Mac
 expert but since noone else is using this lovely PowerBook G4 Titanium I'd
 thought I'd give a whirl. It's a waste of our Studio MX for Max OS X license
 otherwise.
 
 If I get stuck is there anyone in Canberra (Australia) who has installed it
 successfully themselves? I'm not even sure if the G4's ship with a web
 server installed.
 
 Thanks!
 
 ==
 Peter Tilbrook
 Internet Applications Developer
 Australian Building Codes Board
 GPO Box 9839
 CANBERRA ACT 2601
 AUSTRALIA
 
 WWW: http://www.abcb.gov.au/
  E-Mail: [EMAIL PROTECTED]
 Telephone: +61 (02) 6213 6731
  Mobile: 0439 401 823
 Facsimile: +61 (02) 6213 7287
 
 
 **
 The information contained in this e-mail, and any attachments to it, is
 intended for the use of the addressee and is conidential. If you are not the
 intended recipient you must not use, disclose, read, forward, copy or retain
 any of the information. If you have received this e-mail in
 error, please delete it and notify the sender by return e-mail or telephone.
 The Commonwealth does not warrant that any attahcments are frree from virueses
 or any other defects. You assume all liability for any loss, damage or other
 consequences which may arise from opening or using the attachments.
 **
 *
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

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



Re: cfimport tag - jsp libraries

2003-03-27 Thread Ryan Mitchell
Em I could be wy off mark, but is it not a simple spelling mistake?

prefix=imgD

Then wehen u reference it

imdD:Height

Should this not be 

imgD:Height

???

Ryan

On 27/3/03 20:07, Dave Watts [EMAIL PROTECTED] wrote:

 Its my first attempt at using the cfimport tag and I can't
 seem to get by this error. What type should it be? I didn't
 seem a 'type' option in the documentation.
 
 The type for attribute path of tag Height could not be determined.
 1 : CFOUTPUT
 2 : cfimport taglib=/WEB-INF/lib/image_taglib.jar prefix=imgD
 3 : imdD:Height path=0100680s.jpg /
 4 : /CFOUTPUT
 
 You can get it to work by cycling the CF server. There may be a way to get
 it to automatically recognize jar and tld files placed in /WEB-INF/lib, but
 I don't know what it is, off the top of my head.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 voice: (202) 797-5496
 fax: (202) 797-5444
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



Re: JS problem

2003-03-06 Thread Ryan Mitchell
Can you not just use this ie this.value instead of
document.cartyform.myfield.value ??


On 6/3/03 14:57, Emmet McGovern [EMAIL PROTECTED] wrote:

 To clarify my earlier post.  This is what I've been trying to no avail
 
 function CheckCartQty(myField) {
 var ErrMsg = ;
 
 // Validate that the Quantities in the Cart are
 numbers
 if ((isNan(document.CartForm.myField.value)) ||
 (document.CartForm.myField.value == 0)) {
 ErrMsg = ErrMsg + - The Quantity you
 entered is invalid\n;
 }
 
 if (ErrMsg.length  0) {
 window.alert(ErrMsg);
 document.CartForm.myField.focus();
 
 return false;
 } else {
 return true;
 }
 }
 
 
 RE:
 
 I am calling a function onBlur of a text field... to validate that the
 text entered is a number...  of course... this list of text fields is
 being generated dynamically... (shopping cart quantities). If I pass a
 parameter, like so, CheckQty(someFieldName) how do I check that in the
 function... Like so, document.CartForm.PARAMETER.value ,it wont let me
 use the name of the parameter... do I have to build a string or
 something?
 
 Emmet
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

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



Should be easy :)

2003-02-20 Thread Ryan Mitchell
This should be an easy one.

How do I remove the first fullstop/period in a string ?

TIA
Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

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




Re: Should be easy :)

2003-02-20 Thread Ryan Mitchell
Will that not replace ALL periods ?
I just want the first...


On 20/2/03 12:17, Simon Whittaker [EMAIL PROTECTED] wrote:

 say that temp is your variable
 
 cfset temp = Replace(temp,.,)
 
 
 Cheers
 
 Simon
 - Original Message -
 From: Ryan Mitchell [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Thursday, February 20, 2003 12:14 PM
 Subject: Should be easy :)
 
 
 This should be an easy one.
 
 How do I remove the first fullstop/period in a string ?
 
 TIA
 Ryan
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

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




Problems with mysql

2003-02-14 Thread Ryan Mitchell
Hey

Im runnign CFMX with mysql as my db. Until about a month a go I was using
access, but now with mysql, when I insert info into a database I get certian
characters  (' , ... etc) replaced by just mental stuff. It makes no sense!!

Has anyone experienced this before, and found a solution?

Ryan Mitchell

e: [EMAIL PROTECTED]
w: www.rtnetworks.net
t: 07866569916


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

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




Re: Problems with mysql

2003-02-14 Thread Ryan Mitchell
Ok to answer all questions...

Im using the last 3 version of mysql (ie 3.x), im using cfinsert + cfupdate.

Jochem, how do u specify unicode and charset in the connection string?

Ryan



On 14/2/03 17:15, Matt Robertson [EMAIL PROTECTED] wrote:

 Are you using cfqueryparam?  Cfinsert?  Cfupdate?  The only thing I've
 seen go screwy is backslashes, for which there's an easy fix.  What ver
 of mySQL are you running?
 
 
 Matt Robertson   [EMAIL PROTECTED]
 MSB Designs, Inc.  http://mysecretbase.com
 
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: Friday, February 14, 2003 8:41 AM
 To: CF-Talk
 Subject: Problems with mysql
 
 
 Hey
 
 Im runnign CFMX with mysql as my db. Until about a month a go I was
 using
 access, but now with mysql, when I insert info into a database I get
 certian
 characters  (' , ... etc) replaced by just mental stuff. It makes no
 sense!!
 
 Has anyone experienced this before, and found a solution?
 
 Ryan Mitchell
 
 e: [EMAIL PROTECTED]
 w: www.rtnetworks.net
 t: 07866569916
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

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




Re: uploading progress bar

2003-02-14 Thread Ryan Mitchell
Aye ill have a go.
On 14/2/03 19:28, Dave Lyons [EMAIL PROTECTED] wrote:

 I have scene a lot of people ask for an uploading progress bar and I actually
 have one.
 I really don't have time to give it a try but if any of you want to try it out
 and let me know how it works, I'd be glad to send it to you. I would really
 like to know if its worth while or not before I waste several hours trying to
 figure it out:)
 
 dave
 !--- doesn't know jack about cfm ---
 
 
 
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

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




Re: Custom tag recommendation?

2003-02-14 Thread Ryan Mitchell
Hey

Just had the chance to look at this.
Im runnign cfmx pro... Do I just dump the jar files into a classpath? I can
write a class ok, thatll be no probs, I just need to figure out how to get
these jars running properly on the server :)

Ryan

On 12/2/03 10:43, Thomas Chiverton [EMAIL PROTECTED] wrote:

 On Wednesday 12 Feb 2003 10:24 am, Robertson-Ravo,Neil (RX)
 [EMAIL PROTECTED] wrote:
 You may need a CFX tag for this.
 
 Nah,  just call the JAI classes:
 http://www.macromedia.com/desdev/mx/coldfusion/articles/jai_images.html

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

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




Cold fusion function

2003-02-13 Thread Ryan Mitchell
Hey

I know theres a coldfusion function similar to ParagraphFormat, except it
preserves the html formatting.. HtmlFormat or something??

What is it?
Basically I have html in a db, but when it hits the page it gets processed,
but I want it to remain unprocessed.

Ryan Mitchell


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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




Re: Cold fusion function

2003-02-13 Thread Ryan Mitchell
Excellent, that¹s the one... My cf book is at home!!

On 13/2/03 18:01, Randell B Adkins [EMAIL PROTECTED] wrote:

 HTMLEDITFORMAT (I Think)
 
 [EMAIL PROTECTED] 02/13/03 12:57PM 
 Hey
 
 I know theres a coldfusion function similar to ParagraphFormat, except
 it
 preserves the html formatting.. HtmlFormat or something??
 
 What is it?
 Basically I have html in a db, but when it hits the page it gets
 processed,
 but I want it to remain unprocessed.
 
 Ryan Mitchell
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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




Custom tag recommendation?

2003-02-12 Thread Ryan Mitchell
Hey

Can anyone recommend a good custom tag, needs to work with CFMX, that will
resize a jpg and also has options to crop it and pad it ??


TIA,
Ryan Mitchell


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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




Re: Custom tag recommendation?

2003-02-12 Thread Ryan Mitchell
That url brings up an error for me


On 12/2/03 10:43, Thomas Chiverton [EMAIL PROTECTED] wrote:

 On Wednesday 12 Feb 2003 10:24 am, Robertson-Ravo,Neil (RX)
 [EMAIL PROTECTED] wrote:
 You may need a CFX tag for this.
 
 Nah,  just call the JAI classes:
 http://www.macromedia.com/desdev/mx/coldfusion/articles/jai_images.html


Ryan Mitchell

e: [EMAIL PROTECTED]
w: www.rtnetworks.net
t: 07866569916


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

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




OT: how to check if a browser is a windows IE 5.5

2003-02-11 Thread Ryan Mitchell
Hey

Sorry for the OT

Whats the best way to check for a browser being a windows version of IE, and
greater than version 5.5...

Send me code ;)

Ryan Mitchell


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

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




Custom tags

2003-02-11 Thread Ryan Mitchell
Hey

I've added a custom tag but when I try to use it I get an error saying its
not in the database... Any thoughts? CFMX Pro btw...

Ryan Mitchell

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

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




Re: Custom tags

2003-02-11 Thread Ryan Mitchell
Nope this is the error I get:

Error processing CFX custom tag CFX_JpegResizer.

The CFX custom tag CFX_JpegResizer was not found in the custom tag
database. Please be sure to add custom tags to the database before using
them. If you have added your tag to the database then you should check the
spelling of the tag within your template to insure that it matches the
database entry. 


On 11/2/03 22:59, Bryan Stevenson [EMAIL PROTECTED] wrote:

 could the tag be looking for a table in the DB that you might not have?
 
 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 t. 250.920.8830
 e. [EMAIL PROTECTED]
 
 -
 Macromedia Associate Partner
 www.macromedia.com
 -
 Vancouver Island ColdFusion Users Group
 Founder  Director
 www.cfug-vancouverisland.com
 - Original Message -
 From: Ryan Mitchell [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Tuesday, February 11, 2003 2:45 PM
 Subject: Custom tags
 
 
 Hey
 
 I've added a custom tag but when I try to use it I get an error saying its
 not in the database... Any thoughts? CFMX Pro btw...
 
 Ryan Mitchell
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

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




I cant find this in the archives

2003-02-10 Thread Ryan Mitchell
Hello

What is the setting you should set to false on a shared hosting
environment... ?

I'd search the archives, but the search function isnt working!

Ryan Mitchell


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

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




Re: I cant find this in the archives

2003-02-10 Thread Ryan Mitchell
That¹s the one, thank you...

On 10/2/03 23:28, Mike Brunt [EMAIL PROTECTED] wrote:

 Ryan I assume CFMX in (your CFMX root this is my local box)
 D:\CFusionMX\runtime\servers\default\SERVER-INF\jrun.xml set this
 
 attribute name=cacheRealPathfalse/attribute
 
 Hth
 
 Kind Regards - Mike Brunt
 Webapper Services LLC
 Web Site http://www.webapper.com
 Blog http://www.webapper.net
 
 Webapper Web Application Specialists
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: Monday, February 10, 2003 2:18 PM
 To: CF-Talk
 Subject: I cant find this in the archives
 
 Hello
 
 What is the setting you should set to false on a shared hosting
 environment... ?
 
 I'd search the archives, but the search function isnt working!
 
 Ryan Mitchell
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

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




Cfquery - whats wrong with this!?

2003-01-17 Thread Ryan Mitchell
Hello

I've just moved from access to mysql, and I'm noticing that a lot of my
insert queries aren't working, and I cant figure out why!!

For example...

cfquery name=log connection info here
INSERT INTO Log
(Action, On, StaffUser)
VALUES ('#description#', #now()#, '#getstaff.name#')
/cfquery

Updates work fine, as do selects etc, but why isnt this (or any other)
insert working?!

Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

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




Cfquery in mysql part 2

2003-01-17 Thread Ryan Mitchell
Ok, so I got that, and a few others to work, now I have a bit of an issue
with my delete statements

cfquery 
DELETE * FROM PPD WHERE ID = #url.id#
/cfquery

Now I tried using cfqueryparam for the url.id but none worked! the field
type is tinyint(4)...

Help!!!
Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

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




Last one, I think...

2003-01-17 Thread Ryan Mitchell
Ok, I've got a handle on this, and got rid of all but one error... Thanks
for all the help guys..

cfquery 
UPDATE FTP
SET domain = '#domains.id#', username = '#FORM.username#', password =
'#FORM.password#', cfqueryparam cfsqltype=cf_sql_varchar
value=#FORM.root#, nocharge = '#FORM.nocharge#', anonymous =
#FORM.anonymous#
WHERE id = #url.id#
/cfquery

And I'm getting this error

Error Executing Database Query.

Syntax error or access violation: You have an error in your SQL syntax near
''c:\\webserver\\rthosting.net\\www\\boo', domain = '1'  WHERE ID =
5' at line 1 

I think the problem is the id = bit but I tried using tinyint etc and it
wont work, anyone else shed any light?

Ryan

 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

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




Re: Last one, I think...

2003-01-17 Thread Ryan Mitchell
Nope fraid not, the field is a text field intentionally :)

Any other thoughts?

On 17/1/03 18:50, Todd [EMAIL PROTECTED] wrote:

 Domain = '#domains.id#'
 
 Should be:
 
 Domain = #domain.id#
 
 No single quotes around integers.
 
 ~Todd
 
 At 06:46 PM 1/17/2003 +, you wrote:
 Ok, I've got a handle on this, and got rid of all but one error... Thanks
 for all the help guys..
 
 cfquery 
 UPDATE FTP
 SET domain = '#domains.id#', username = '#FORM.username#', password =
 '#FORM.password#', cfqueryparam cfsqltype=cf_sql_varchar
 value=#FORM.root#, nocharge = '#FORM.nocharge#', anonymous =
 #FORM.anonymous#
 WHERE id = #url.id#
 /cfquery
 
 And I'm getting this error
 
 Error Executing Database Query.
 
 Syntax error or access violation: You have an error in your SQL syntax near
 ''c:\\webserver\\rthosting.net\\www\\boo', domain = '1'  WHERE ID =
 5' at line 1
 
 
 
 --
 Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/
 Team Macromedia Volunteer for ColdFusion
 http://www.macromedia.com/support/forums/team_macromedia/
 http://www.devmx.com/
 
 --
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

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




Re: Last one, I think...

2003-01-17 Thread Ryan Mitchell
Try this, same error different query...


cfquery ...
UPDATE PPD
SET username = '#FORM.username#', password = '#FORM.password#', domain =
'#domains.id#', cfqueryparam cfsqltype=cf_sql_varchar
value=#FORM.directory#
WHERE ID = #url.id#
/cfquery

Im only using the queryparam for the directory as it needs to have '\'s in
it, everything else works fine without them

Username, password, domain, directory are all of type tinytext.
Id is of type tinyint(4).

Ryan

On 17/1/03 19:01, Todd [EMAIL PROTECTED] wrote:

 anonymous = #FORM.anonymous# ..?
 
 anonymous = '#FORM.anonymous#' ?
 
 Without seeing the data types of the column I can sit and guess all
 day.  Why are you mixing / matching CFQUERYPARAMs?  Why do you have one
 there, but you don't have the others in there?
 
 ~Todd
 
 At 06:56 PM 1/17/2003 +, you wrote:
 Nope fraid not, the field is a text field intentionally :)
 
 Any other thoughts?
 
 On 17/1/03 18:50, Todd [EMAIL PROTECTED] wrote:
 
 Domain = '#domains.id#'
 
 Should be:
 
 Domain = #domain.id#
 
 No single quotes around integers.
 
 ~Todd
 
 
 
 --
 Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/
 Team Macromedia Volunteer for ColdFusion
 http://www.macromedia.com/support/forums/team_macromedia/
 http://www.devmx.com/
 
 --
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

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




Re: cfoutput formatting

2003-01-13 Thread Ryan Mitchell
Set a number (cfset count = 1) and increment it every time the query runs.
Every time the number is equal to 4, set it back to 1 and output a /trtr
Hope that makes sense, too lazy to write code!

Ryan



On 13/1/03 17:00, Jeremy Bunton [EMAIL PROTECTED] wrote:

 I have an output block that looks like so,
 
 tr
 tdimg src=images/spacer.gif width=71 height=1 alt=
 border=0/td
 
 cfoutput query=getclients
 td valign=top width=26 class=copyinput class=copy name=theid
 type=checkbox value=#id#/td
 td valign=top width=200
 class=copy#UCase(cusername)#br(#cpassword#)/td
 /cfoutput
 
 tdimg src=images/spacer.gif width=85 height=1 alt=
 border=0/td
 /tr
 
 After the cfoutput kicks out 4 records I need a new tr/tr to be
 created and then show the next 4 records in 4 more td's and so forth
 instead of getting one row with 120 cells in it.  Maybe something with the
 cfoutputs on the out side of the tr and a loop inside or something.
 
 JLB
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

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




Re: web beacons

2003-01-13 Thread Ryan Mitchell
Everytime the image is requested on a page it counts as a hit (increments a
counter)

On 13/1/03 17:51, sebastian palmigiani [EMAIL PROTECTED] wrote:

 Yahoo is using something called web beacons. Can anyone simply explain how a
 single pixel gif is used as a web beacon.
 
 http://privacy.yahoo.com/privacy/us/pixels/details.html
 
 
 Sebastian
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

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




Replacing characters in a string

2003-01-07 Thread Ryan Mitchell
This should be a simple enough one...

I have a credit card number, 16 digits long, and I want to star (*) out the
middle 8. How do I do this?

TIA
Ryan


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

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



Re: Replacing characters in a string

2003-01-07 Thread Ryan Mitchell
Nope, I mean by a cf method.
Ill give this a go thanks,
Ryan

On 7/1/03 12:55, Robertson-Ravo, Neil (RX)
[EMAIL PROTECTED] wrote:

 take the numberread the first 8 numbers and the output them with
 hardcoded *'s.
 
 simple
 
 Or do you mean by Javascript as they type?
 
 N
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: 07 January 2003 12:56
 To: CF-Talk
 Subject: Replacing characters in a string
 
 
 This should be a simple enough one...
 
 I have a credit card number, 16 digits long, and I want to star (*) out the
 middle 8. How do I do this?
 
 TIA
 Ryan
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



For the mac users out there

2003-01-07 Thread Ryan Mitchell
Tell me this is true!?

http://www.macworld.co.uk/news/main_news.cfm?NewsID=5766

Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

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



Re: For the mac users out there

2003-01-07 Thread Ryan Mitchell
Thank you macromedia
When can I get it?


On 7/1/03 15:59, Todd Rafferty [EMAIL PROTECTED] wrote:

 It's true.
 
 ~Todd
 
 At 03:57 PM 1/7/2003 +, you wrote:
 Tell me this is true!?
 
 http://www.macworld.co.uk/news/main_news.cfm?NewsID=5766
 
 Ryan
 
 
 
 --
 Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/
 Team Macromedia Volunteer for ColdFusion
 http://www.macromedia.com/support/forums/team_macromedia/
 http://www.devmx.com/
 
 --
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

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



Re: For the mac users out there

2003-01-07 Thread Ryan Mitchell
Yeah, that will be the day that xserve takes over...


On 7/1/03 16:05, Roberson, Jeff, Mr (Contractor) ACI
[EMAIL PROTECTED] wrote:

 Unfortunately it's only the developers edition.
 
 When the standard (non-j2ee) version of CFMX runs there will be dancing in
 the streets :)
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 07, 2003 10:57 AM
 To: CF-Talk
 Subject: For the mac users out there
 
 
 Tell me this is true!?
 
 http://www.macworld.co.uk/news/main_news.cfm?NewsID=5766
 
 Ryan
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

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



Re: For the mac users out there

2003-01-07 Thread Ryan Mitchell
You did well, thanks :)


On 7/1/03 16:44, Christian Cantrell [EMAIL PROTECTED] wrote:

 On Tuesday, January 7, 2003, at 11:05 AM, Roberson, Jeff, Mr
 (Contractor) ACI wrote:
 
 Unfortunately it's only the developers edition.
 
 When the standard (non-j2ee) version of CFMX runs there will be
 dancing in
 the streets :)
 
 We will certainly keep our eye on the demand for other versions.  This
 was sort of the fastest  thing we could get tested and released to meet
 the immediate demand we knew was there.  Now we will see where things
 go from here.
 
 Christian
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 07, 2003 10:57 AM
 To: CF-Talk
 Subject: For the mac users out there
 
 
 Tell me this is true!?
 
 http://www.macworld.co.uk/news/main_news.cfm?NewsID=5766
 
 Ryan
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

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



Re: CFMX for J2EE on OSX

2003-01-07 Thread Ryan Mitchell
First off, thanks! :)

I got it to all work and wrote the script to start it up on boot, so its all
good so far.

Was just wondering if there was an apache connector for JRun (even
planned?), I hate port numbers!!!

Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

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



Re: ASP Message Boards / Forums

2003-01-06 Thread Ryan Mitchell
http://www.webwizguide.info/web_wiz_forums/default.asp

Web wiz forums, skinnable, easy to config.
Theyre good :)
Ryan


 - Original Message -
 From: Chris Alvarado [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Monday, January 06, 2003 8:52 AM
 Subject: OT: ASP Message Boards / Forums
 
 
 Hello all,
 
 I know ASP is a bit off topic on this list but I figured I would ask
 since many people here are also familiar with ASP.
 
 A client of ours is looking for a forum solution built in ASP. I am
 looking for some recommendations ranging from the most simpler / free to
 the most complex feature rich and expensive forums I can find.
 
 URLs would be really helpful so I can do some research on my end.
 
 Thanks a million all,
 
 -chris.alvarado
 [ application developer ]
 4 Guys Interactive, Inc.
 http://www.4guys.com
 
 We create websites that make you a hero.
 
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

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



Re: CFMX database file

2003-01-03 Thread Ryan Mitchell
Thanks,
Anyone know of a script to add dsn's to CFMX outside of the administrator?
Need a way of doing this without granting administrator access!
Ryan

On 3/1/03 5:07, Joshua Miller [EMAIL PROTECTED]
wrote:

 http://www.joshuasmiller.com/dsn_browser.zip
 
 This uses the Java ServiceFactory to get information about Databases and
 DSN connections. It's geared towards being a little development tool,
 but you can disect it to get the information you need about the DSN
 connections.
 
 Joshua Miller
 Head Programmer / IT Manager
 Garrison Enterprises Inc.
 www.garrisonenterprises.net
 [EMAIL PROTECTED]
 (704) 569-9044 ext. 254
 
 
 *
 Any views expressed in this message are those of the individual sender,
 except where the sender states them to be the views of
 Garrison Enterprises Inc.
 
 This e-mail is intended only for the individual or entity to which it is
 addressed and contains information that is private and confidential. If
 you are not the intended recipient you are hereby notified that any
 dissemination, distribution or copying is strictly prohibited. If you
 have received this e-mail in error please delete it immediately and
 advise us by return e-mail to [EMAIL PROTECTED]
 
 *
 
 
 -Original Message-
 From: Sean A Corfield [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 02, 2003 11:31 PM
 To: CF-Talk
 Subject: Re: CFMX database file
 
 
 neo-query.xml - it's a one-line wddx packet so it's not easily editable
 manually (and be warned that if you introduce any unexpected
 whitespace, CFMX will choke!).
 
 On Thursday, Jan 2, 2003, at 14:37 US/Pacific, Ryan Mitchell wrote:
 
 Hey
 
 Which file holds the info about the databases set up in the CFMX
 administrator?
 
 Ryan Mitchell
 
 e: [EMAIL PROTECTED]
 w: www.rtnetworks.net
 t: 07866569916
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: CFMX database file

2003-01-03 Thread Ryan Mitchell
Where theres a will there's a way!
Thank you very much!
Ryan

On 3/1/03 14:30, Joshua Miller [EMAIL PROTECTED]
wrote:

 http://www1.oli.tudelft.nl/jochemd/index.cfm?PageID=12css=true
 
 There's info on creating a DSN using the ServiceFactory.
 
 Joshua Miller
 Head Programmer / IT Manager
 Garrison Enterprises Inc.
 www.garrisonenterprises.net
 [EMAIL PROTECTED]
 (704) 569-9044 ext. 254
 
 
 *
 Any views expressed in this message are those of the individual sender,
 except where the sender states them to be the views of
 Garrison Enterprises Inc.
 
 This e-mail is intended only for the individual or entity to which it is
 addressed and contains information that is private and confidential. If
 you are not the intended recipient you are hereby notified that any
 dissemination, distribution or copying is strictly prohibited. If you
 have received this e-mail in error please delete it immediately and
 advise us by return e-mail to [EMAIL PROTECTED]
 
 *
 
 
 -Original Message-
 From: Peter Tilbrook [mailto:[EMAIL PROTECTED]]
 Sent: Friday, January 03, 2003 4:46 AM
 To: CF-Talk
 Subject: RE: CFMX database file
 
 
 Security wise no way possible. ColdFusion is good. But not THAT good.
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: Friday, 3 January 2003 8:40 PM
 To: CF-Talk
 Subject: Re: CFMX database file
 
 
 Thanks,
 Anyone know of a script to add dsn's to CFMX outside of the
 administrator? Need a way of doing this without granting administrator
 access! Ryan
 
 On 3/1/03 5:07, Joshua Miller
 [EMAIL PROTECTED]
 wrote:
 
 http://www.joshuasmiller.com/dsn_browser.zip
 
 This uses the Java ServiceFactory to get information about Databases
 and DSN connections. It's geared towards being a little development
 tool, but you can disect it to get the information you need about the
 DSN connections.
 
 Joshua Miller
 Head Programmer / IT Manager
 Garrison Enterprises Inc.
 www.garrisonenterprises.net [EMAIL PROTECTED]
 (704) 569-9044 ext. 254
 
 **
 **
 *
 Any views expressed in this message are those of the individual
 sender,
 except where the sender states them to be the views of
 Garrison Enterprises Inc.
 
 This e-mail is intended only for the individual or entity to which it
 is addressed and contains information that is private and
 confidential. If you are not the intended recipient you are hereby
 notified that any dissemination, distribution or copying is strictly
 prohibited. If you have received this e-mail in error please delete it
 
 immediately and advise us by return e-mail to
 [EMAIL PROTECTED]
 
 
 *
 
 
 -Original Message-
 From: Sean A Corfield [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 02, 2003 11:31 PM
 To: CF-Talk
 Subject: Re: CFMX database file
 
 
 neo-query.xml - it's a one-line wddx packet so it's not easily
 editable manually (and be warned that if you introduce any unexpected
 whitespace, CFMX will choke!).
 
 On Thursday, Jan 2, 2003, at 14:37 US/Pacific, Ryan Mitchell wrote:
 
 Hey
 
 Which file holds the info about the databases set up in the CFMX
 administrator?
 
 Ryan Mitchell
 
 e: [EMAIL PROTECTED]
 w: www.rtnetworks.net
 t: 07866569916
 
 
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

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



Cfscript help

2003-01-02 Thread Ryan Mitchell
Hey

Why does the following cfscript take absolutely AGES to load?

cfscript
while (len(#ref# LT 5)) { insert('0','#ref#',0); }
/cfscript

Ryan

** posted to the cf-linux list by accident -- oops!

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: Cfscript help

2003-01-02 Thread Ryan Mitchell
Brackets were wrong - thanks, but its still times out!
Any other thoughts?
ryan

On 2/1/03 12:12, Mike Townend [EMAIL PROTECTED] wrote:

 Could be the brackets... Try...
 
 cfscript
 while (len(#ref#) LT 5)
 { 
 insert('0','#ref#',0);
 }
 /cfscript
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 2, 2003 12:07
 To: CF-Talk
 Subject: Cfscript help
 
 
 Hey
 
 Why does the following cfscript take absolutely AGES to load?
 
 cfscript
 while (len(#ref# LT 5)) { insert('0','#ref#',0); }
 /cfscript
 
 Ryan
 
 ** posted to the cf-linux list by accident -- oops!
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: Cfscript help

2003-01-02 Thread Ryan Mitchell
Brilliant this worked... thanks, didn¹t realise you needed to assign the
insert, I thought it inserted it without!
Oh well! thanks again!
Ryan

On 2/1/03 12:25, Adam Reynolds [EMAIL PROTECTED] wrote:

 Have you considered that ref does not actually get bigger?
 
 should it not be
 ref = insert('0','#ref#',0);
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: 02 January 2003 12:21
 To: CF-Talk
 Subject: Re: Cfscript help
 
 
 Brackets were wrong - thanks, but its still times out!
 Any other thoughts?
 ryan
 
 On 2/1/03 12:12, Mike Townend [EMAIL PROTECTED] wrote:
 
 Could be the brackets... Try...
 
 cfscript
 while (len(#ref#) LT 5)
 {
 insert('0','#ref#',0);
 }
 /cfscript
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 2, 2003 12:07
 To: CF-Talk
 Subject: Cfscript help
 
 
 Hey
 
 Why does the following cfscript take absolutely AGES to load?
 
 cfscript
 while (len(#ref# LT 5)) { insert('0','#ref#',0); }
 /cfscript
 
 Ryan
 
 ** posted to the cf-linux list by accident -- oops!
 
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



CFMX database file

2003-01-02 Thread Ryan Mitchell
Hey

Which file holds the info about the databases set up in the CFMX
administrator?

Ryan Mitchell

e: [EMAIL PROTECTED]
w: www.rtnetworks.net
t: 07866569916


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Dynamically created form input names

2002-12-29 Thread Ryan Mitchell
Hmm this might be confusing, but ill try my best

I've got a set of form text inputs, the names of which are dynamically
created according to how many of them there are

Eg (abbreviated code)

cfloop list=listname index=index
input type=text name=#variablename##index#
/cfloop

How do I get the action page to know the name of the form field? If I do
#FORM.#variablename##index##
It doenst work!

Any help... Please?

Ryan Mitchell


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Re: Dynamically created form input names

2002-12-29 Thread Ryan Mitchell
That¹s a good start! Thanks!
And I could just leave as is, but out of curiosity...

I have 2 variables being passed FORM.domain and FORM.register.
Register is a list, through which im looping basically to make a combination
of FORM.domain and FORM.register.

How can I put these together to get the form field...

Basically what I want is #form[#FORM.domain##FORM.registerindex#]#

Any thoughts?
Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: Dynamically created form input names

2002-12-29 Thread Ryan Mitchell
Brilliant!!
Thank you so much, this worked perfectly!
Ryan

On 29/12/02 17:47, Scott Brady [EMAIL PROTECTED] wrote:

 Basically what I want is #form[#FORM.domain##FORM.registerindex#]#
 
 This should work:
 
 #Evaluate(FORM.  FORM.domain  FORM.registerindex)#
 
 or, with your notation:
 
 #Evaluate(FORM[  FORM.domain  FORM.registerindex  ])#
 
 Scott
 ---
 Scott Brady
 http://www.scottbrady.net
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Help please!

2002-12-09 Thread Ryan Mitchell
I have the following query

cfpop action=getall name=GetMessages server=#server_ip#
username=#Session.MM_User# password=#Session.MM_Pwd#

And im doing a query of a query in order to order it by latest first

cfquery name=OutputMessages dbtype=query
SELECT * FROM GetMessages
ORDER BY UID DESC
/cfquery

And this worked fine till 10 mins ago, but now I get this error

Query Manipulation Error Code = 0

Invalid SQL

Both when there are messages and when there arent!

Can anyone shed any light on this?
Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



Re: Help please!

2002-12-09 Thread Ryan Mitchell
Do I need to lock them (don¹t know much about this!)?
I've fixed the problem, it was as easy as a space left out.. Oops I should
have checked! thanks anyways.

On another note, how do you return whether the email has an attachment or
not? I've tried using isDefined() and also if attachement is not '' but to
no avail!!

Ryan


On 9/12/02 20:03, Mike Brunt [EMAIL PROTECTED] wrote:

 Ryan a couple of things, are you locking the cfpop code where you are
 reading Session vars or move them to the request scope if you do not want to
 lock them and secondly what do you get if you cfdump the query recordset
 prior to the Query of a Query?
 
 Kind Regards - Mike Brunt, CTO
 Webapper
 Blog http://www.webapper.net
 Web site http://www.webapper.com
 Downey CA Office
 562.243.6255
 AIM - webappermb
 
 Web Application Specialists
 
 
 -Original Message-
 From: Ryan Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: Monday, December 09, 2002 11:44 AM
 To: CF-Talk
 Subject: Help please!
 
 
 I have the following query
 
 cfpop action=getall name=GetMessages server=#server_ip#
 username=#Session.MM_User# password=#Session.MM_Pwd#
 
 And im doing a query of a query in order to order it by latest first
 
 cfquery name=OutputMessages dbtype=query
 SELECT * FROM GetMessages
 ORDER BY UID DESC
 /cfquery
 
 And this worked fine till 10 mins ago, but now I get this error
 
 Query Manipulation Error Code = 0
 
 Invalid SQL
 
 Both when there are messages and when there arent!
 
 Can anyone shed any light on this?
 Ryan
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Cfpop

2002-12-05 Thread Ryan Mitchell
Hey

Is there any way of returning the size of a message using cfpop?
Also is there any way of returning whether the email has an attachment using
the GetHeaderOnly action ? Using the getall action seems over kill for a
simple is there an attachment or not query...

Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Refreshing a cfdirectory list

2002-12-03 Thread Ryan Mitchell
Hello

Im adding an attachment feature to a mail program.

I have a file field to upload the file to a temporary directory, and this
all works, but I need some way to refresh the list of files (multiple
attachments supported) attached preferably without refreshing the page.

Is there any way of doing this?

Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



Parsing for hyperlinks

2002-11-28 Thread Ryan Mitchell
Hello all!

Im looking to parse through a string of text and turn any
http://whatever.com into a
href=http://whatever.com;http://whatever.com/a, if you know what I
mean!!

Are there any ways to do this?

Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: Parsing for hyperlinks

2002-11-28 Thread Ryan Mitchell
This is just what im looking for
Thank you!
Ryan

-Original Message-
From: Gyrus [mailto:[EMAIL PROTECTED]] 
Sent: 28 November 2002 18:16
To: CF-Talk
Subject: Re: Parsing for hyperlinks


- Original Message -
From: Ryan Mitchell [EMAIL PROTECTED]
 Im looking to parse through a string of text and turn any 
 http://whatever.com into a 
 href=http://whatever.com;http://whatever.com/a, if you know what I

 mean!!
---

Try this:

cfscript
string = REReplace(string,
(http://[[:alnum:]]+\.[[:alnum:]:;%-_\.\?/=]+), a
href=\1\1/a, ALL); /cfscript

If your mail client underlines that http:// bit of the regexp, it might
look a little confusing. Then again, it might be really confusing
anyway! That string means:

- Find the characters http://;,
- followed by any number of alphanumeric characters ([[:alnum:]]+),
- followed by a period (\. - the backslash escapes as . means any
character in regexp)
- followed by any number of characters that can be alphanumeric
([:alnum:]), colons or semicolons, percent signs, dashes, underscores
(which might be masked by mail client underlining), periods (escaped),
question marks (escaped), forward slashes, or equals signs (all the
legal URL characters basically).

Then the backreference \1 is used to repeat the matched URL in the
replace string.

HTH,

Gyrus
[EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
PGP key available


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Cfpop - ordering latest first

2002-11-26 Thread Ryan Mitchell
Hello

Im writing a simple mail app, and I'm looking for a way to get cfpop to
list the last message received first.
Im sure theres a simple way to do this that im missing, but for the life
of me I cant find it!

TIA

Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



<    1   2