Evaluate a variable stored in a database?
I have text in a database record with a variable containing a dynamic value that gets evaluated at display time. Here is the value of "NewsText" coming from the "News" query listed below: ...blah, blah, blah some text some more text... The record is displayed within the following: #NewsTitle# #NewsText# #NewsText# (which is evaluating fine) contains the string of which #textHere# will not evaluate for some reason. It seems that ColdFusion will not reach inside the #NewsText# value to evaluate #textHere#. Anyone with ideas? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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
RE: CF-Talk-list V1 #377
Did something happen with the list? I was on daily digest and am now receiving emails every hour or so. And I have not made any changes to my list preferences... Regards, Josen Ruiseco Director of Internet Development Motorsport Marketing, Inc. http://www.gomotorsports.com -Original Message- From: CF-Talk [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 2:43 PM To: [EMAIL PROTECTED] Subject: CF-Talk-list V1 #377 CF-Talk-list Thu, 10 Oct 2002 Volume 1 : Number 377 In this issue: RE: cfx_pwtextcrypt Re: multiple case values in switch statement in cfscript Javascript escaping UDF -- Date: Thu, 10 Oct 2002 10:32:57 -0700 From: "Matt Robertson" <[EMAIL PROTECTED]> Subject: RE: cfx_pwtextcrypt Message-ID: <001d01c27083$135305f0$19857e42@msbhome> Sure. Go for it. Cheers, --Matt Robertson-- MSB Designs, Inc. http://mysecretbase.com -Original Message- From: Ben Densmore [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 8:55 AM To: CF-Talk Subject: cfx_pwtextcrypt Anyone currently using the cfx_pwtextcrypt custom tag that can answer a few questions off list? Thanks, Ben Ben Densmore Web Developer eSupport.com,Inc. 1538 Turnpike St. North Andover, MA 01845 Phone: (978) 686-6468 x333 Email: [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk 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 -- Date: Thu, 10 Oct 2002 10:37:25 -0700 From: "Nick Han" <[EMAIL PROTECTED]> Subject: Re: multiple case values in switch statement in cfscript Message-ID: <[EMAIL PROTECTED]> Don't think it's possible to specify a list like that with cfscript. You would need five different case statements. Not sure whether you can do this in cfmx. Nick Han >>> [EMAIL PROTECTED] 10/10/02 09:11AM >>> Hi Could anyone tell me if its possible to define multiple case statements In a switch block in cfscript.. So a cfscript version of : Thanks Kola ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com -- Date: Thu, 10 Oct 2002 12:46:24 -0500 From: "Mark A. Kruger - CFG" <[EMAIL PROTECTED]> Subject: Javascript escaping UDF Message-ID: <[EMAIL PROTECTED]> Folks, Does anyone have UDF that escapes troubling characters to make a Javascript safe string? -mk ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk 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 -- End of CF-Talk-list V1 #377 ***
Free enterprise manager application
Hi Pablo, I spoke with you about this offline. I'd like to see a demo of what you have. I'm debating the purchase of your previous control panel or waiting for this one. Getting a first look would help me make that decision. Josen Ruiseco GoMotorsports.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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
Active PDF?
I just purchased active Pdf and am having a rpoblem figuring out how to merge pdf docs together. I have contacted support and after three days they still have not helped me. Basically I have document names stored in a database. I want to pull those names and merge, then show a link to the merged document where the user can view it. Can someone post some code demonstrating this? Thanks, Josen ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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
Active PDF?
Janine, Thanks for your reply. How would you modify this if it were not an action page but rather just pulling pdf names from a database and merging them? Basically, do a lookup of names then merge the lookup results. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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
Active PDF?
Janine, I got this figured out. No need to reply. Thanks... Josen ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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
Calendar App
I agree. I would like it also. I can provide an FTP site too... ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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
(OT) RegEx editor
>i would love to put some words in a form box.. > >say for instance... > >[EMAIL PROTECTED] > >and then the regex interprets that, and turns it >into some sort of > >@[EMAIL PROTECTED]([EMAIL PROTECTED])%($#([EMAIL PROTECTED])*!@)#$_ > >thing. > >make sense? > >and maybe a wizard type thing...where it could say, do you want >to match...blah's as well? or maybe a blah here or there. > > > >-Original Message- >From: Adam Churvis [mailto:[EMAIL PROTECTED] >Sent: Tuesday, July 01, 2003 1:49 AM >To: CF-Talk >Subject: Re: (OT) RegEx editor > > >Actually, a while ago we wrote a very powerful graphical RegEx builder >in >C++ for Windows that performs multiple search/replace iterations as part >of >DatabaseBlocks 3 (which we're still trying to get out the door). We've >been >thinking about also creating a standalone utility based on it, but we >didn't >know if enough people were really all that interested in what you could >do >with RegEx, so we sat on the idea. > >What kinds of things do you guys want to do with RegEx, specifically? >Would >you want just a standalone utility that performs multiple RegEx >operations >on disk files, or do you need it to generate CFML RegEx calls, or what? > >Just probing here. > >Respectfully, > >Adam Phillip Churvis >Member of Team Macromedia > >Advanced Intensive ColdFusion MX Training >ColdFusion MX Master Class: >July 14 - 18, 2003 >http://www.ColdFusionTraining.com > >Download CommerceBlocks V2.1 and LoRCAT from >http://www.ProductivityEnhancement.com > >The ColdFusion MX Bible is in bookstores now! >- Original Message - >From: "Michael Dinowitz" <[EMAIL PROTECTED]> >To: "CF-Talk" <[EMAIL PROTECTED]> >Sent: Monday, June 30, 2003 11:07 AM >Subject: (OT) RegEx editor > > >> I've talked to the creator of this RegEx editor: >> http://www.blackie.dk/KDE/KRegExpEditor/ >> He's willing to port it to Windows as a standalone visual RegEx >creator >for us. >> We'll have the source (in Qt) and the license and I'd make it a >community >thing. >> What's needed? >> $720 >> If your interested in such a tool, please email me off list with the >amount >> you'd like to kick in. As we'll have the source and all, it can be >modified by >> community members into other things such as a DW or Studio/HS+ plugin. >> >> Michael Dinowitz >> Finding technical solutions to the problems you didn't know you had >yet >> >> > The idea of an interigator that asks questions and allows for answers is excellent. I would be more than happy to contribute more money if necessary to the creation of this type of functionality in the current app. Besides saving time for all of us regEx Dummies, there's a chance that it might get bought up and/or incorporated into future apps by Macromedia. Just a thought... ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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
Strange CFMX Error: String index out of range
Has anyone seen this error before? String index out of range: 0 null If so, what does it mean and how do you fix? Josen [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:Write to html file
How do you do this? I went into application extensions and added .htm to be run as a .cfm page. I restarted the CF service and now I get an error message stating: SERVER ERROR: Either the Macromedia application server is unreachable or it does not have a mapping to process this request. Is there more that needs to be done? I am running MX 6.1... Thanks, Josen [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:Write to html file
Nevermind... I figured it out. Apparently it needed some config info changed and a reboot... Josen [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:Image-Gallery Managment
Dwayne, I use the cfx_imageCr tag extensively. It is a great little tag that does far and away more than just resize an image. Nonetheless, all I store in the database is the directory path and image name. ImageCr will do all the rest for you (ie. get the size, attributes, etc.) You will want to use version 3 as version 2.x is limited in functionality, and if I recall correctly, won't even get the image dimensions. My site http://www.gomotorbids.com/ uses the tag exclusively. Every image except for the header images and category buttons are huge and then get resized accordingly. I am about to purchase the ImageFlare tag from them so that I can watermark my images dynamically and actually embed text onto the images. Hope this helps. Feel free to email me offlist if you need a hand. Regards, Josen [EMAIL PROTECTED] > I working on an image gallery managment system that will allow users > to upload and manage a collection of image files. I'm storing > information such as directory location and description attributes of > the image in a database. I do not want the users to be concerned with > the size of the image becuase we plan to use "imagecr" to resize the > image dynamically. Does anyone here know of a solution that might > help? > > Dwayne Cole, MS in MIS, MBA > Certified Advanced ColdFusion Developer > 850-591-0212 > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:Image-Gallery Managment
I have an admin interface where the user uploads the image and the code drops it into a specific directory (all using cffile). The image path and filename are written to the database at that time. When using the imageCr3 tag you want to call the image path and filename in the database. The imageCr3 tag will automatically store a cached version of the image in a directory you specify (I use d:\cacheimages and add it as a virtual directory to my websites that use the tag) and will only pull, resize, and cache the orginal if there is no cached image in the "cachimages" directory. As far as updates and deletes, all you will want to do is update and delete the database record and use the cffile delete action on the original image to delete it. As far as I know there is no delete function for the cached image. It can be done programatically, but I am going to suggest to Efflare that they ought to automatically delete cached files not in use after x days. I don't know how they would do that, but perhaps there is a way. > > "It can truly be said that nothing happens until there is vision. But > it is equally true that a vision with no underlying sense of purpose, > no calling, is just a good idea - all "sound and fury, signifying > nothing." The Fifth Discipline - Peter Senge > > > > -- Original Message -- > From: Josen Ruiseco <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Mon, 26 Jan 2004 19:19:37 -0400 > > >Dwayne, > > > >I use the cfx_imageCr tag extensively. It is a great little tag that > does far and away more than just resize an image. Nonetheless, all I > store in the database is the directory path and image name. ImageCr > will do all the rest for you (ie. get the size, attributes, etc.) You > will want to use version 3 as version 2.x is limited in functionality, > and if I recall correctly, won't even get the image dimensions. > > > >My site http://www.gomotorbids.com/ uses the tag exclusively. Every > image except for the header images and category buttons are huge and > then get resized accordingly. I am about to purchase the ImageFlare > tag from them so that I can watermark my images dynamically and > actually embed text onto the images. > > > >Hope this helps. Feel free to email me offlist if you need a hand. > > > >Regards, > > > >Josen > >[EMAIL PROTECTED] > > > > > >> I working on an image gallery managment system that will allow > users > >> to upload and manage a collection of image files. I'm storing > >> information such as directory location and description attributes > of > >> the image in a database. I do not want the users to be concerned > with > >> the size of the image becuase we plan to use "imagecr" to resize > the > >> image dynamically. Does anyone here know of a solution that might > > >> help? > >> > >> Dwayne Cole, MS in MIS, MBA > >> Certified Advanced ColdFusion Developer > >> 850-591-0212 > > > >> > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:Image-Gallery Managment
As far as watermarking goes, I would recommend the ImageFlare tag by the Efflare guys. You're into it for more money, but the tag will watermark to the appropriate size on the fly instead of your user having to batch through an image application before uploading. You can also add text, crop images, change image format, and more. It's a great tool. I'm not a salesman, just a big fan. Josen >That would take a while to run... Uploading 300 images would a long time let >alone the resizing, thumbnails. I wonder how other sites are doing this. > >-Original Message- >From: Rick Faircloth [mailto:[EMAIL PROTECTED] >Sent: Tuesday, January 27, 2004 12:32 PM >To: CF-Talk >Subject: RE: Image-Gallery Managment > > >What about putting all the photos to be uploaded >into a folder, running CFDIRECTORY to make a list >of all the photo files, then looping over the list >with a CFFILE upload inside the loop? > >Rick > > -Original Message- > From: Tim Do [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 27, 2004 11:49 AM > To: CF-Talk > Subject: RE: Image-Gallery Managment > > I also have an admin page that uploads, creates thumbnail, scales, and > inserts into db. The client now wants upload multiple images at once >now... > up to 300 images and add a watermark. Can anybody recommend how to go >about > this? > > Thanks > > -Original Message- > From: Josen Ruiseco [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 27, 2004 7:33 AM > To: CF-Talk > Subject: Re:Image-Gallery Managment > > I have an admin interface where the user uploads the image and the code > drops it into a specific directory (all using cffile). The image path and > filename are written to the database at that time. > > When using the imageCr3 tag you want to call the image path and filename >in > the database. The imageCr3 tag will automatically store a cached version >of > the image in a directory you specify (I use d:\cacheimages and add it as a > virtual directory to my websites that use the tag) and will only pull, > resize, and cache the orginal if there is no cached image in the > "cachimages" directory. > > As far as updates and deletes, all you will want to do is update and >delete > the database record and use the cffile delete action on the original image > to delete it. As far as I know there is no delete function for the cached > image. It can be done programatically, but I am going to suggest to >Efflare > that they ought to automatically delete cached files not in use after x > days. I don't know how they would do that, but perhaps there is a way. > > > > > "It can truly be said that nothing happens until there is vision. But > > it is equally true that a vision with no underlying sense of purpose, > > no calling, is just a good idea - all "sound and fury, signifying > > nothing." The Fifth Discipline - Peter Senge > > > > > > > > -- Original Message -- > > From: Josen Ruiseco <[EMAIL PROTECTED]> > > Reply-To: [EMAIL PROTECTED] > > Date: Mon, 26 Jan 2004 19:19:37 -0400 > > > > >Dwayne, > > > > > >I use the cfx_imageCr tag extensively. It is a great little tag that > > does far and away more than just resize an image. Nonetheless, all I > > store in the database is the directory path and image name. ImageCr > > will do all the rest for you (ie. get the size, attributes, etc.) You > > will want to use version 3 as version 2.x is limited in functionality, > > and if I recall correctly, won't even get the image dimensions. > > > > > >My site http://www.gomotorbids.com/ > uses > the tag exclusively. Every > > image except for the header images and category buttons are huge and > > then get resized accordingly. I am about to purchase the ImageFlare > > tag from them so that I can watermark my images dynamically and > > actually embed text onto the images. > > > > > >Hope this helps. Feel free to email me offlist if you need a hand. > > > > > >Regards, > > > > > >Josen > > >[EMAIL PROTECTED] > > > > > > > > >> I working on an image gallery managment system that will allow > > users > > >> to upload and manage a collection of image files. I'm storing > > >> information such as directory location and description attributes > > of > > >> the image in a database. I do not want the users to be concerned > > with > > >> the size of the image becuase we plan to use "imagecr" to resize > > the > > >> image dynamically. Does anyone here know of a solution that might > > > > >> help? > > >> > > >> Dwayne Cole, MS in MIS, MBA > > >> Certified Advanced ColdFusion Developer > > >> 850-591-0212 > > > > > >> > > > _ > _ > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:Changing HTML text to images
The way you're suggesting to do is fine, however, there is a custom tag out there that will take the pain (if there IS any) out of what you're doing. Check out http://www.efflare.com/products/cfx_gfont/ The tag is called cfx_gfont. It automatically draws an image in the font of your choice from the text string you input. It's very cool. Regards, Josen >Hi guys, > >Instead of displaying someone's userid in plain html text I'd like to >replace each character with my own images. E.g. instead of the number 1 >I'll have 1.gif, instead of 2 I'll have 2.gif. This way I can use my >funky font. > >Two questions, (1) Say if there is always going to be 8 digits is there >a coldfusion function that will find each character in the userID and >return the value to me so I can replace it with its image equivalent? > >(2) If I were to do it with Flash connecting to the database (which I've >never done before) would it also pull down the font? > >Thanks, > >Stuart > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CFDJ Spell Check Article this Month
In CFDJ this month Darron Schall wrote an article on how to add spell checking functionality to a site with open source Java. He does not, however, reveal the code for the _javascript_ interface that enables a user to replace, ignore, replace all, and ignore all, etc. Does anyone have this code written and available for others? If not, perhaps Ben Forta would be willing to share a portion of his CFX_SpellCheck source code to help us finish the project :-). Here's a link to the article... http://sys-con.com/coldfusion/articleprint.cfm?id=698 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:CFDJ Spell Check Article this Month
No worries on the length of the article from our perspective. It's a great article with some very useful code. Is there any chance they would have you back to do a follow up article showing the rest of the code? I'm going to write them and suggest it. Regards, Josen > Sorry, I didn't have time to actually write that portion of the code. > The article itself was already longer than it should've been, so I > just threw that out as an idea of "where to go from here." > > I think I would implement that by having a list of "ignored words." > The spell check engine reports back the location of the error in the > string, so you can see if the word at that location is ignored.. if > not, pop up a window and ask if they want to replace it with something. > If they chose to "ignore all" then add it to the ignore words list.. > and keep doing that as you loop through the list of spelling errors. > > -d [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Looking for URL RegEx
I am looking for a regular _expression_ that captures a domain name within a url. It needs to consider all the possible variations of a domain name, ie. domain.com, www.domain.com, www.domain.co.uk, domain.biz, etc. Does anyone have that written already? Thanks... Josen [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:Looking for URL RegEx
In my scenario I am searching for any url within a string of text and then removing it. I am not familiar with how to begin using the method you speak of. Do you know of any documentation out there for that? Josen >I just create an instance of java.net.URL with the supplied URL string. >It is able to validate that the URL is correct and has many methods of >interacting with URLs, which I find to be much more useful than a >RegEx. > >-Matt > > >On Feb 16, 2004, at 3:52 PM, Josen Ruiseco wrote: > >> I am looking for a regular _expression_ that captures a domain name >> within a url. It needs to consider all the possible variations of a >> domain name, ie. domain.com, www.domain.com, www.domain.co.uk, >> domain.biz, etc. >> >> Does anyone have that written already? >> >> Thanks... >> >> Josen >> [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Access & Coldfusion MX6.1 problems...sites keep dying
Is the unicode driver just useful for Access or will it stabilize Sql Server 2000 also? Where can it be found? Josen www.gomotorbids.com >Donnie Bachan said: >> We are experiencing this problem also. I have tried the hotfixes on >> Macromedia's site, which do not really apply to MS Access but it >> couldn't hurt. We have an application that requires a large >> recordset to be returned (~1 records), CFQUERY caching helps >> somewhat but the problem exists whenever the cache is cleared. >> I think that Access just cannot handle the load, the ODBC Server >> hangs first > >Have you tried the unicode driver? > >Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Question regarding CFMX 6.2 - UPDATE
Ben, Any word on whether or not work is being done on the "Could not connect to JRUN server" error. This issue seems to affect a lot of folks and there is yet no word from Macromedia on the issue. Regards, Josen [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Access & Coldfusion MX6.1 problems...sites keep dying
Regarding the Microsoft JDBC driver, have you heard if that lessens or elimiantes the "Could not connect to JRUN Server" error? Josen >Josen Ruiseco wrote: > >> Is the unicode driver just useful for Access or will it stabilize Sql >> Server 2000 also? Where can it be found? > >Access only, and it is just in the dropdown menu. > >For MS SQL Server, use the JDBC driver from Microsoft. > >Jochem > >-- >I don't get it >immigrants don't work >and steal our jobs > - Loesje [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:I'm lost converting ASP to CF5
Give this a try... CFM2ASP is a programming tool that will convert most of CFM code to ASP. It will convert the most commonly used CFM tags into ASP along with variable and function syntax. The code editor is a full featured programmer-style editor with features such as auto-indent, line numbers, syntax coloring, and a Regular _expression_ search-and-replace function. http://www.cfm2asp.com/ Regards, Josen [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:Multiple sites on XP Pro workstation
Try this... http://www.mindxpand.be/iisadmin/ This is a great tool for doing the very thing you want to do. Regards, Josen GoMotorsports.com GoMotorBids.com >Is there a way to hack IIS that ships with XP Pro to allow it to serve >mutliple sites? This is for development purposes. > >Alternatively, is there a way to set up a local site to serve different >domains with host headers? If I run a local DNS server or someething like >that? > >Thanks > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Template Encryption
> I need to distribute source code to clients and want to encrypt some > of the source. I know utilities exist to break ColdFusion encryption > and display source code. Are there any methods to encrypt ColdFusion > source that are not breakable using these utilities or other methods > (within reason)? I am running ColdFusion 5 for this project. > > Josen Ruiseco > GoMotorBids.com Thanks to everyone for the help... Josen [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
CFHTTP and replace() on Multiple Lines
I am calling a document via cfhttp. I am replacing numerous lines of text within the called document. There is a snippet in the document that I cannot seem to grab: Spacing is as it is in the doc... I can grab the with no problem. But I cannot grab the because I will screw up the entire document. I tried control characters to get the whole thing - chr(), etc. (replace(document,"#chr(13)#...", "")>) but it seems that I could not grab them that way. Any ideas? Regards, Josen GoMotorBids.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFHTTP and replace() on Multiple Lines
>Where a single search doesn't work, I usually revert to finding the >start index 'start = find(" >index 'end = find("", myStr, start) + 4' and then do a mid(myStr, >start, end) call to pull it out. You may have to tweak that a little, >but that's the idea. > >cheers, >barneyb > >On Tue, 31 Aug 2004 12:27:46 -0400, Josen Ruiseco ><[EMAIL PROTECTED]> wrote: >-- >Barney Boisvert >[EMAIL PROTECTED] >360.319.6145 >http://www.barneyb.com It turns out that I used the find function then used the removeChars function. Other techniques, such as ReFindNoCase and replace using chr()s did not work. Thanks to all for the help... Josen [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Calling a .Net control from ColdFusion
I found a very cool .net control here: http://scottonwriting.net/demos/RoundedCorners.aspx and want to use the functionality of it in my cf pages. Is it possible to call a .net control and use it within coldFusion and if so, how? If not possible, does anyone know of any cf component that does this? Josen GoMotorBids.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Calling a .Net control from ColdFusion
Yes, I looked at your tag. However, it requires the use of a graphic as I understand it. I am only able to use dynamically created graphics or css in this application. Am I correct in thinking that it requires a graphic? Josen >>>I found a very cool .net control here > >This one is even cooler! ;-)) > >See CF_easyFrame here: >http://www.cftagstore.com/tags/cfxeasyframe.cfm > >-- >___ >REUSE CODE! Use custom tags; >See http://www.contentbox.com/claude/customtags/tagstore.cfm >(Please send any spam to this address: [EMAIL PROTECTED]) >Thanks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Need Function or UDF that does this...
I need a function or udf that is like find() or findNoCase() except that it searches backward from a starting point instead of forward. In other words, it finds the first occurance of a substring within a string but searches backwards from a starting point. Josen GoMotorbids.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Need Function or UDF that does this...
These suggestions are all good. The problem I have is that I am searching out text from an cfhttp call. When I reverse the cfhttp.filecontent it becomes a huge mess and is difficult to work with. Thanks for the ideas... Josen > How about passing the string to reverse() first. Won't be perfect, > because you'll need to reverse your search string as well, and then > subtract the returned index from the length, and unreverse everything > to use it, but it'll function. YOu can wrap all that up in a UDF > pretty easily. > > Or, if you're on CFMX and feeling adventurous, you can use the > lastIndexOf() method of the String class like this: > > str = "this is a test string"; > i = str.lastIndexOf("is") + 1; > > I'm finding the last index of the string "is". Make sure you add one > to the result though, because Java is zero-indexed while CF is > one-indexed. > > cheers, > barneyb > > > On Fri, 03 Sep 2004 13:59:31 -0400, Josen Ruiseco > <[EMAIL PROTECTED]> wrote: > > I need a function or udf that is like find() or findNoCase() except > that it searches backward from a starting point instead of forward. > > > > In other words, it finds the first occurance of a substring within a > string but searches backwards from a starting point. > > > > Josen > > GoMotorbids.com > > -- > Barney Boisvert > [EMAIL PROTECTED] > 360.319.6145 > http://www.barneyb. com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RegEx Problem Trying to Use Matched Text
I am trying to follow the regex example on page 82 of Ben Forta's "regular Expressions in 10 Minutes" book. The example does a simple replace using matched text and reReplaceNoCase(). #newString# #newString# The problem is that it doesn't seem to replace the matched text when using the $1. Am I missing something here? Josen GoMotorsBids.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: RegEx Problem Trying to Use Matched Text
I am using the following and I get the email address twice. The second string is not a link. #newString# #newString# Am I not doing something right? I'm on CF5. Josen >In CF it is \1 : " > >Pascal > >> -Original Message- >> From: Josen Ruiseco [mailto:[EMAIL PROTECTED] >> Sent: 08 September 2004 19:27 >> To: CF-Talk >> Subject: RegEx Problem Trying to Use Matched Text >> >> I am trying to follow the regex example on page 82 of Ben Forta's >"regular >> Expressions in 10 Minutes" book. The example does a simple replace >using >> matched text and reReplaceNoCase(). >> >> >> #newString# >> >"([EMAIL PROTECTED])", >> " >> #newString# >> >> The problem is that it doesn't seem to replace the matched text when >using >> the $1. >> >> Am I missing something here? >> >> Josen >> GoMotorsBids.com >> >> [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: RegEx Problem Trying to Use Matched Text
The regex used to find the email address and the replacement regex are from the book. The reReplaceNoCase and the output stuff is me. I do not follow you with the [[:alnum:]] example. Please expound. Josen >CF5 doesn't support Perlish character classes (ie "\w"). > >IIRC, you can use [[:alnum:]] to replace them. > >BTW -- are you sure this is a direct copy from the book (aside from the >\1 vs $1 change)? It looks odd in several ways to me. > >--Ben > >Josen Ruiseco wrote: [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Preventing Automated Logins & Registrations
I need to implement a module that prevents automated logins and/or registrations on a website. You know, the kind where you must read the letters or numbers off the image and input them before you may proceed. Has anyone done this? If so, what was the general strategy regarding the images? Does anyone know of a module that can be purchased for CF that already does this? Any thoughts would be appreciated. Regards, Josen Ruiseco GoMotorBids.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204347 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Preventing Automated Logins & Registrations
I have tried email confirmations in the past for this website. Unfortunately, a very large number of the users are complete Internet & PC newbies. Having them get their email address correct is a difficult thing to ask. While I'd rather their email were correct, it doesn't have to be so in order for them to do business with us. There probably are some scripts that are wise to this. Perhaps some developers on the list have already overcome any issues related to this... Josen >I'm sure others will chime in with some answers and I'm sure there are a >bunch of solutions for you to choose from but... > >... if you don't mind the delay, what about a confirmation email? Are >scripts that automat sign-ups wise to these? > >Ade > >-Original Message- >From: Josen Ruiseco [mailto:[EMAIL PROTECTED] >Sent: 25 April 2005 21:11 >To: CF-Talk >Subject: Preventing Automated Logins & Registrations > > >I need to implement a module that prevents automated logins and/or >registrations on a website. You know, the kind where you must read the >letters or numbers off the image and input them before you may proceed. > >Has anyone done this? If so, what was the general strategy regarding the >images? > >Does anyone know of a module that can be purchased for CF that already does >this? > >Any thoughts would be appreciated. > >Regards, > >Josen Ruiseco >GoMotorBids.com > >-- >No virus found in this outgoing message. >Checked by AVG Anti-Virus. >Version: 7.0.308 / Virus Database: 266.10.2 - Release Date: 21/04/2005 ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204352 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfx image?
I also use Efflare's ImageCr and ImageFlare. They are great products. They are affordable. Their support is great. http://www.efflare.com Josen Ruiseco GoMotorBids.com http://www.gomotorbids.com >As I stated earlier in this thread, if there were problems with >cfexecute on CFMX, they were probably before Updater 3 (a long, long >time ago). > >Another thing I stated was to not use the alagad magick tag. It's really >crappy, not their best effort. CFExecute with a quick breeze over the >imagemagick documentation is all you should need. > > >-nathan strutz > > >Ken Ferguson wrote: >> ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204445 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
CFMX 6.1 Mail Spooler Problem
I have been running CFMX 6.1 for about 18 months without any problem. Now for the past month my cfmail spooler has just locked up and refuses to send mail until I restart the services. I am using Rob Bilson and Cameron Childress' version 3 CF_ResendUndeliverableMail3 tag. It seems to run fine (every 15 minutes). But does not fix the problem (whatever it is). The mail.log messages vary from "Spooler Locked" to "451 Timeout waiting for client input". There are also some normal messages like invalid address, etc. I have two hours worth of email (about 180 files) sitting in their right now. Any ideas what I should do here? Josen http://ww.gomotorbids.com ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208859 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Creating XML from RecordSet
Hatton, Would you be willing to share your final template? Email to webmaster gomotorbids com Thanks, Josen ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290475 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Anyone Have XPAAJ.jar ?
I need to get my hands on XPAAJ.jar for some old production code involving PDF Forms processing. Because that is no longer available from Adobe, can someone email that to me: webmaster AT gomotorbids.com Thanks... Josen ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303566 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4