Re: [cfaussie] email attachments

2010-04-12 Thread Kevin Pepperman
Yes, just add cfmailparam between your cfmail tags with a path to the file. It will attach it to the email. cfmailparam file = #thisFilePath# type=text/plain On Mon, Apr 12, 2010 at 8:01 PM, KNOTT, Brian brian.kn...@suncorp.com.auwrote: attachment -- /Kevin Pepperman They who can give

Re: [cfaussie] email attachments

2010-04-12 Thread Kevin Pepperman
run the cfmail. Is there some reason you cannot write it to the drive than use the path? -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin -- You received this message because you

Re: [cfaussie] email attachments

2010-04-12 Thread Kevin Pepperman
no matter where it resides. addn: Ben Nadels' website never ceases to amaze and amuse me.. his coding style really is what CFML is all about-- simple solutions to everyday problems that everyone can use understand. Ben rocks!. -- /Kevin Pepperman They who can give up essential liberty to obtain

Re: [cfaussie] XML Import not working - can someone see what i've missed please?

2010-02-07 Thread Kevin Pepperman
If I recall The import tag is specific to ColdSpring so it will not work in your own xml files like that. Actually ColdSpring does not really even include them when it uses them, it just reads the files directly and adds it to the internal structures. /Kevin Pepperman -- You received

Re: [cfaussie] XML Import not working - can someone see what i've missed please?

2010-02-07 Thread Kevin Pepperman
coldspring.xml. beans bean id=config class=coldspring.beans.factory.config.MapFactoryBean property name=SourceMap map entry key=dsn valuemydsn/value /entry entry key=dsnAdmin valuemydsnadmin/value /entry /map /property /bean /beans /Kevin Pepperman -- You received this message

Re: [cfaussie] Re: OT : HTML page load tool

2009-11-10 Thread Kevin Pepperman
In addition to all others mentioned-- Google's Page Speed Firebug Plugin also has a 'Show Resources' tab. http://code.google.com/speed/page-speed/ http://code.google.com/speed/page-speed/I don't know what I would do without Firebug. I do know what I would NOT be doing though. -- You

[cfaussie] Re: Sharing CFML code between servers

2009-10-22 Thread Kevin Pepperman
files and a FULL sync every 4 hours with images and media. We also have a cron looking for a file in a remote FTP folder every 30 seconds, and Rsync runs when it finds one. /Kevin Pepperman --~--~-~--~~~---~--~~ You received this message because you are subscribed

[cfaussie] Re: Error : Cannot declare local variable cfcatch twice

2009-08-19 Thread Kevin Pepperman
Sounds like you have used the var cfcatch and declared the var twice. eg cfset var cfcatch = cfset var cfcatch = On Wed, Aug 19, 2009 at 2:56 AM, Brett Payne-Rhodes bret...@gmail.comwrote: Can you provide a code snippet? B) Sanjeev wrote: Hi All, I migrated my CFMX6.1

[cfaussie] Re: XML File/Data Validation

2009-08-19 Thread Kevin Pepperman
will run out soon..maybe then. On Wed, Aug 19, 2009 at 7:41 AM, MrBuzzy mrbu...@gmail.com wrote: I ran this code and it doesn't work. Please fix it and post it back ASAP. I need it, like, yesterday. :P On 8/19/09, Kevin Pepperman chorno...@gmail.com wrote: This is all I can do

[cfaussie] Re: XML File/Data Validation

2009-08-18 Thread Kevin Pepperman
Hello Hitesh. My suggestion is to start small here. You are asking a for heck of a lot of information in 1 email. Without seeing the entire scope of the data and the current situation, you aren't going to get too much help . This email looks more like a job description than a question for a

[cfaussie] Re: XML File/Data Validation

2009-08-18 Thread Kevin Pepperman
This is all I can do with what info I have. I hope this helps. excuse my twisted humor, the pain pills are working well. cfcomponent extends= com.magic.Do.Everything.For.Me.So.I.Dont.Have.To.Google.It cffunction name=init cfargument name=magic / cfargument name=objective / cfset

[cfaussie] Re: XML Import Issue

2009-07-21 Thread Kevin Pepperman
Just regular old structKeyExists should do it for you. if( StructKeyExists(xmlfile.body.GetListItemsResponse.GetListItemsResult.listitems.data.row[a].XmlAttributes, ws_Buildlevel) ) { doSomething(); } On Tue, Jul 21, 2009 at 6:32 PM, KNOTT, Brian brian.kn...@suncorp.com.auwrote: Hi guys.

[cfaussie] Re: Inserting Queries

2009-07-21 Thread Kevin Pepperman
The easiest way would be to loop over the initial query and either make each DB insert a new inline query, or you can make a cffunction that does the insert and call the method from the loop. eg cffunction name=insertIntoTable cfargument name=value1 / cfargument name=value2 / cfquery

[cfaussie] Re: Inserting Queries

2009-07-21 Thread Kevin Pepperman
If your tables have some type of related index you can also use the undocumented JAVA indexOf() method of the query object. Especially if you will need to run these query's often. Ben Nadel has a case study. http://www.bennadel.com/blog/267-Ask-Ben-ColdFusion-Optimization-A-Case-Study.htm Or

[cfaussie] Re: Submit data remotely to Twitter using HTTP POST

2009-07-15 Thread Kevin Pepperman
I know of this component for Twitter. http://code.google.com/p/cftwitterlib/ http://code.google.com/p/cftwitterlib/About your other questions ..I am clueless. I have not used this code yet, But I will have to soon. On Wed, Jul 15, 2009 at 1:57 AM, Hitesh hiteshpatel1...@gmail.com wrote: I

[cfaussie] Re: ColdSpring factory creation

2009-04-30 Thread Kevin Pepperman
It should be a singleton. You do not want to recreate the coldspring factory on every request. If you get a chance check out the Fusebox coldspring lexicon. http://corfield.org/blog/index.cfm/do/blog.entry/entry/Fusebox_5_and_ColdSpring On Thu, Apr 30, 2009 at 10:50 PM, Gavin Baumanis

[cfaussie] Re: Problems Uploading CSV data into SQL table

2009-02-17 Thread Kevin Pepperman
It may be from the consecutive delimiters (,,) CF treats consecutive delimiters as a single character. On Tue, Feb 17, 2009 at 6:51 PM, SAMARIS Software rai...@ozemail.com.auwrote: The following is an extract from a txt / csv file I import into my sql database 095,2 Bdrm S,Clean

[cfaussie] Re: CSS question

2008-12-04 Thread Kevin Pepperman
In a list like this people are looking for different suggestions from diverse groups of people. If a solution exists that is simple, tested, easy to use and implement and quite simply works everywhere a developer should post it. I have seen many posts that have opened my eyes to all the

[cfaussie] Re: CSS question

2008-11-30 Thread Kevin Pepperman
You could try jquery. It can attach a style dynamically. http://jquery.com/ On Sun, Nov 30, 2008 at 8:20 PM, Steve Onnis [EMAIL PROTECTED] wrote: To do that would mean customising the editor for the user which is not an option unfortunately. So the answer to my question is no?

[cfaussie] Re: CSS question

2008-11-30 Thread Kevin Pepperman
:[EMAIL PROTECTED] *On Behalf Of *Kevin Pepperman *Sent:* Monday, 1 December 2008 12:37 PM *To:* cfaussie@googlegroups.com *Subject:* [cfaussie] Re: CSS question You could try jquery. It can attach a style dynamically. http://jquery.com/ On Sun, Nov 30, 2008 at 8:20 PM, Steve Onnis [EMAIL

[cfaussie] Re: OT : Checking SSL website items

2008-10-13 Thread Kevin Pepperman
You may be able to find it with the Firebug plugin in Firefox. It will list all the http requests in a page, even the hard to find ones. On Mon, Oct 13, 2008 at 8:32 AM, Steve Onnis [EMAIL PROTECTED] wrote: Does anyone know of a tool that will report what is causing a site to report that a

[cfaussie] Re: OT : SQL server over a network

2008-10-12 Thread Kevin Pepperman
If you pay taxes... You are paying at least some of it. We are all paying for it. /OT BS On Sun, Oct 12, 2008 at 10:26 PM, Scott Thornton [EMAIL PROTECTED] wrote: SQL server licences cost me nothing. Government contract : Steve Onnis [EMAIL PROTECTED] 13/10/2008 11:41 am just need

[cfaussie] Re: Constant query injection attacks

2008-08-26 Thread Kevin Pepperman
We had the same thing happen on many different apps. I ended up with 1000's of emails. We ended up adding this to our application.cfc in the onrequestStart method. all the hack attempts had declare in them-- so this blocks the request and we dont need to wait till it reaches the cfqueryparam

[cfaussie] Re: Passing HTML Code

2008-08-21 Thread Kevin Pepperman
You can use cfsavecontent cfsavecontent variable=content cfoutput font face=Verdana, Arial, Helvetica, sans-serif size=2 Order number b#url.id#/b is in bFX4YOU system/b and needs to be processed.brbr Email sent #timeformat(now(),'h:m tt')#nbsp;#dateformat(now(),'d mmm ')#brbr Thank

[cfaussie] Re: Passing HTML Code

2008-08-21 Thread Kevin Pepperman
also. There are mailer.cfc components already built. I use this one from Sebtools. http://www.bryantwebconsulting.com/blog/index.cfm/2006/10/11/mailercfc_10 I hope that helps. On Thu, Aug 21, 2008 at 3:12 AM, Kevin Pepperman [EMAIL PROTECTED]wrote: You can use cfsavecontent

[cfaussie] Re: variable name confusion

2008-05-23 Thread Kevin Pepperman
You should also check to make sure the key exists in the cookie jar before attempting to read it. cfif StructKeyExists(COOKIE,appname_#pagename#) --read cookie or run some code-- cfelse --redirect or run some other code-- /cfif On Fri, May 23, 2008 at 9:44 AM, Mark Ireland [EMAIL

[cfaussie] Re: variable name confusion

2008-05-22 Thread Kevin Pepperman
The variable you are using cfset cname=appname_ pagename when looking a the cookie dump: cfdump var=#COOKIE# is producing a cookie named appname_pagename If thats what you intended then you could read the cookie like this cfset cookieVal = COOKIE.appname_pagename or cfset cookieVal =

[cfaussie] Re: variable name confusion

2008-05-22 Thread Kevin Pepperman
= COOKIE[appname_#pagename#] I was unaware of this syntax. (Does my newbie status show?) Thanks heaps. On May 23, 2:06 pm, Kevin Pepperman [EMAIL PROTECTED] wrote: The variable you are using cfset cname=appname_ pagename when looking a the cookie dump: cfdump var=#COOKIE

[cfaussie] Re: frustrated CF newbie

2008-04-14 Thread Kevin Pepperman
I have several FB 3 apps running on some rather old P3 CF5 / Linux machines. They see moderate traffic and some heavy peak activity. When they were first set up, they saw very little traffic and never had any issues. After several months the traffic picked up on a couple of the sites ,and we saw