RE: I have a new email address!
Ok, this is getting annoying... John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, July 12, 2004 10:00 AM To: CF-Talk Subject: I have a new email address! Hey, You know who this is, ha ha if you emailed me then you must be dumb, because i got a new email address. Dont worry if I dont like you I already blocked your ip from my email list, blocked your address from my email address, but if you get this then I must like you. I got a new address. [EMAIL PROTECTED] Dont forget dat shit because im not telling you again! If you are emailing me for business then email me at my business address [EMAIL PROTECTED] if you email me a personal email to my business email then I will fuckin block your address from both servers stoping your emails permanatly because I dont have time to sort personal from business thats why they are seperated! Remember Business: [EMAIL PROTECTED] Personal: [EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: I have a new email address! [no more flames please.]
1980 here. John -Original Message- From: Joe Rinehart [mailto:[EMAIL PROTECTED] Sent: Monday, July 12, 2004 9:50 AM To: CF-Talk Subject: Re: I have a new email address! [no more flames please.] Hey now, I was born in 1979, and I'd like to consider myself a productive member of our little CF community. -joe - Original Message - From: Alexander Sherwood <[EMAIL PROTECTED]> Date: Mon, 12 Jul 2004 09:30:56 -0400 Subject: Re: I have a new email address! [no more flames please.] To: CF-Talk <[EMAIL PROTECTED]> At 08:09 AM 7/12/2004, you wrote: >[EMAIL PROTECTED] wrote: > >> Hey, You know who this is, ha ha if you emailed me then you must be >> dumb, because i got a new email address. Dont worry if I dont like >> you I already blocked your ip from my email list, blocked your >> address >> from my email address, but if you get this then I must like you. I >> got a new address. >> [EMAIL PROTECTED] >> > >What a numbskull. No wonder "Life sucks dont it, im back and im >staying, I got layed off my job so Im looking for another one", but >enough of the flames folks Lets not reduce the list to his level, >no matter how hillarious he is. ;) What a douche bag! Incorrect spelling on a business web site? Nice. This kid was born in 1979, what would you expect? -- True [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: multi-part emails?
Cool, thanks. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 4:28 PM To: CF-Talk Subject: RE: multi-part emails? > Does anyone have a good _simple_ resource for how to create > multi-part email messages using CFMAIL? Or is that even > possible? I know type can be plain or HTML, but I'm not sure > how to create a multi-part email where it will display HTML > if the client can read it and plain text if the client can not. > Any help would be greatly appreciated. If you're using CFMX 6.1, you can use the CFMAILPART tag to have HTML and text within a single message. I'm pretty sure that the client will show the plaintext CFMAILPART if it doesn't understand HTML. If you're using CF 5 or earlier versions, there are custom tags to help construct multipart messages. I believe Jochem's site has one. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
multi-part emails?
Does anyone have a good _simple_ resource for how to create multi-part email messages using CFMAIL? Or is that even possible? I know type can be plain or HTML, but I'm not sure how to create a multi-part email where it will display HTML if the client can read it and plain text if the client can not. Any help would be greatly appreciated. John Burns [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CF and AS400
At my previous job, we had an AS/400 Datasource that allowed us to query from the AS/400 just like a SQL database. I'm not 100% sure of the back-end setup, but I know that a user was created on the AS/400 and given proper permissions and then in the CF Administrator, we just entered the name of the AS/400 server, the username and password to connect with and then it was all set up. It seemed to be a pretty simple process. Then it's just a matter of knowing the database schema and all of that (which seems to be the more painful piece of the puzzle). John Burns -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 8:42 AM To: CF-Talk Subject: CF and AS400 Anyone had experience with building a CF app that ties into an AS400? Wondering if anyone knows of any resources, articles or books that cover this topic. Thanks! Stace AVIS IMPORTANT: --- Les informations contenues dans le present document et ses pieces jointes sont strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en faire de copie sous quelque forme. WARNING: --- The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information is strictly prohibited. If you have received this document by mistake, please notify the sender immediately and destroy this document and attachments without making any copy of any kind. _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Convert file to PostScript file on server?
This seems like an OK solution being that it runs on linux as well, but you have to email the item to this software for it to convert? That seems a little time consuming. I'd like to be able to do it straight from CFEXECUTE and then give the user their PDF File. Any other ideas? Or is it possible to leverage the office2pdf software from a command prompt rather than through email? John Burns -Original Message- From: Thomas Chiverton [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 9:21 AM To: CF-Talk Subject: Re: Convert file to PostScript file on server? On Thursday 11 Dec 2003 14:14 pm, John Burns wrote: > Yeah, Adobe offers something through their site, but I'm not sure you > can automate conversion from a script. Since I already have Acrobat, http://www.office2pdf.lll.lu/ Will let you though :-) :pats Google, with their shiney new results pages. -- Tom Chiverton Advanced ColdFusion Programmer Tel: +44(0)1749 834997 email: [EMAIL PROTECTED] BlueFinger Limited Underwood Business Park Wookey Hole Road, WELLS. BA5 1AF Tel: +44 (0)1749 834900 Fax: +44 (0)1749 834901 web: www.bluefinger.com Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, BRISTOL. BS1 6EG. *** This E-mail contains confidential information for the addressee only. If you are not the intended recipient, please notify us immediately. You should not use, disclose, distribute or copy this communication if received in error. No binding contract will result from this e-mail until such time as a written document is signed on behalf of the company. BlueFinger Limited cannot accept responsibility for the completeness or accuracy of this message as it has been transmitted over public networks.*** _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Convert file to PostScript file on server?
Yeah, Adobe offers something through their site, but I'm not sure you can automate conversion from a script. Since I already have Acrobat, I'd like to see if I can use that to convert automatically. The Acrobat SDK has a lot of info in it. I'm sure that I'm just scratching the surface, but it actually seems to be pretty robust. I'm just not too sure on how to do some of the stuff. John -Original Message- From: Thomas Chiverton [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 9:03 AM To: CF-Talk Subject: Re: Convert file to PostScript file on server? On Thursday 11 Dec 2003 13:58 pm, John Burns wrote: > Or, if anyone knows of a free way to allow Office document conversion to > PDF without a lot of problems _or cost_ let me know. Preferably, I'd > like the solution to work on Linux servers with MX 6.1. Thanks. There are several *2ps programs out there, but I don't know of a doc2ps of the top of my head. You may be able to do something with OpenOffice. Is there still an online service at Adobe to turn anything into a pdf ? Then you just pipe to pdf2ps|lp ... -- Tom Chiverton Advanced ColdFusion Programmer Tel: +44(0)1749 834997 email: [EMAIL PROTECTED] BlueFinger Limited Underwood Business Park Wookey Hole Road, WELLS. BA5 1AF Tel: +44 (0)1749 834900 Fax: +44 (0)1749 834901 web: www.bluefinger.com Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, BRISTOL. BS1 6EG. *** This E-mail contains confidential information for the addressee only. If you are not the intended recipient, please notify us immediately. You should not use, disclose, distribute or copy this communication if received in error. No binding contract will result from this e-mail until such time as a written document is signed on behalf of the company. BlueFinger Limited cannot accept responsibility for the completeness or accuracy of this message as it has been transmitted over public networks.*** _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Convert file to PostScript file on server?
I'm looking at the Adobe Acrobat (Distiller) SDK documentation and it has some command prompt utilities for converting a .ps to .pdf automatically. I'm curious if anyone knows of some way from CF to read in a file and "print" it to a .ps so that I could then send that .ps into the Acrobat command-prompt function and create a PDF on the fly. Or, if anyone knows of a free way to allow Office document conversion to PDF without a lot of problems _or cost_ let me know. Preferably, I'd like the solution to work on Linux servers with MX 6.1. Thanks. John Burns [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Best practice for creating vars
Good call marlon, much easier. John -Original Message- From: Marlon Moyer [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 4:28 PM To: CF-Talk Subject: Re: Best practice for creating vars marlon Spectrum WebDesign wrote: > Hi all > > today i'm using this script to check and create our form vars: > > > > > > > > > -- marlon [EMAIL PROTECTED] _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Best practice for creating vars
I think that would work, or something to that effect -Original Message- From: Spectrum WebDesign [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 4:22 PM To: CF-Talk Subject: Best practice for creating vars Hi all today i'm using this script to check and create our form vars: Do you have other(more fast, quickly, dynamic or best programming) to do that? Maybe inside a loop? Works??? Thanx in advance -- ___ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Application variables between two applications
I would guess this is the reason for naming the application so that you _cannot_ access the variables from other applications. Imagine if you stored sensitive data in one application and it was somehow available within another application. (Especially in a shared hosting environment) I'm curious, however, what would happen if you had an application.cfm in the webroot that grabbed all of the information that you needed for any of your applications underneath that root. Then, I believe, they would all automatically inherit those application variables. Anyone have more insight on the workings of application.cfm in multiple directories? Example: WEBROOT -application.cfm |_ APPLICATION 1 | -application.cfm |_ APPLICATION 2 | -application.cfm John Burns -Original Message- From: Ricky Fritzsching [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 12:27 PM To: CF-Talk Subject: RE: Application variables between two applications I have all the business logic in CFC's, but I am using many objects for these CFC's that pull the data in the application scope. For example, in my admin application I am using this to refresh my data set once the data has been manipulated. application.oPartnerCollection.Select_Corps(oPartner.Partner_ID,"0","true"); Now, how could I call this same object from the differenct application? You would think since it is in memory, there has to be way that I can retreive it. Thx so far - your making think about ways that I can correct this in the future. Ricky _ From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 11:00 AM To: CF-Talk Subject: RE: Application variables between two applications > The admin tool is for the other website. So in a nutshell, > are you suggesting that I just rename the application name in > the other website to match name of the application in the admin? > No, not if the applications aren't truly the same. > Server variables - hmm...that might be a thought. > Just be aware that other apps on the box will also have access to the data. Really only an issue if you are on a shared machine. > I would prefer to keep them in the app scope, but if I have > to use the server scope that is ok. You can consider using CFCs as well. App1 would ping App2's CFC and request the data from it. _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: isXMLDOC
Maybe you're not a human after all. Sorry, I don't have any insight into the problem, just decided to be silly. John -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 11:14 AM To: CF-Talk Subject: isXMLDOC what kind of xml document does this function have to see to return a 1? 1 shouldn't something that simple work? ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: ImageMagick response parser
Ahhh,, good idea, thanks :-) John -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Saturday, December 06, 2003 10:31 AM To: CF-Talk Subject: Re: ImageMagick response parser John Burns wrote: > Does anyone have a script or something for parsing the response from > ImageMagick's identify.exe? > > For example: > C:\testImage.jpg JPEG 1342x2000+0+0 DirectClass 8-bit 194.5kb 0.000u > 0:01 > > I'm hesitant to do a list based on the spaces only because of the chance > that there may be a space in the file name or path to the file name. Use a list based on the spaces, but count down instead of up. Jochem -- When you don't want to be surprised by the revolution organize one yourself - Loesje _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CFEXECUTE?
Does cfexecute make a call to the file you specify and the move on to the next part of the script or does it wait for that script to complete? Is there any way to force it to complete before moving to the next line in CF? I'm using ImageMagick and I'm wanting to make sure that it's done with processing the image resize before I go further because then I want to display the new image. So far, it seems like CF is outrunning ImageMagick and it displays an X for the image because it doesn't exist, but I see the file show up in the directory about a second later. So, it just seems like I need some kind of delay or something. Any ideas? John Burns [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
ImageMagick response parser
Does anyone have a script or something for parsing the response from ImageMagick's identify.exe? For example: C:\testImage.jpg JPEG 1342x2000+0+0 DirectClass 8-bit 194.5kb 0.000u 0:01 I'm hesitant to do a list based on the spaces only because of the chance that there may be a space in the file name or path to the file name. Any help or thoughts would be appreciated. John [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: cfmail pre-formatting
Well basically, I think what's happening is that in your code, you have a return on the line and then a CFIF and then another return. Those returns are going to be there whether the cfif's evaluate as true or not. I don't know any way that you could possible strip out the "unwanted" returns because there is nothing to differentiate between the wanted and unwanted. They're not being generated from CF, you just have them in your code. Understand what I'm saying? You could possibly do some find and replace on the newline/return character, but I'm not sure how you'd do it since you want some of the returns, but not all of them. John Burns -Original Message- From: cf coder [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 10:34 AM To: CF-Talk Subject: Re:cfmail pre-formatting Sorry guys, does not work. I tried what you suggested John, but the email genereated displays everythign in one line and it does'nt seem to be a elegant solution because I have more than 50 cfif conditions >Are you sending TYPE="HTML" or not? I know I've had some problems in the >past with plain text emailing in CF. > > > >I think what you need to do is put everything on one line like this and >inside your CFIF, put a linebreak character (I think it's CHR(13)) > > > > >port="25" subject="Order"> > > > >Any Comments=#AnyComments##chr(13)#Shopping >Basket=#shoppingBasket##chr(13)#User >Name=#username# > > > > > > > >Let me know if that works for ya. > > > >John Burns > >-Original Message- >From: cf coder [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 04, 2003 9:09 AM >To: CF-Talk >Subject: Re:cfmail pre-formatting > > > >I've tried that, it doesn't get rid of the line break > >>have you tried inside to prevent any >>extraneous stuff? >> >>...tony >> >>tony weeg >>senior web applications architect >>navtrak, inc. >>www.navtrak.net >>[EMAIL PROTECTED] >>410.548.2337 >> >>-Original Message- >>From: cf coder [mailto:[EMAIL PROTECTED] >>Sent: Thursday, December 04, 2003 9:10 AM >>To: CF-Talk >>Subject: cfmail pre-formatting >> >>Hello everybody, >> >>I have a problem formatting the contents within the body of cfmail. In my >>cfmail body I have a number of cfif conditions to check if the user has >>entered any value to form fields. >>Here is my code: >> >>server="someserver" port="25" subject="Order"> >> >>Any Comments=#AnyComments# >>Shopping >>Basket=#shoppingBasket# >>User Name=#username# >> >> >> >>So if someone left the shoppingBasket form field empty, the email >genereated >>leaves a space in its place >> >>Sample output: >> >>Any Comments=test Comments >> >>testUserName >> >>I don't want to display the line break, I don't understand why cfmail >>genereated the line break. Can somebody show me how to get round this >>annoying problem >> >>Best Regards >>CF Coder >> >>__ >>Do you Yahoo!? >>Free Pop-Up Blocker - Get it now >>http://companion.yahoo.com/ >> > > _ > > _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: cfmail pre-formatting
Are you sending TYPE="HTML" or not? I know I've had some problems in the past with plain text emailing in CF. I think what you need to do is put everything on one line like this and inside your CFIF, put a linebreak character (I think it's CHR(13)) port="25" subject="Order"> Any Comments=#AnyComments##chr(13)#Shopping Basket=#shoppingBasket##chr(13)#User Name=#username# Let me know if that works for ya. John Burns -Original Message- From: cf coder [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 9:09 AM To: CF-Talk Subject: Re:cfmail pre-formatting I've tried that, it doesn't get rid of the line break >have you tried inside to prevent any >extraneous stuff? > >...tony > >tony weeg >senior web applications architect >navtrak, inc. >www.navtrak.net >[EMAIL PROTECTED] >410.548.2337 > >-Original Message- >From: cf coder [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 04, 2003 9:10 AM >To: CF-Talk >Subject: cfmail pre-formatting > >Hello everybody, > >I have a problem formatting the contents within the body of cfmail. In my >cfmail body I have a number of cfif conditions to check if the user has >entered any value to form fields. >Here is my code: > >server="someserver" port="25" subject="Order"> > >Any Comments=#AnyComments# >Shopping >Basket=#shoppingBasket# >User Name=#username# > > > >So if someone left the shoppingBasket form field empty, the email genereated >leaves a space in its place > >Sample output: > >Any Comments=test Comments > >testUserName > >I don't want to display the line break, I don't understand why cfmail >genereated the line break. Can somebody show me how to get round this >annoying problem > >Best Regards >CF Coder > >__ >Do you Yahoo!? >Free Pop-Up Blocker - Get it now >http://companion.yahoo.com/ > _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Simple Expression Question
Just FYI, I believe you'd have to do right(form.fileURL,4) neq ".gif" I noticed the NOTE, but just wanted to help whoever asked the question. John -Original Message- From: Jerry Johnson [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 10:52 AM To: CF-Talk Subject: Re: Simple _expression_ Question Here are three ways to accomplish this. (Exact match on last 4 chars) (sloppy match seeing if .gif is anywhere in string) (regular _expression_ looking for anything ending in .gif) NOTE: none were tested so syntax errors likely Jerry Johnson >>> [EMAIL PROTECTED] 12/04/03 10:38AM >>> I'm want to write this _expression_: I know that the NOT LIKE is not used in CFMX. What's the right way to write this? Thanks, Mark _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: ImageMagick from CF on Linux??
But, if I do a simple arguments="/home/serve/truth/testImage.jpg /home/serve/truth/thumbnail.jpg" , shouldn't that just open the testImage.jpg file and then create the thumbnail.jpg file? That won't work either. I'm wondering if it has anything to do with permissions or something like that. I'm not too familiar with the Linux OS so I'm kinda lost there. John Burns -Original Message- From: Tim Blair [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 10:25 AM To: CF-Talk Subject: RE: ImageMagick from CF on Linux?? > Here's the Linux code: > > > arguments="/home/serve/truth/testImage.jpg -geometry > ""140x140+0+0"" -quality 80 +profile * > /home/serve/truth/thumbnail.jpg"> Try adding the -size argument as well as geometry (the values should be the same for both -size and -geometry). I seem to remember that I needed both... Tim. --- RAWNET LTD - Internet, New Media and ebusiness Gurus. Visit our new website at http://www.rawnet.com for more information about our company, or call us free anytime on 0800 294 24 24. --- Tim Blair Web Application Engineer, Rawnet Limited Direct Phone : +44 (0) 1344 393 441 Switchboard : +44 (0) 1344 393 040 --- This message may contain information which is legally privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any unauthorised disclosure, copying, distribution or use of this information is strictly prohibited. Such notification notwithstanding, any comments, opinions, information or conclusions expressed in this message are those of the originator, not of rawnet limited, unless otherwise explicitly and independently indicated by an authorised representative of rawnet limited. --- _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
ImageMagick from CF on Linux??
Ok, my host just installed ImageMagick for me on the servers. I can make a CFEXECUTE call to the convert function of ImageMagick and I get no errors, but I have it set to output a file and the file is not showing up. I tried the exact same piece of code on my Windows testing server and it works (I just changed the paths to be linux paths). Any ideas on what the problem might be? Here's the windows code: arguments="C:\testImage.jpg -geometry ""140x140+0+0"" -quality 80 +profile * C:\thumbnail.jpg"> Here's the Linux code: arguments="/home/serve/truth/testImage.jpg -geometry ""140x140+0+0"" -quality 80 +profile * /home/serve/truth/thumbnail.jpg"> I've even tried stripping it down to the simplest form I could come up with, just to open the image and create a new image that's exactly the same: arguments="/home/serve/truth/testImage.jpg /home/serve/truth/thumbnail.jpg"> Does anyone have any input for me? Also, as a side question, if there any way in CF to find out what the did when using ImageMagick. Is there anything returned to me from the ImageMagick functions? Any help would be great! John Burns [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Iteration variables
Probably a list or array would be easiest. (If I understand correctly) Just look for the value in the nth place in the list/array. John Burns -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 12:59 PM To: CF-Talk Subject: Iteration variables hello I'm writing a recursive function, and I need to hold variables relative to each iteration of the function... Which may have been changed further on down/up the line by another calling of the function So I need to hold values for each iteration How do you do this?! TIA, Ryan _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
suggestion for anyone with questions
A lot of times, the questions people ask can be solved with a simple dump of the object they're working with. I know this may be elementary to some, but for anyone new, or anyone who hasn't thought about this, try using and dump the object you're working with. For instance, if you're working with a query named "getRecords", try . Or, if you do CFDIRECTORY and have the results returned in a variable named "getDirectoryList", try . There's lots of other things you can dump if you figure out the objects or scope. That's helped me a ton just by figuring out exactly what data CF has stored in that object or variable. Then, I can filter or manipulate as needed. I hope that helps someone out there. Anyone who can add to what I've mentioned, feel free, I'd love to hear other useful tips. John Burns [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: The Last Space.
You could strip out the first 25 characters and do a reverse on the resulting string and then just do a find for the first space. Then subtract that number from the 25 (or the variable you use) and get the location of the white space. You may have to add or subtract 1 to account for the reversal and such, but it would be consistant. John Burns -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2003 1:03 PM To: CF-Talk Subject: The Last Space. Anybody know a trick (regex or otherwise) to find the position of the last white space character before an arbitrary limit? In the following example, I want the position of the last white space before the 25th character. "The quick brown fox jumped over a lazy dog." So I would want the position of the white space after 'fox', which is the 20th character. This is the last white space before the 25th character with is the 'e' in 'jumped'. Allowing me to break the string into: "The quick brown fox " "jumped over a lazy dog." I don't think this should be that hard, but for some reason, it has given me lots of trouble. Thanks -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Resize Image ?
ImageMagick can be used and you could resize the images dynamically. It seems kind of silly to resize the images dynamically each time and display them. That's a lot of processing power rather than just making a thumbnail of all of them in a batch or something and then just resizing the new ones on the fly and saving them to the server. John -Original Message- From: Bailey, Neal [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 3:35 PM To: CF-Talk Subject: RE: Resize Image ? Yeah this is what I'm looking for... ...Still looking... - Neal Bailey -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 2:23 PM To: CF-Talk Subject: RE: Resize Image ? isnt there some java image manipulation technique you could use to perform this operation on the thumbnails? ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 3:19 PM To: CF-Talk Subject: RE: Resize Image ? if you give them correct porportions they shouldnt heres a simple one i did http://www.theholegang.com/ other than ppl uploading diffent sized images its ok well at least to me, but im blonde too > Yes I know, this is what I am doing now... But it looses quality and > becomes jagged. Not really noticeable on higher res monitors but > unfortunate our users are on lower res systems and are complaining > about the image quality. > > What I have is about 5000 mug shots of people that I am displaying on > my page one at the normal size which looks fine and one as a thumbnail > which looks crappy. > > I was hoping that there was some type of _javascript_ that would > process the image on load before the web browser messed it up. > > - Neal Bailey > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 25, 2003 2:02 PM > To: CF-Talk > Subject: Re: Resize Image ? > > its simple, just make your image place holder the size u want the > image to be, i do that instead of thumbnails all the time ;) > > > >> Hey guys, >> >> Is there a way to resize an image to be smaller with out it loosing >> quality and becoming jagged? Meaning if I have an image that is >> 120x120px and I want to resize it to 100x100px without loading two >> different images. Does this make sense... >> >> I want to use just one image but I need to show it into two places >> one being a little smaller. >> >> Thanks, >> - Neal Bailey >> >> >> > _ > > > _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Resize Image ?
Can you load .gif files into flash? I thought it was just JPEG? John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 3:33 PM To: CF-Talk Subject: RE: Resize Image ? ok screw it, do it in flash with a coldfusion back end like my gfs site http://www.4best-friends.com/ go to photo page, actually that was easier to do with flash & cfm then it is doing it in just cfm > if you give them correct porportions they shouldnt > heres a simple one i did http://www.theholegang.com/ > other than ppl uploading diffent sized images its ok > well at least to me, but im blonde too > > > >> >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, November 25, 2003 2:02 PM >> To: CF-Talk >> Subject: Re: Resize Image ? >> >> its simple, just make your image place holder the size u want the >> image to be, i do that instead of thumbnails all the time ;) >> >> >> >>> Hey guys, >>> >>> Is there a way to resize an image to be smaller with out it loosing >>> quality and becoming jagged? Meaning if I have an image that is >>> 120x120px and I want to resize it to 100x100px without loading two >>> different images. Does this make sense... >>> >>> I want to use just one image but I need to show it into two places >>> one being a little smaller. >>> >>> Thanks, >>> - Neal Bailey >>> >>> >>> >> _ >> >> >> > _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFLogin
No, where's the wish-list "thing-a-ma-bob" (sounds like that should be a code name for a new Macromedia project) ? John Burns -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 10:13 AM To: CF-Talk Subject: RE: CFLogin I agree with this - have you used the macromedia wish form thing-a-ma-bob to request it? Other things missing - getAllRoles() - would return all assigned roles for the current user. isAuthenticated() - this is easy to write though - you just return true if getAuthUser() neq "" HOWEVER - there is an funny bug with isAuthenticated(). Back in the old days, when CF had Advanced Security, isAuthenticated() was the function that told you if the current user was logged on. When MACR removed Advanced Security, they didn't just remove the functions, they actually left "hooks" in there. So even if you write your own UDF for isAuthenticated(), you will get an error saying it doesn't exist. Solution? Just use a different name, like isLoggedIn() or something else like that. _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Source Control: everyone uses it, right?
At a previous job I had we used Microsoft's SourceSafe, but I found it more cumbersome that it was worth. Currently we don't use source control, we just have copies of the files on our client machines (which we use as our development environments) and then once we test everything, we upload it to the production server. I just don't personally see much of a use to keep every little change you made in a document. I don't find it very often that I have to roll back and application to a point where I can't just re-code it in a few minutes. If it's a major change, then I definitely make backups before applying the change.that's just me though. I guess it depends on your personality. John Burns -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 9:59 AM To: CF-Talk Subject: RE: Source Control: everyone uses it, right? we don't use it. formally. we have dev boxes, and production boxes. 1. develop 2. test 3. backup production code 4. upload new code 5. test new code 6. run with it or recover if not good ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Daryl Walsh [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 8:55 AM To: CF-Talk Subject: Source Control: everyone uses it, right? Anyone not use source control? Would you hire a web development shop to work on a project if they routinely did not use source control but relied on the developers to maintain informal source control? _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFLogin
My only problem with CFLOGIN is that you can't query out who is currently logged in. It seems like if you need this feature, you may as well store the sessions in a table and just store a sessionID cookie (or use a session) to associate the user with the row in the table. I just like to have a little more control and options than what CFLOGIN gives you. Granted, it makes it very easy for simple login, logout and rights and roles checks, but it doesn't give me everything I need. John Burns -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 9:56 AM To: CF-Talk Subject: RE: CFLogin There is always a fine line between doing too little and doing too much. I think cflogin hits the sweet spot myself. By NOT forcing you to use a db, it allows you to easily switch your authentication methods without having to update your entire site. Also do not forget that the security system can be tied to CFCs as well with the use of the roles attribute. _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Ordering a QofQ
This probably has to do with the data type of the field that you're working with. For instance, if price is a text field because you're storing $123.43 instead of a numeric field and just storing 123.43 it would sort alphabetically instead of numerically. You could probably convert the field value to a numeric value in your first query using CAST or INT and that would return it as numeric. Then your sort should work. It's been a while since I've done that, but I think it would work. John Burns -Original Message- From: Brad Roberts [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 12:38 PM To: CF-Talk Subject: Ordering a QofQ I'm building a query dynamically, and then trying to sort it on a numeric column, but it only wants to sort alphabetically. Anyone experience this, or know what I need to do to sort numerically? select * from qResults order by hasPhoto DESC, price DESC -Brad _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Installing ImageMagick
Does anyone know of any instructions for installing ImageMagick for CF? I'm new to using external libraries and the only one I've installed before is ImageJ which came with CF instructions. If someone could let me know what I need to do (if anything) for CF to see the ImageMagick install and then how I would access ImageMagick via CF 5. I'm waiting on my host for CFMX. They say they already have imageMagick installed on their servers, I'm just not sure if it needs to be "installed" into CF or if I can reference it from where it already is. Any information would be helpful. Thanks! John Burns [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Users logged in using CFLOGIN
Is there some kind of an object that can be returned to show all users who are currently logged into a given application that uses CFLOGIN? John Burns [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Dynamic image resizing etc.
Do you have any information on imagemagick? Are there any CFC wrappers for it? John Burns -Original Message- From: Nathan Strutz [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 2:45 PM To: CF-Talk Subject: RE: Dynamic image resizing etc. Perhaps if ImageJ had a bicubic resizing option, it would be fine. But since not, I have had luck doing a few different things. 1. Blur your image before resizing. The thumbnailed image comes out about 97% as good as a bicubic resizing option, good enough for most. Typically if the image is larger than 5x your thumbnail, you may need to blur it twice before resizing. 2. Use imagemagick. It's a good program and works really well. This is what I ended up doing. -nathan strutz -Original Message- From: John Burns [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 10:12 AM To: CF-Talk Subject: Dynamic image resizing etc. I've implemented a CFC that uses ImageJ Java classes to resize, rotate, add text, etc. to images. For the most part, I'm fairly happy, but the images seem to come out a little bit distorted and not quite as clean as I'd like. Does anyone know of a better set of classes (preferably with a CFC wrapper) that can accomplish these same functions with a better quality outcome? Any information would be extremely helpful! FYI: I'm working with CFMX on Linux with Apache. John Burns _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Dynamic image resizing etc.
I've implemented a CFC that uses ImageJ Java classes to resize, rotate, add text, etc. to images. For the most part, I'm fairly happy, but the images seem to come out a little bit distorted and not quite as clean as I'd like. Does anyone know of a better set of classes (preferably with a CFC wrapper) that can accomplish these same functions with a better quality outcome? Any information would be extremely helpful! FYI: I'm working with CFMX on Linux with Apache. John Burns [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: separating alpha groups in query results
Check the first letter of the variable you're outputting and store it into a temporary variable. On the next time through, check the first letter against that temporary variable and if they don't match, put a blank line before outputting the info from the query. John Burns -Original Message- From: DougF [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2003 1:34 PM To: CF-Talk Subject: separating alpha groups in query results Want to insert a blank line separator at the start of each new alpha letter group in a looped display query result. Any suggestions? DougF - Example: Ajo Amado Apache Junction Arizona City Ash Fork Benson Bisbee Black Canyon City Camp Creek Cottonwood -- _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Users want to format text
While on this question. has anyone seen anything that allows you to format text with style sheets? For instance, a user highlights some text and instead of changing the font and size, you give them a list of the styles that they can use so that the text matches the styles on the rest of your pages? John Burns -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2003 12:54 PM To: CF-Talk Subject: RE: Users want to format text im sure u could if not what u could do is have it as a pop up, fill it in hit the show html button and copy & paste it in or if you know enough flash just use it as the text field pretty easy too do. just make the form in flash and call the cfm insert page to do the insert > Is this a replacement for a textarea? Will it post along with a form > submission? I don't see any docs of that nature... > > >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >> Sent: Thursday, November 13, 2003 6:39 PM >> To: CF-Talk >> Subject: RE: Users want to format text >> >> >> why dont u do it in flash? >> or use a flash editor and i hope he could copy and paste it >> into the right place this one is fantastic >> http://www.joshdura.com/archives/000163.php >> >> >> >> >> >> >> >> >> > I'm having the same problem. One mac user (the site >> owner). I think >> > everyone else uses Windows. >> > >> > My biggest problem is that the editors are using a number >> of different >> > versions of MS Word to write up their content. Some >> versions convert >> > just fine (using FCKEditor - windows only) while others leave bad >> markup and unprintable characters. >> > >> > Of course, we can't expect the end users to be careful :-) >> > >> > I'm looking at soEditor Pro 2.5 - has anyone used this with >> multiple >> > versions of MS Word? I know it won't work for the Mac user >> - he's ok >> > with that, but the MS Word support has to be top notch. >> > >> >> >> > Why can't they just learn a little HTML! Hehe >> > >> > >> > >> >> -Original Message- >> >> From: Janine Jakim [mailto:[EMAIL PROTECTED] >> >> Sent: Thursday, November 13, 2003 12:58 PM >> >> To: CF-Talk >> >> Subject: RE: Users want to format text >> >> >> >> >> >> Would be perfect if 90% of my users were not Mac users! >> >> Any good cross platform ones? >> >> >> >> -Original Message- >> >> From: Mickael [mailto:[EMAIL PROTECTED] >> >> Sent: Thursday, November 13, 2003 12:42 PM >> >> To: CF-Talk >> >> Subject: Re: Users want to format text >> >> >> >> >> >> Use HTMLEdit from http://www.interactivetools.com >> >> >> >> >> >> Easy use >> >> - Original >> >> Message - >> >> From: Janine Jakim >> >> To: CF-Talk >> >> Sent: Thursday, November 13, 2003 12:30 PM >> >> Subject: Users want to format text >> >> >> >> Have an application with a bunch of input boxes. The >> users want to >> >> be able >> >> to do snazzy things as if it's a word document- underline, bold, >> >> change font >> >> size and/or type for certain parts. >> >> Is this possible? >> >> They then want to output it to a word doc. (I do know that's >> >> doable) Thanks, >> >> J >> >> >> >> >> >> _ >> >> >> >> >> >> >> > >> > _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE:
I would imagine you could do a query of a query on the object that is returned by cfftp and order it by whatever you wanted. John Burns -Original Message- From: Bushy [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2003 12:47 PM To: CF-Talk Subject: re: How can I sort the directories/files of my output with the directories being listed first and then files using _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Question from a beginner
You use a increment if a hike falls within that group.. This should give you values for your groups at the end for how many hikes fell into that group. Since CFIF evaluates in order, just see if the hike is less than that amount and if so, it falls into that group. Use hikeGrouping to set the size of the groups. Then, later, when you climb Everest, you can change it to 1000 so you don't have too many pie pieces. John Burns -Original Message- From: John Munyan [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2003 11:51 AM To: CF-Talk Subject: RE: Question from a beginner The link is http://www.attrition.ws/hike.cfm (click piechart). Basically the hikechart.cfm page takes in a url variable from 1-6 to set some values and based on the input populates the #chartme# variable to build the query. I am using mssql for this. I am trying to take into consideration the discreet values for Elevation, Time, and distance so the count value from the sql query would be categorized. Currently each discreet value is charted. See how many values there are for elevation? http://www.attrition.ws/hikechart.cfm?Chart=6 &Totpics=12&Columns=3&Condi tion=&UrlValue= When drilling into the chart I pass back a couple url variables to refine the query to the hike.cfm page, which is why I am trying to handle this logic in sql rather than the application per se so that I can pass this back to the refining page. I was hoping that based in the incoming url.chart value I could build some conditional logic within the sql query to group Elevation etc into categories of 500. Any ideas? Below is the relevant hikechart.cfm code: SELECT #ChartMe#, count(*) as Chart_count FROM hike Where #ChartMe# is not null group by #ChartMe# order by #ChartMe#; chartheight="400" pieslicestyle="sliced" url=""> umns#&urlvalue=$ITEMLABEL$"> valuecolumn="Chart_count"> Thanks, John -Original Message- From: Jerry Johnson [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2003 8:27 AM To: CF-Talk Subject: Re: Question from a beginner John, Are your elevation value stored in feet units? If so, you can set a new variable: (the actual syntax may be different for your db.) Then: select #chart_me_calc# as #chart_me#, count(*) as Chart_count Post the url when you are done so we can check it out. Jerry Johnson >>> [EMAIL PROTECTED] 11/14/03 11:04AM >>> I have a website describing hikes I have taken. I have recently added a charting page to chart much of the data I collect such as Region, Recommendation, Difficulty which works fine (since these values are essentially categorical ones with few values 5-6). However I also am trying to chart Time, Elevation gain, and Distance hiked. Elevation Gain in particular charts poorly as hardly any of the 60 hikes had the same gain. What I would like to do is when I am charting Time, Elevation gain, and Distance I would like to categorized the output into just a few. For Elevation it would probably be best to use 500ft increments. 0-500, 500-1000, 1000-1500 and so on. The current query I am using for the cfchart call is: SELECT #ChartMe#, count(*) as Chart_count FROM hike Where #ChartMe# is not null group by #ChartMe# order by #ChartMe#; Does anyone have an idea of how this query might be amended or otherwise rewritten to allow the above categorization to happen rather than just counting discreet instances? I have tried searching the web for quite a while to no avail, and was thinking this group might have some clues. Even good sql sites, groups, or book recommendations would be very welcomed. Thanks sincerely, John _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE:
Instead of . Do a and that will show you everything that is returned in that object. You'll see all of the variables and information that you have access to and then you can set up your John Burns -Original Message- From: Bushy [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2003 12:21 PM To: CF-Talk Subject: re: Hi, I'm using be able to check if whats being displayed is a directory or file. Like image? This is what I have... connection="ftpconnect" ...> stoponerror="yes" name="listfiles" directory="/" connection="ftpconnect"> #name# connection="ftpconnect" ...> _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Session and Client variable problems?
I did this for a content management system for my clients. I wanted them to be able to log in and edit the information on their site. Then, for my convenience, I wanted to log in (once) and be able to just from site to site and edit stuff without having to log in. Because of the domain/cookie issue, what I did was create a separate domain that the people log into. For instance, you might create cart.domain.com and have all of your different carts point to that domain. Then they always stay on the same domain. Not sure if that helps or meets your needs. John Burns -Original Message- From: Schuster, Steven [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 1:29 PM To: CF-Talk Subject: Session and Client variable problems? Ok, here it goes... I have one domain (call it IP 1.1.1.1) On this domain I have multiple sites, but they use redirects... So, we have sites A, B, C If you ping any of these sites you get IP 1.1.1.1 they simply route to different directories based on the server_name variable. Ok so that explains that. Each of the separate sites have an Application page that is set up basically with the code below. Each sites has the exact same info in the App.cfm file except for some path stuff that I use. clientmanagement="Yes" setclientcookies="Yes" sessionmanagement="yes" SESSIONTIMEOUT=#CreateTimeSpan(0,8,0,0)# APPLICATIONTIMEOUT=#CreateTimeSpan(0,8,0,0)# SETDOMAINCOOKIES="Yes"> Ok, now on each of these sites you can order items. I do that with the code below using a client variable. So basically here is my problem I want the cart to be globally available to all sites. I though setting my domain cookie flag to yes would accomplish that but apparently in conjunction with using client variables for my cart that is not the case. Anyone got any ideas??? Thanks, Stephen _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Flash/CF Chat program
Ok, cool. ASP is a problem as my web host uses Linux. I'll see what I can find. Thanks. John -Original Message- From: Dan Phillips (CFXHosting.com) [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 2:00 PM To: CF-Talk Subject: RE: Flash/CF Chat program I know one in Flash/ASP. www.pipey.com Not sure is ASP is a problem but it's free and has the features you described. Also take a look at www.cfchat.net. Another freebie but I can't remember if it uses flash or not. And last but not least, check out http://tutorial123.easycfm.com/ if you want to see an example and build upon it. The first two I mentioned also have the source code available for purchase. Dan Phillips www.CFXHosting.com 1-866-239-4678 x105 [EMAIL PROTECTED] -Original Message----- From: John Burns [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 1:55 PM To: CF-Talk Subject: Flash/CF Chat program Does anyone know of a free Flash/CF chat program. I would like something fairly simple that allows multiple users to enter and have real-time text chat capabilities without using just CF and doing refreshes every second to get the new text that has been added. I'm fairly new to Flash Remoting, but if there is a tutorial on how to do something real-time like this, I'd probably be able to pick it up fairly easily if someone can point me in the right direction. Thanks! John Burns _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Flash/CF Chat program
Does anyone know of a free Flash/CF chat program. I would like something fairly simple that allows multiple users to enter and have real-time text chat capabilities without using just CF and doing refreshes every second to get the new text that has been added. I'm fairly new to Flash Remoting, but if there is a tutorial on how to do something real-time like this, I'd probably be able to pick it up fairly easily if someone can point me in the right direction. Thanks! John Burns [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]