RE: (ot) JavaScript detecting foreign scripts
Please don't do it off-list, several of us could be interested. In case anyone is interested, as Claude recommended, It was relatively easy to check for the foreign script injection by myturfads.com. There is a test page with the code located at http://www.uxb.net/adtest/ that will look to see if your client is seeing the Google ad being replaced by the myturfads.com In case you are wondering what I am talking about. Some ISP's are using a proxy technology that in real time intercepts the Google Ad JavaScript code and replaces it with their own advertising from a company (MyTurf - www.myturfads.com) that specializes in injecting local advertising into existing ad spaces for Local ISP's.They replace the google or double click JS code with their own and can add/inject pop-up and video ads into sites that only use text or image advertising from Google. Very Annoying! Based on the testing I have done with one of my more trafficked sites that have ads on them (hce.halomaps.org) there are at least two ISP's that are using the ad-replacement proxy technology in three different regions: Brewster NY, Denver CO. and Boise ID. NY and CO were Comcast and ID was CenturyLink. I am seeing multiple IPS from each area, mostly in the same B and C blocks. The way the test page works is that after loading it looks for any script called from myturfads.com on the page and then lists the scripts and warns if one was found. If one was found it performs an AJAX call and sends me an email with the client IP. I have contacted and opened a case with Google about this and they were very interested, but of course I only get to deal with the front line support person so I have no idea what they intend. I also contacted a copyright law firm and they were interested but because it is Google's Code and not mine that is being replaced an infringement case would be tough. Not only that but apparently there is no case law that says the ISP cannot replace or inject scripts. To proceed further it would require I cover legal research costs to see if there was a case to be had.It gets all muddy, especially now with the FCC's new Net Neutrality regulations still not fully defined and already under legal attack. I find this behavior on the part of the ISP's abhorrent and dangerous. Right now they are replacing advertising and stealing revenue from the advertiser and Web Publisher. But they could just as easily replace articles or any real content on the fly as well. And the worst of it is that there is apparently no legal precedent to the contrary. Thanks for listening. Dennis Powers UXB Internet - A website Design and Hosting Company P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844 W: http://www.uxbinternet.com W: http://www.ctbusinesslist.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360348 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: (ot) JavaScript detecting foreign scripts
Just throwing ideas out there. :) All my pontificating aside for this particular purpose I am just trying to detect if the string adx.myturfads.com exists anywhere on the DOM. For my sister, I've already stopped it from loading by editing the hosts file on the PC to disallow that domain. Including the reasons you stated trying to stop it with a purely technical solution is just an arms race. This requires legal action. I am trying to find a way to collect data to support that. They may have stepped over a line here because they are not just adding but removing and replacing content. Dennis Powers UXB Internet - A website Design and Hosting Company P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844 W: http://www.uxbinternet.com W: http://www.ctbusinesslist.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360190 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: (ot) JavaScript detecting foreign scripts
I agree with you that Comcast should die in a fire, So I'm not crazy then. I have to wonder some times. I like Jochem's solution, of which I was unaware, but still recommend you use HTTPS. Actually I can also prevent it by switching to a different/newer ad type with a different script but that wasn't the goal for this request. The goal was to collect data on where (the IP) the script was being injected. Stopping it with a technical solution is an arms race. Dennis Powers UXB Internet - A website Design and Hosting Company P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844 W: http://www.uxbinternet.com W: http://www.ctbusinesslist.com -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Tuesday, March 3, 2015 8:08 AM To: cf-talk Subject: Re: (ot) JavaScript detecting foreign scripts Second, if you use TLS (SSL) exclusively, you should be able to prevent this. I tested for this and yes it does prevent it. However that is not actually the point. The point is much bigger than the pennies they sole from my websites ad revenue. Maybe I am the only one but to me this practice, replacing the content of a webpage with their own content, is a heinous affront to the idea of an open Internet. Maybe I am going off the rails here but isn't this exactly what the Net Neutrality fight was all about? Not fast lanes and slow lanes but data integrity! Thanks for the pointer on the JS code I will look into it and take a step down off my soapbox. I agree with you that Comcast should die in a fire, but it'll take a while for the FCC to fix that problem I'm sure. In the meantime, rent-seekers gonna rent- seek, I guess. I like Jochem's solution, of which I was unaware, but still recommend you use HTTPS. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business (SDVOSB) on GSA Schedule, and provides the highest caliber vendor- authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion- Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf- talk/message.cfm/messageid:360185 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360187 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: (ot) JavaScript detecting foreign scripts
I developped a client side javascript error trackink tool and it helped me a lot to debug my scripts, but I get many errors happening in foreign JS scripts. I fixed my program to detect 5 or 6 of them and now the system is almost perfect. Should have known it was you smile. What is happening is that Comcast has engaged the company MyTurfads.com that on the fly replaces Google and other ads with their own. They intercept the call to the script and return JS of their own that inserts a script from their domain (adx.myturfads.com) into the DOM. That script then calls others to handle the ads. I have proven this using a test page http://www.uxb.net/adtest/ that only has a single Google ad and no other scripts. The content of the single script on that page gets replaced at my sisters in NY (Comcast) but not in CT (Comcast) . I want to find out how wide spread this is because 3 data points do not make an argument. I only found out about it because my sister complained about getting pop-up and self-running modal video ads on one of my websites and that should not occur. What I want to do is write a script that can detect if the domain myturfads.com is located anywhere in the DOM. I intend to place it on the simple test page so that once detected I can initiate an Ajax call and record the user IP on my server. I can hack at JS code with enough examples but sadly need a little help on this one. Dennis Powers UXB Internet - A website Design and Hosting Company P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844 W: http://www.uxbinternet.com W: http://www.ctbusinesslist.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360181 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: (ot) JavaScript detecting foreign scripts
Thanks Dave I do appreciate the information. First, my understanding is that this only happens for users of Comcast public access hotspots, not for subscribed users: http://arstechnica.com/tech-policy/2014/09/why-comcasts-javascript-ad- injections-threaten-security-net-neutrality/ In my research I did see that article but alas they are indeed rolling it out to actual subscribers. Second, if you use TLS (SSL) exclusively, you should be able to prevent this. I tested for this and yes it does prevent it. However that is not actually the point. The point is much bigger than the pennies they sole from my websites ad revenue. Maybe I am the only one but to me this practice, replacing the content of a webpage with their own content, is a heinous affront to the idea of an open Internet. Maybe I am going off the rails here but isn't this exactly what the Net Neutrality fight was all about? Not fast lanes and slow lanes but data integrity! Thanks for the pointer on the JS code I will look into it and take a step down off my soapbox. Dennis Powers UXB Internet - A website Design and Hosting Company P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844 W: http://www.uxbinternet.com W: http://www.ctbusinesslist.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360183 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
(ot) JavaScript detecting foreign scripts
I apologize for this off topic post. A while back someone posted a thread where they were working on a script that would enumerate the DOM and detect foreign JS scripts running or loaded. I am looking to consult with that person off-list because I have a case where I need to do the same. It appears as if in some locations Comcast's proxies are intercepting advertising scripts (google/doubleclick) and replacing them with their own JS that substitutes their own contracted ads. I am looking for a way to detect this on a test page to determine how wide spread the practice is. I would be greatly appreciative if that person would contact me directly either by email or phone. Dennis Powers UXB Internet - A website Design and Hosting Company P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844 W: http://www.uxbinternet.com W: http://www.ctbusinesslist.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360178 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Sending SMS
Verizon: vtext.com Nextel: messaging.nextel.com Sprint: messaging.sprintpcs.com Cingular: cingularme.com Virgin Mobile: vmobl.com T-Mobile: tmomail.net Thanks this was helpful. Dennis Powers UXB Internet - A website Design and Hosting Company P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844 W: http://www.uxbinternet.com W: http://www.ctbusinesslist.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359798 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Sending SMS
I know it can be re-created but for us lazy ones on the list would you be willing to share the Carrier to domain table? Dennis Powers UXB Internet - A website Design and Hosting Company P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844 W: http://www.uxbinternet.com W: http://www.ctbusinesslist.com -Original Message- From: richpaul7 . [mailto:richpa...@gmail.com] Sent: Wednesday, November 19, 2014 1:02 PM To: cf-talk Subject: Re: Sending SMS In my scenario, it's my user who wants my website to send them a text. So, someone signs up for text alerts from my site, I ask them for their number and carrier, and then I can just email to their number + carriers domain and it's converted to a text. On Tue, Nov 18, 2014 at 4:31 PM, Rick Sanders r...@webenergy.ca wrote: That's great but what about sending to different carriers? I'm guessing you have to know what carrier the customer you're sending a sms is on right? Kind Regards, Rick Sanders Canada: ~~ ~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion- Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf- talk/message.cfm/messageid:359679 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf- talk/unsubscribe.cfm ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359691 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFML restart ACF 10 app server service
explains the problems with CF on shared hosting: http://www.michaels.me.uk/post.cfm/why-coldfusion-railo-are-not- suited-to-shared-hosting Interesting article and a nice refresher for anyone running a shared hosting environment. It goes to show how the technology has changed over the years. In 1998 when I started in this business the best solution for a shared environment was CF because ASP and PHP were not very stable and the web servers of the time forced them to run in context with the single web server process. Therefore a failed ASP or PHP page could easily lock the entire web server whereas with CF running out of context as a service if bad code caused CF to lock HTML pages would still be served. Dennis Powers UXB Internet - A website Design and Hosting Company P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844 W: http://www.uxbinternet.com W: http://www.ctbusinesslist.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359405 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF11 Licensing - 2 servers behind load balancer
Why does it have to be so complicated? Money. Dennis Powers UXB Internet - A website Design and Hosting Company P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844 W: http://www.uxbinternet.com W: http://www.ctbusinesslist.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359396 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFML restart ACF 10 app server service
we have a scheduled task setup to restart CF every morning. Since we have done this we have hardly any cf issues any more. Wow! How far we have come, he says with great sarcasm, it harkens back to the good old CF4 on NT server days. Dennis Powers UXB Internet - A website Design and Hosting Company P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844 W: http://www.uxbinternet.com W: http://www.ctbusinesslist.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359397 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Forms not passing data?
The issue mainly is that it's not always happening all the time. So it's not repeatable as far as I can tell. If you have verified the code then check to see if the user in question is running an internet security program of some kind. Many of the firewalls they install prevent form submissions of enctype=multipart/form-data to prevent uploading data. We have run into this many times where the submitted data in forms of this type is Null until they disable their internet security software. Dennis Powers UXB Internet - A website Design and Hosting Company P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844 W: http://www.uxbinternet.com W: http://www.ctbusinesslist.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359341 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Dump to Excel from CF 5
I've tried using various iterations of CFCONTENT and CFHeader but nothing is changing. I'm only getting a display in the web browser. IE browsers very often tend to open excel files in the browser window instead of forcing a download to disk. You may need to add the application/unknown to the content type like so: CFHEADER NAME=Content-Disposition VALUE=attachment; filename=somefile.xls CFCONTENT TYPE=application/unknown FILE=somefile.xls Or if you are dynamically generating the results: cfsetting enablecfoutputonly=Yes showdebugoutput=Yes CFHEADER NAME=Content-Disposition VALUE=attachment; filename=somefile.xls CFCONTENT TYPE=application/unknown cfoutput ... query results here /cfoutput cfsetting enablecfoutputonly=no showdebugoutput=Yes Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336607 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Preventing use of remote method by other sites
I doubt anyone's going to care to mess with it This assumption all depends on the average age of the visitors to the website and the possible gain there is in messing with it. In my experience the lower the age of the visitors the less actual gain is needed to inspire them to mess with it. We run several video game based websites where the average age of visitors is 14-18 years of age and they will mess with anything and everything for no apparent reason. I have even placed dummy ajax pages online that actually do nothing to the site data and they will spend hours, days and sometimes weeks submitting data to them just to see what they will do. Assume that it will be messed with and evaluate the need to keep the data correct with the cost to make it so. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336423 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: ResolveURL with CFX_HTTP5
No, I mean the Custom Tab CFX_HTTP5 which is supposed to be a replacement for CFHTTP. But there is no RESOLVEURL attribute. You are correct that function is not in the CFX library. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336432 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Move CF website to non CF host
I would like to move that site to be hosted without CF (or MS SQL). The short answer is no you need a CF server to process CF pages (*.cfm). However, you can capture your website in pure HTML regardless of what CF is doing under the hood. You just need to be aware of some gotcha's when deciding to move it to pure HTML. 1) Is there anything dynamic on the pages such as automatically generated dates maybe in the footer or copyright statement? These dates will now become static when you move to HTML 2) Are there any commutations performed based on user input? Example doing any math (excluding JavaScript) like a mortgage calculation or making selections or logic based on user input. There may be only 1 physical page but it could be presenting multiple pages of different information. 3) Do you have an email form in the website? If so the underlying code to actually send the email will no longer work and need to be replaced with another technology. If the answer is no to all of the above then there should be no problem. Yes to any of them means you may need to look more closely, for example if the dynamic date is the year in a copyright notice then you will now just have to change it manually. I believe you said the site is just 7 pages so a simple copy from the browser source to notepad will work OK as long as you also copy the images, CSS files, JavaScript, and Flash files or any external file like video or sound files. If you have mouse over image effects also remember to copy the active and passive versions. However if the site were larger then you can use a tool like HTTrack website copier http://www.httrack.com/ it is free released under the GPL license and works perfectly to copy websites to your local disk. It can even be programmed to change the extension to HTML. Good luck Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336333 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFML broadcasting app
This is much bigger than a CFML issue... I could, and for the unfortunate bystanders, have talked for hours about the problem of email. We are a website design and Hosting company and yet my biggest expenditure in time and resources goes to email and email issues. - oops I started pontificating again. The real trick is to have granular control of your sending email server. We have a SMTP server specifically for the sending process. Our main POP/SMTP email server like most today can easily handle more than 512 simultaneous SMTP threads however the sending server, the one used to send out notifications and newsletters, is set to 32 outbound threads and 512 inbound threads. This allows CF and our listserver to send email to the sending relay as fast as it can but throttles the actual outbound delivery to a manageable level so as not to overwhelm other services like AOL, which grey-list automatically, yahoo or Gmail. It takes longer to deliver but it does get delivered and we stay off block lists. You just have to remember to be polite, which sometimes the fast technology forgets to do. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336097 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: UBBCode img tag exploit
DP_ParseBBML) has this flaw, I just tested it. I looked at all the open source CF based forums I could find and they all had the same flaw. Many used the DP_ParseBBML module or some variation on it. Basically, I think if you prevent conversion of images with quotes, this goes away. That was my thinking as well. Or more precisely what I knew would stop the existing attack. What I did was modify the [IMG] conversion routine to disallow both standard and single quotes either base or encoded. I also disallowed semi-colon ; because that can be used to chain script commands. But I am sure this is not a proper sanitization of the input. src = replaceNoCase(src, #chr(34)#, , ALL); src = replaceNoCase(src, #chr(39)#, , ALL); src = replaceNoCase(src, %22, , ALL); src = replaceNoCase(src, ;, , ALL); src = replaceNoCase(src, %3B, , ALL); I still feel this is a stop-gap or just a response based approach and does not fully sanitize the input. I was hoping someone had existing code that did, because as I said it was a freebie. There is nothing like the panic of 13-16 year olds who get to see gay porn because a redirect was imbedded in the [IMG} tag of their favorite video game web forum. If anyone has better ideas to prevent this type of abuse please share them. Teenagers intent on doing mischief can be very clever and I am starting to slow down a bit. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336013 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Output newest one item from each category
I was actually thinking about this and like yourself have not found a way to do it in one query. I have a crude solution. This assumes you only have the one table. In either case you need to get a unique list of the categories then loop over it to create a dynamic query. cfquery name=category Select Distinct catg as 'thecategory' From newsletters Order by catg /cfquery cfquery cfloop query=category Select top 1 nldate, catg, nltitle From newsletter Where catg = '#thecategory#' Order by nldate desc UNION /cfloop Select top 1 nldate, catg nltitle From newsletter Where 0=1 Order by {column number} /cfquery It may be crude but this approach at least puts all your date into one query object. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335927 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: SQL Server Performance
hardware improvement options and need to quantify (as much as possible) performance increases In my limited experience with MSSQL the best investment is improved Hard drive speed and/or throughput and increased memory. They are usually the bottlenecks. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335872 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: www.cbo.gov down. CF to blame?
How would you respond to well the cbo.gov, it's running on coldfusion. so no big shock there If forced to I would explain to them their lack of knowledge on how things work, their simplistic view of complex technical issues and then to ward off the inevitable look of surprise at their perceived insult tell them the Steve Wright joke about him walking up to a 7/11 store just as the clerk was hanging the closed sign where he informs the clerk that the store's hours were listed as 24 hours 7 days to which the clerk replies not in a row! Then if they didn't laugh and see the error of their ways I would follow Dave's advice because I have found that it is easier done than said. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335806 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: www.cbo.gov down. CF to blame?
Rep: How many requests per hour do you handle on a server? Us: About 50,000. We have this little server running a 2ghz Celeron with 1gig of memory on 7Krpm IDE drives win2003 IIS6 and CF5 talking to a networked MSSQL server and it routinely handles on average 1.1 to 1.6 million requests per day (45K to 60K per hour). It was suppose to be a low traffic hobby website that somehow became marginally popular. That is why I swear by CF. It taught me quite a bit about optimizing code and queries and it doesn't miss a beat. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335835 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
UBBCode img tag exploit
I am wondering if anyone has a UBBCode to Html conversion for the [IMG} tag that will sanitize the input to prevent XSS vulnerabilities such as adding script to the img tag. I am trying to prevent XSS like below and worse. I have a CF based forum I inherited and the UBB HTML conversion for the [img] tag is simplistic and needs replacing. I would rather not reinvent the wheel if I don't have to especially since this is a favor for someone. Any help is appreciated. [img]http://www.uxb.net/images/small-logo.gif onLoad=alert(String.fromCharCode(88,83,83))[/img] [img]fake.png onerror=alert(String.fromCharCode(88,83,83))[/img] Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335779 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: (ot) Mail servers
Curious about current experiences with e-mail server software before I start looking around for better licensing terms. Thanks! We've been using Visnetic Mail Server (windows) which is essentially a re-packaged Merak or IceWarp Mail server and have had very good luck with it. It has a full feature set, filtering, ant-spam, anti-virus, web/pop/IMAP/Groupware/IM ... etc and it is blazingly fast and stable. However the upgrade path is now to IceWarp directly and they seem to have gotten delusions of grandeur, bordering on the psychotic, in their pricing. I have looked at Mailenable which seems to have all the features but at a fraction of the price. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335166 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Windows SQL 200X Full Text search query quandry [spamtrap heur]
Paul, SUBSTRING(URLdescription,PATINDEX('#Searchstring#',URLdescription),256) That worked perfectly. I had never used the PATINDEX command before so I overlooked it completely. A little massaging of the search string to make it a wildcard matching pattern and all is well. Thank you. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334975 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Windows SQL 200X Full Text search query quandry
I on a project we are using the SQL 200X internal Full Text catalog to search the database and it is finding the correct data just fine. However, the client would like me to pull a summary of the data that matched the text search out of the database. Just the summary of the section of the data that matched. I am unsure if I can do this. There are two ntext fields that that may contain upwards of 8K in text data that we are searching. My question is how do I construct a search query to get a 256bte section of the ntext field that contains the matching criteria? The existing Query consists of several joined queries with different weights each excluding the data set from the previous query. To keep it simple, Here is a sample of one section of several joined queries. SELECT (KEY_TBL.RANK * 1) AS RANK, ID ,URL, URLName, URLTitle, URLRating, URLImage, CAST(URLDescription As nvarchar(256)) AS URLDEsc, CAST( URLKeywords As nvarchar(256)) AS Keywords FROM URLs AS URLTable INNER JOIN FREETEXTTABLE (URLs, URLdescription ,'#Searchstring#', 20 ) AS KEY_TBL ON URLTable.ID = KEY_TBL.[KEY] How would I pull just the 256 byte section of the ntext field URLdescription that matches the searchstring? Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334941 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Serving Files via cfcontent - how much processing is required
Mark: otherwise I would say use mod_xsendfile I have sort of gone down the IIS road but have found a company that has an Apache emulator ISAPI that is willing to add that functionality to their product. http://www.helicontech.com/ape/ I will see what they come up with. Dave: A symlink is just a pointer. http://en.wikipedia.org/wiki/NTFS_symbolic_link I was indeed misunderstanding your original post and its intent. This may have real possibilities and I will have to look further into testing the practical application of generating and deleting them programmatically. I still favor the mod_x-sendfile methodology available in Apache which puts the burden on the correct layer, the web server, to do the heavy lifting and will have to see if it can be added to IIS. William: I would highly recommend using a Content Delivery Network like Mosso Files to store your files Over the past 3 years I have looked at various Content delivery services, although not at Mosso, and all have been a magnitude more expensive at the volume we run over our current methodology and with no way to control costs. In this particular endeavor we have more time than money to spend. The intent was always break even. And while not perfect, close enough is better than all others have done in this particular niche market (Halo Custom Edition). Gentlemen, Thank you for your responses they have all helped and given me much to think about and digest. Thanks again. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334659 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Serving Files via cfcontent - how much processing is required
Greetings, I am hoping to pick some of your brains. I find myself in a quandary. If you will indulge me I will explain the situation as briefly as I can. We current have a website, several really, that are fairly heavily trafficked about 12 - 18 million pages per month primarily used to obtain video game maps and assets for the games. The website is not the issue since we store the actual files for download on remote servers and link people to them for download via FTP. For the past 3 years this has been working fairly well. We average over 15,000GB / Month in file traffic and serve an average of 350,000 Files /month using this method. We have recently upgraded our remote servers to Athlon 64 X2 3400+, DualCore 64 Bit, 2x 1.8 GHz, 4 GB DDR2-RAM Win2008 X64 Web IIS7 with substantially more bandwidth availability. Since it is a newer OS I was unable to use the old CF5 installation on the remote server and since only needing minimal functionality installed Tomcat and Open BlueDragon for the CFML engine. This seems to work as before since we only use cf on the remote servers to check if the file exists before sending them to the ftp. In other applications I routinely use cfcontent to serve protected files on extranet applications however the traffic ( 10-20 files/day) is nowhere near as rigorous as will be required here with 12,000 per day of 40Meg average per file. I am considering serving the files now through cfcontent via HTTP instead of FTP for a couple of reasons. 1) because most Internet Security programs block FTP and we have to help people (mostly kids) open the port and 2) to prevent direct linking to the files because this endeavor is funded by ads on the website (and my wallet). I know the most efficient way to serve this quantity and size of files is via ftp but what I don't know is what is required by the various CF engines AdobeCF, OpenBD, Bluedragon, Ralio to serve up the same via HTTP. Will our new server hardware handle that kind of HTTP file traffic (I suspect so), will OpenBD/Tomcat be up to the task or will I need a different CFML engine? Essentially what I need to know is what it would take to routinely serve that many/size files through the CF engine. I don't want to go down this road and find that people are having problems downloading because the CF engine / Web server can't keep up. Has anyone had experience with this and can you offer some advice? Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334625 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Serving Files via cfcontent - how much processing is required
My advice for you would be to avoid using CFCONTENT for this, as it's really not designed for this. That was my feeling as well. I have always tried to stay away from much file manipulation with the CF engine since, as you say, it wasn't designed for it. The alternative I'd recommend would be the use of temporary symlinks. This was another thought as well but the issue there is moving those files back and forth programmatically with CF. I thought that it would use as much processor/threads as actually serving it up. I see PHP sites do it but I am not sure if they have other ways to handle the actual transfer of the file via the web server with a re-direct utility or something. After I sent the email I remembered that the CoolFusion guys had an authenticator ISAPI filter for IIS which essentially runs a CF script before allowing access to the file through the web server. I just don't know if it will work on 64bit IIS7 and am waiting for their reply via email. I am looking for any and all ideas and opinions on this subject since I have yet to find a full solution. Thanks! Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334629 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Serving Files via cfcontent - how much processing is required
Well, creating a symlink is a very easy thing, and it doesn't take nearly as long as serving a file Maybe I am misunderstanding this concept. Could you provide a loose example. Thanks. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334631 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: imageRead plus imagepaste plus imageGetBlob issue
You are right though, I am most likely headed to a solution that involves watermarking the images permanently. If the images are never going to be used on the site without a watermark then you will save substantial processing time by doing so. We have a website that allows people to upload a picture which we mark, then they can caption them aka lolcats.com style. So a particular image could have many different captions marked on it. When I first designed it all watermarks were on the fly but after a few days of testing I found I was bogging the server down with extensive processing even though as you say there was a satisfaction of the magic behind it. Now instead we mark the images once and save copies and reference them. It takes up more space but hard drive space was a lot cheaper than more processing power. You can see it here: http://www.lameorgame.com Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334274 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF Domain Redirects
I'd like to have domain.com automatically redirect to www.domain.com. Assuming you own both domains then this should be done in the DNS not the web server or CF. The A record of both domains should point to the same IP number which is one website. Should I be doing this type of redirect in IIS 6 instead of CF? If you don't care what is displayed in the browser address field, domain1.com or domain2.com, then you can set the website to have multiple identities in the IP address field advanced Tab so the website responds to either domain. If you actually want someone who types domain1.com into their browser address field to then have their browser change to domain2.com then you will need to do a redirect and the best way is to set it up in IIS not in CF because then the web server will perform the redirect before a page is processed. Are the any search engine related penalties to doing any of these redirects? YES. Search engines do not like redirects and as someone else said they are bait and switch behavior. Each search engine will handle 301 or 302 redirects differently with different penalties based on that particular search engine. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334276 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF Domain Redirects
Dennis, I decided to use an IIS redirect. I'm curious to know what penalty a redirect would be in say Google's eyes. As I indicated each spider handles 30X redirects differently. Justin pointed you to Google's rules which bears repeating: http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.ht ml The rule of thumb I use is if the spider has to do anything extra to get the data then try not to do it. Or the corollary is the spider should only ever get a 200 OK response when visiting. We have a number of clients that have multiple domain names pointing to the same website and the only times we issue a redirect is if the client insists that the browser address bar show the new domain name or if there is a technical issue such as an SSL certificate or domain cookies used in a shopping cart. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334297 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF Domain Redirects
I pressed send to quickly: Also this is good reference for Google: http://googlewebmastercentral.blogspot.com/search?q=301+redirects Quote: Enable crawling and use 301 (permanent) redirects where possible Where possible, the most important step is often to use appropriate 301 redirects. These redirects send visitors and search engine crawlers to your preferred domain and make it very clear which URL should be indexed. This is generally the preferred method as it gives clear guidance to everyone who accesses the content. Keep in mind that in order for search engine crawlers to discover these redirects, none of the URLs in the redirect chain can be disallowed via a robots.txt file. Don't forget to handle your www / non-www preference with appropriate redirects and in Webmaster Tools. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334298 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Query Results sent from search engines CGI variable?
I have a client who wants to make their site more user friendly when someone is sent to them from a search engine. What they want is when someone comes from a search engine link that we obtain the original search query (if sent) and in addition to showing the requested page present a list of other items from their site matching an internal search result using that criteria. I know that many search engines send the original search query over to the website I am assuming in the header because I can obtain that information from the web-server log reports. What I don't know is if it is available in the CGI variables Cold Fusion can get from IIS6. Does anyone know if they are available and how to programmatically extract them for use within Cold Fusion? Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334196 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Capturing a Flash Site Screen Shot
I apologize if this information is not applicable since I have come into this thread late. But If you are looking for a screenshot program that captures flash websites and can be accessed via a cfexecute command I have had very good luck with SiteShoter from Nir Sofer. It has been more stable than any other screenshot program we have ever tested and we tested a dozen of them and beast of all it is offered as freeware. http://www.nirsoft.net/utils/web_site_screenshot.html -Original Message- From: Jibu S [mailto:jib...@gmail.com] Sent: Friday, May 28, 2010 4:27 AM To: cf-talk Subject: Re: Capturing a Flash Site Screen Shot ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334201 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Remove multple EXTRA spaces from string
I am having a senior moment and can't for the life of me figure this dumb thing out. I am trying to remove all extra spaces from a string but leave the single space there. Example: var=this has many extra spaces and return with this has many extra spaces Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333110 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: cfhttp Connection Failure
http://www.cftagstore.com/tags/cfxhttp5.cfm Anybody here use the tag? I've just purchased it to use with a site we have in development that needed to selectively Spider individual member web sites and have been impressed with it. I was using the cfx_http that was produced by Follett Software in 2000. It was better than CF5's HTTP but we found some repeatable stability issues when under load and we also had to hand code the 30X redirects. Cfx_HTTP5 however fails gracefully on nonexistent URL's, has not shown any issues under (our) load as the others did, automatically handles 30X redirects and is faster than cfhttp and cfx_http. I am not using all its features but the ones I am using work very well. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333115 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Remove multple EXTRA spaces from string
This appears to work for me: cfset string = rereplace(string,( +), ,all) And for me as well. smile Thank you very much. It has been a long week today. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333116 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Regex to remove script and style blocks
I have two mental blocks Secure certificates and REgEx. I am sure therapy might help smile but right now I just need to someone to tell me where I am going wrong. The rereplace does not seem to work. cfset newString = rereplaceNoCase( string , '(?m)script\b[^]*.*?/script' , '' , 'all' ) These are the actual code snippets I am trying to remove from a page: script type=text/javascript var gaJsHost = ((https: == document.location.protocol) ? https://ssl.; : http://www.;); document.write(unescape(%3Cscript src=' + gaJsHost + google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E)); /script script type=text/javascript try { var pageTracker = _gat._getTracker(); pageTracker._trackPageview(); } catch(err) {}/script/head -Original Message- From: Charlie Griefer [mailto:charlie.grie...@gmail.com] Sent: Wednesday, April 07, 2010 3:22 AM To: cf-talk Subject: Re: Regex to remove script and style blocks See http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172 e0811cbec0a38f-7ffb.html for the flag to trigger multi-line capabilities in regex. (?m)script\b[^]*.*?/script should do it. cfset newString = rereplaceNoCase( string , '(?m)script\b[^]*.*?/script' , '' , 'all' ) On Tue, Apr 6, 2010 at 9:29 PM, UXB Internet denn...@uxbinternet.comwrote: I am at a loss as to how to structure a regex to remove a JavaScript block from a file using CF5. What I am trying to do is remove the script and everything including and between /script. something like this: script language=JavaScript !-- JavaScript code here // -- /script I have tried this but it give me and error: Bad regular expression cfset Newstring = ReReplaceNoCase(string,script.*?.*?/script,, all) Assistance would be appreciated. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332715 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Joni Mitchell and Cold Fusion
They keep shutting it down for overloading the server - asking me to streamline the code to avoid continued violations. What does overloading the server actually mean in their parlance? Is it consuming too much bandwidth or too much CPU or memory? All three have different possible solutions. And Yes I am a fan but probably not the right person to streamline code. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332721 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: using cfhttp
We use a product called servers alive to monitor websites, servers, email, disk space, folders (ex cfmail rejected folder) and just about everything you can imagine. It outputs to a web page, does email and/or sms messaging notifications and is a jack of all trades for monitoring things. I can highly recommend it. http://www.woodstone.nu/salive/ ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332750 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFHTTP and 30X Redirects
Thanks Dave. I thought as much and I guess I guessed appropriately in breaking the loop at 5 smile Previous versions of this specification recommended a maximum of five redirections; some clients may exist that implement such a fixed limitation. -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Wednesday, April 07, 2010 8:57 PM To: cf-talk Subject: Re: CFHTTP and 30X Redirects My question: Is there a limit on how many time a URL can be redirected? Not really: http://en.wikipedia.org/wiki/URL_redirection#Redirect_loops Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332752 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Regex to remove script and style blocks
I am at a loss as to how to structure a regex to remove a JavaScript block from a file using CF5. What I am trying to do is remove the script and everything including and between /script. something like this: script language=JavaScript !-- JavaScript code here // -- /script I have tried this but it give me and error: Bad regular expression cfset Newstring = ReReplaceNoCase(string,script.*?.*?/script,, all) Assistance would be appreciated. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332684 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Change JRun's 404 message?
In your IIS settings, there should be an option for the ISAPI filter or extension mapping called Verify that file exists. This will break various things in CF, however - charting, CFIMAGE, RDS, Flash Remoting. Will just enabling the Verify that file exists setting in IIS break things or were you just referring to using a 404.cfm file? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331837 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: directory protection
I have used this product with great success. http://www.coolfusion.com/products/iAuth/ -Original Message- From: Scott Mulholland [mailto:smulholl...@aimg.com] Sent: Friday, February 12, 2010 10:38 AM To: cf-talk Subject: SOT: directory protection We have an app with a protected area that just using a basic session check in application.cfm. In the protected area there is a directory of PDFs. No one can access them through the app without logging in. If the person knew the url to the pdf though it would serve since application.cfm would not run to check the session. Is there any quick way to secure these? Maybe with windows authentication? I know we could make a cfm page to look up and serve the file so the link to the pdf is never exposed but these are uploaded via a cms and the link put into the page by the client that would be more of a training exercise to make sure they are using the right link to the pdf, etc. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330677 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT - Anyone know of a WEB spider that stores data in MSSQL Database
Good day, We have a client that has a requirement for indexing about 2-3 million pages of web pages (industry specific sites) to make them searchable within their existing website. The requirement is for this data to co-exist with existing data in their existing MSSQL server to make it searchable using MSSQL's free-text search functionality alongside existing searches. I am hoping that someone might have run across a windows based web spider that has this functionality. They are willing to purchase something if reasonable. I have looked at a couple of web spiders like Innerprise and some shareware items but all seem to either no longer be supported or don't interfacing with MSSQL. The open source spiders/search packages I have looked at all have their own indexing/searching engine or use MySQL as a data source. So can anyone direct me to a web spider that stores data into a MSSQL database. To make this (almost) on topic we are using CF for the existing site and new features :) Thanks. Dennis Powers UXB Internet - A Website Design Hosting Company ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328652 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
FW: Cold Fusion 5, Windows 2003 PCI compliance
I hate to resort to pleading but Is there no-one on this list that has any experience with PCI conformance and Cold Fusion 5 willing to share their experience? Or at least point me to someone who does have the knowledge? -Original Message- From: UXB Internet [mailto:denn...@uxbinternet.com] Sent: Friday, May 29, 2009 12:41 PM To: cf-talk Subject: Cold Fusion 5, Windows 2003 PCI compliance I am wondering if there is someone on the list who has experience in Cold Fusion 5, Windows 2003 IIS6 PCI compliance scans and resolution. I have an issue with one server that I need someone to consult with and am hoping that some kind knowledgeable soul is willing to talk to me off list and maybe point me in the right direction. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 Http://www.uxbinternet.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323115 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Email via cfmail tag goes to junk folder
I am using cfmail to send out emails. For some users it goes to the junk mail folder. When I remove the link it goes to the Inbox Welcome to the wonderful and exciting world of a broken email system. The abuse is so great that legitimate email is often incorrectly identified as spam/junk. Since there are so many types of spam filters you may never get the correct setting to get it through for every user. All You can do is ask that they add your address to their safe sender list. You cannot force them or guarantee delivery to their inbox regardless of the message. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 Http://www.uxbinternet.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323121 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Inserting blobs using cffile into MSSQL05
I wrote the section below to insert PDF files directly into my database. For some reason it sometimes works and sometimes it doesn't. I converted file_blob into base64, saved it into the database and retrieved it but it was still truncated and corrupted. Be sure that the Database driver does not have a limit set for Long Text Retrieval. You may need to bypass/disable it for your particular database connection. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 Http://www.uxbinternet.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323122 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Cold Fusion 5, Windows 2003 PCI compliance
I am wondering if there is someone on the list who has experience in Cold Fusion 5, Windows 2003 IIS6 PCI compliance scans and resolution. I have an issue with one server that I need someone to consult with and am hoping that some kind knowledgeable soul is willing to talk to me off list and maybe point me in the right direction. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 Http://www.uxbinternet.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322981 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Cold Fusion Twitter API for CF 5.X
Philip, To be more specific, you can use plaintext REST calls to interact with the Twitter API. I haven't delved into the API in detail as of yet and hoped someone had already developed a tag or routine that did the heavy lifting. The client wants it to be built into his website administration tool and essentially be able to post automatically formatted updates to THEIR twitter page as content is added to the website. Dennis -Original Message- From: Philip Kaplan [mailto:pkap...@gmail.com] Sent: Wednesday, May 20, 2009 4:32 PM To: cf-talk Subject: Re: Cold Fusion Twitter API for CF 5.X basic authentication To be more specific, you can use plaintext REST calls to interact with the Twitter API. The only difference is you have to ask people for their Twitter passwords, which they might not want to divulge. On Wed, May 20, 2009 at 1:31 PM, Philip Kaplan pkap...@gmail.com wrote: For Coldfusion 5, I'd just use basic authentication, not oAuth. For newer versions of CF, use oAuth. Let me know if you need help with this - I've got it working. On Wed, May 20, 2009 at 1:03 PM, UXB Internet denn...@uxbinternet.comwrote: I should know better by now but does anyone know of a cold fusion tag for interfacing with the Twitter API that... wait for it ... works in Cold Fusion 5.x? I know about the ColdFusion Twitter Lib at RIAForge however it is a CFC and will not operate on CF5. Pathetic I know but that is what the client wants. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322687 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Cold Fusion Twitter API for CF 5.X
I should know better by now but does anyone know of a cold fusion tag for interfacing with the Twitter API that... wait for it ... works in Cold Fusion 5.x? I know about the ColdFusion Twitter Lib at RIAForge however it is a CFC and will not operate on CF5. Pathetic I know but that is what the client wants. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322679 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: File upload suddenly stops working
no longer able to upload files to their website via HTML forms. The code was written 6 (?) years ago on CF5/IIS/Win2000 using CFFILE. We had a case a while ago where a client using a similar cffile upload script/HTML form suddenly couldn't upload files through their admin page. The problem was that their anti-virus/internet security program on the client PC was blocking the upload and would not send the data in the form. I couldn't replicate it until I went to their location and saw the issue in person. Temporarily disabling the firewall allowed the upload. They eventually called Symantec tech support and was given instructions on how to allow the post to go through. I see this type of thing a lot on another website that uses FTP for download. The Internet Security programs close off port 21 by default and most all but the basic HTTP, SMTP POP3 ports. Now they are blocking all traffic not going through their own proxies and need exceptions for just about any outbound traffic. -Dennis ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322295 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
serving images with cfcontent to firefox browser with deletefile=yes
I am hoping someone can shine some light on a problem I am having with serving an image through cfcontent on a web page. I am using a CF5 server (all hotfixes applied) and doing some image manipulation (adding text) to an image. The back end image manipulation works fine (using Juka Manor's CFX_image) and I am serving the image through CFcontent within the img tag on the page. IMG SRC=image.cfm?img=#PreviewImage# border=2 The image.cfm file at its basic is: cfsetting enablecfoutputonly=Yes showdebugoutput=Yes CFHEADER NAME=Pragma VALUE=no-cache CFCONTENT TYPE=image/jpeg DELETEFILE=Yes FILE=#Expandpath('#ImageTemppath##img#')# cfsetting enablecfoutputonly=No showdebugoutput=Yes This all works perfectly with and IE browser. However when I use a Firefox browser it works once then when submitted again (user makes changes) the resultant page is pure text display of the HTML code. It also does not delete the temp image on the server. If I refresh the page it works again (creating a new temp image - then deleting it) but a new submission and it shows the HTML code in text again. This is 100% repeatable. However if I set the DELETEFILE attribute of the cfcontent tag to NO it works in firefox as it does in IE every time. What am I doing wrong? How can I serve the temp image to firefox and delete it? Is it me or am I going crazy? Dennis Powers UXB Internet ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322112 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: serving images with cfcontent to firefox browser with deletefile=yes
reset=true is always a good parameter to have when doing this kind of work. I agree but Reset=yes is the default and I have tried yes and no and even removed everything from the image.cfm file but the cfcontent tag and still there is something that Firefox refuses to render if the deletefile=yes. If it is set to no I can run and have run 20-30 repeated submissions without an error. But set to yes and it works once then each submission after that the browser renders the page as plain text. I am frankly stumped and am thinking it is the webserver. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322116 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: better mass mailing
Mike, Did you ever find solutions to this? I too am interested. -Original Message- From: Michael Dinowitz [mailto:mdino...@houseoffusion.com] Sent: Thursday, April 30, 2009 11:51 AM To: cf-talk Subject: better mass mailing Till now I've been using iMS to send out list mail. The advantages are that iMS will do a single connection to a mail server and send all messages for that mail server on a single connection. This is important when combined with its ability to set tokens in an email which will be replaced with unique values (such as a recipient's id). If I was to do the same with CF, it would generate 3,000 unique emails per cf-talk post. This does not have the single connection efficiency that iMS does. So here's the question. Does anyone know of a tokenized mass mailing application? iMS still works for me but I'm looking towards the future. Thanks -- ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322118 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: It WAS working I tell you...
Try eliminating the ASC in the order by clause. Access orders ascending by default. Use: ORDER BY CategoryName Instead of ORDER BY CategoryName ASC Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: Tilbrook, Peter [mailto:Peter.Tilbrook;abcb.gov.au] Sent: Wednesday, October 23, 2002 7:06 PM To: CF-Talk Subject: It WAS working I tell you... I'm getting this wierd error under CFMX (with updater applied) with the following query: cfquery name=LookupCategories datasource=#DataSourceName# SELECT CategoryID, CategoryName, CategoryDescription, CategoryAdded, CategoryCreator FROM Categories ORDER BY CategoryName ASC /cfquery The error I am getting is: Error Occurred While Processing Request Error Executing Database Query. [MERANT][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1. The Error Occurred in C:\CFusionMX\wwwroot\coldbookmarks\qry_categorylist.cfm: line 8 Called from C:\CFusionMX\wwwroot\coldbookmarks\index.cfm: line 140 Called from C:\CFusionMX\wwwroot\coldbookmarks\index.cfm: line 176 Called from C:\CFusionMX\wwwroot\coldbookmarks\qry_categorylist.cfm: line 8 Called from C:\CFusionMX\wwwroot\coldbookmarks\index.cfm: line 140 Called from C:\CFusionMX\wwwroot\coldbookmarks\index.cfm: line 176 6 : ORDER BY 7 : CategoryName ASC 8 : /cfquery ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=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
SQL Question multiple OR's or IN () with Access
Hi, I could use some sage advice. We have a project that needs to be in access (do not ask or tell as to why) and have a condition where we need to construct a dynamic query. What I am looking for is not necessarily the best SQL construct but the one that is less intensive and therefore troublesome to the Access ODBC connector. Remember I am looking for the less troublesome query for the access ODBC connector (and yes it MUST be access sigh). The variable Nodelist will always return a list of 1 or more comma delimited numbers Here is some stripped down code: cf_childnodes parentitemid=#Level# Datasource=#App_db# !--- returns comma delimited numeric list in variable 'nodelist' --- Use this query? cfquery Name=qry1 SELECT Item_ID,, Product_Name FROM ProductSeries WHERE ( cfloop index=lvl list=#nodeList# delimiters=, (ItemID=#lvl#) OR /cfloop (1=0)) ORDER BY Product_Name /cfquery Or this query? cfquery Name=qry2 SELECT Item_ID,, Product_Name FROM ProductSeries WHERE (ItemID IN (#nodelist#)) ORDER BY Product_Name /cfquery Any and all recommendations are greatly appreciated (other than go with SQL). I am trying to make this project scale to the limits of what Access can handle (with all reads never a write) by constructing the queries that will give the best performance and less trouble with CF and access's odbc connector. Yes it's a NT4.0 server. Thank you in advance. Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: Reverse PDF tools
I did some research on it once and found these. I haven't used any of the products. http://www.iceni.com/frescoSet.html http://www.iceni.com/argusSet.html http://www.iceni.com/soloSet.html http://www.research.compaq.com/SRC/virtualpaper/pstotext.html http://www.imagesolutions.com/ http://www.bcl-computers.com/products/products.htm http://www.convertzone.com/pdf2txt/ http://www.palmtop.net/super6.html http://www.pdftoall.com/ Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 10:44 AM To: CF-Talk Subject: Reverse PDF tools Ok... I know I can take HTML or other doc formats and automate the process of converting them into PDF format. Does anyone know of a tool that can do the reverse? I need to unpack a PDF page into source images and text. Anyone? -mk ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: Converting PDF's to text
Jillian, I have done some research on the same subject except for the windows platform, some of theses links may help you out. I think the http://www.iceni.com/ may be of interest for cross platform products. http://www.convertzone.com/pdf2txt/ http://www.iceni.com/argusSet.html http://www.iceni.com/soloSet.html http://www.research.compaq.com/SRC/virtualpaper/pstotext.html http://www.imagesolutions.com/ http://www.bcl-computers.com/products/products.htm http://www.palmtop.net/super6.html http://www.pdftoall.com/ Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: Jillian Carroll [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 02, 2002 11:37 AM To: CF-Talk Subject: Converting PDF's to text I'm faced with a bit of a problem here... I've got a client who is hosted on my CF 5 (soon to be CFMX once I can get CFMX to run stable in my testing environment) box on Linux. This client has a need to search through PDF's... well it has become very apparent that CF on Linux will not index PDF's... even though it will under Windows. With that said... I need a solution. One idea I had was to find a utility that would convert PDF's to text files and then search them, but point the search results back to the PDF itself. Has anybody had to design a workaround for this problem? Does anybody know of a good utility to help me with this task? Any help would be appreciated. -- Jillian ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
RE: Just Curious (Redirects)
As a side note the latest version (3.5) of Website has built-in error page functionality and it can handle any type of page, html, cf, asp, ihtml... etc. Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: Lee Fuller [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 10:27 AM To: CF-Talk Subject: Just Curious (Redirects) Curious as to what everyone is using for IIS 5 and a error-redirect processor? IEP was something many of us used for redirecting 404 (and other) errors in Website Pro. But with IIS.. What are y'all using? TTAIA __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Web imposed limits?
Hello, As end user data rates get faster and more companies are turning to web based intranets our web applications are getting larger. I am starting to worry about some of the limits imposed by the client's browser. So I was wondering if anyone could point me to some material that describes these limits. There are others that I am concerned about but the following is a short list of current concerns: Web Browser: 1) What is the maximum size a URL (and variable tokens) can be? 2) What is the maximum size of a form variable? 3) What is the maximum amount of data a select box can handle? 4) How much data can you send to a web browser (and be displayed)? Cold Fusion: 1) What is the limit of a verity collection? (CF4.0 CF 5.0) 2) How many records of a database can verity index? (CF4.0 CF5.0) Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: SSL
Not free but, try Instant SSL $49.00 www.instantssl.com Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: Brian Thornton [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 5:41 PM To: CF-Talk Subject: SSL Anyone know of and online, live, and temp. free SSL certs. Thanks, Brian __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: SSL on form submission
Chad, In a previous thread in a different mailing list Lynn Taylor concisely described the SLL process as it relates to IP and IP-less domains. It so accurately described the process I saved it for posterity. [From a discussion with Lynn W. Taylor [EMAIL PROTECTED]]= Certificates are bound to domain names, no question. SSL connections are negotiated by IP address, before the domain name is passed. So, the TCP SYN packet comes in, the SYN+ACK goes back, the ACK comes in, and then SSL encryption starts. After the encryption is started, it checks the domain name on the certificate. So it stands to reason that you can put a certificate on any IP, and you can change the IP -- you just can't have more than one certificate on a single IP address+Port number. Note that this is true on any OS and any web server. ==[ end discussion ]== So in your example (http://www/form.cfm) the data passed from the server to the browser is NOT encrypted since you did not negotiate for a secure connection and the browser will not indicate that it is secure. If there is nothing in the data used to display the form that needs to be secure then it is technically OK, however, the user cannot tell if the data he is entering will be sent back via a secure connection unless he looks at the form code. Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: Chad Gray [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 10:56 AM To: CF-Talk Subject: SSL on form submission Im wondering if when a form is submitted at what point do you request SSL? Do you want the form to be covered under SSL as the user is filling it out? https://www/form.cfm Or do you leave the form http://www/form.cfm and use form action=https://www/action.cfm; method=POST enough to encrypt the data being passed to the action page? Just curious __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: multifunction anchor
Be sure that there are no spaces in the anchor name. Netscape dos not like spaces very much. Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: Craig Thomas [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 5:54 PM To: CF-Talk Subject: RE: multifunction anchor It should work with IE and Netcrap. That is standard HTML 1.0 SHOULD being the operative word! -Craig __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT: Extracting IP numbers from Outlook email headers
Hi All, I know this is off topic but... I have an outlook folder with a few hundred emails in it and would like to run some type of program to read and extract all the IP numbers from the header information in the emails for that folder. Does anyone know of an automated tool to do such a thing? It is getting tedious doing it one email at a time. Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: nuther lockin Q Redux
Monday, Tic Tac Toe. Tuesday, Thermo-Nuclear War. -grin- And now I wonder how many people here are too young to have any idea what I'm talking about...) The only way to win is not to play... Unfortunately I'm old enough to still have a 300 baud acoustic coupler and a dialer program. Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 3:12 PM To: CF-Talk Subject: RE: nuther lockin Q Redux www.camdenfamily.com/morpheus (go to cf, then CFCs). I'm going to upload my Card/Deck CFC package a bit later today, along with the first card game, HighHand. (To be followed up by BlackJack. ;) Raymond, why such simple card games? I expected Magic the Gathering type applications outta you. ;) Monday, Tic Tac Toe. Tuesday, Thermo-Nuclear War. -grin- (And now I wonder how many people here are too young to have any idea what I'm talking about...) === Raymond Camden, ColdFusion Jedi Master for Macromedia Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: New artwork available!
sarcasm_mode Once you offer CFMX (official) support for Deerfield Website Pro I'll be glad to put the powered by buttons on sites we create. Us website Pro religious fanatics are always willing to jump on the bandwagon as long as you are preaching our gospel. /sarcasm_mode Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: Vernon Viehe [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 4:52 PM To: CF-Talk Subject: New artwork available! Hi All! New Powered with ColdFusion MX and various powered with/made with buttons for Macromedia products are available: http://www.macromedia.com/macromedia/style_guide/buttons/ I hope to see lots of these buttons in use! =) Vernon Viehe ColdFusion Community Manager Developer Relations Macromedia, Inc. Online diary: http://vvmx.blogspot.com/ P.S. Please forgive me if this is spamming to send this same message to various lists, just want to be sure the word is out. __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF Faxing
I haven't used their products but did investigate Proto Fax. They have free CF custom tags for their fax product available. http://www.protofax.com/ Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: Haggerty, Mike [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 10:50 AM To: CF-Talk Subject: CF Faxing I am working on a solution that would allow users to receive information from the Web site via Fax. Does anyone have experience integrating CF sites with Fax services? Are there any providers you can recommend? Thanks, M __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Ridiculous Problem!
And people ask me why I don't rush to upgrade all the time. Let me know what you find Bud, I have the same configuration (I think my dev box even has the same internal IP number ) Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: Bud [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 7:13 AM To: CF-Talk Subject: Ridiculous Problem! OK. I've got CF 4.51 on my development box. I also run WebSite Pro on the dev box, which I just upgraded to the latest version, which I'd also done on the real server with no problem. I can access the CF Login page thru http://192.168.0.5/CFIDE/administrator/index.cfm But when I try to log in I get /CFIDE/administrator/index.cfm not found The mappings are correct. I can make a link to href=/CFIDE/administrator/index.cfm from anywhere in WWWRoot and it loads fine. I've even gone so far as to create a new mapping to WWWRoot\CFIDE\ and also saved the login page source code and used a complete URL to form action=http://192.168.0.5/CFIDE/administrator/index.cfm;. 127.0.0.1 acts the same way if I try to access it straight from the dev box. Cookies are enabled. It does this from any computer hooked to the dev box. Does anyone have any clue at all what can be happening here? It's like eeevery day I get up ready to work and it's something. Like a Gremlin conspiracy to stop me from making money. -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ 954.721.3452 __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Weird, inconsistent browser behavior
Session vars and client vars rely on either cookies or URL variables to keep track of state. Remember: The web is stateless. Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: Ian Lurie [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 5:42 PM To: CF-Talk Subject: RE: Weird, inconsistent browser behavior I thought of that but the site uses session vars, no cookies necessary. -Original Message- From: Brian Fox [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 2:39 PM To: CF-Talk Subject: RE: Weird, inconsistent browser behavior Cookies disabled? -Original Message- From: Ian Lurie [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 2:32 PM To: CF-Talk Subject: Weird, inconsistent browser behavior Hi all, I've got an application on a server. If I, or anyone else I know, browse the site, it works fine. ONE person is having the following problem: When they go to the login screen and enter a username/password, they keep coming back to the login page. And yes, they're entering the right password. It seems as if their browser is ignoring the URL parameter that tells CF to go on to the next page. They're using IE 5.5 SP1 on a Windows 2000 PC. Has anyone else experienced this? Ian Portent Interactive Helping clients build customer relationships on the web since 1995 Consulting, design, development, measurement http://www.portentinteractive.com Talk with us: http://projects.portentinteractive.com __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
ColdFusion Server 5.0 trial download?
Vernon Viehe [mailto:[EMAIL PROTECTED]] said: Since CFStudio is no longer a product for sale, there's no trial of it. How about CF Server 5.0 is the upgrade from 4.0.1 still available for us slow to adopt and you aren't supporting my web server with MX people? Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: ColdFusion Server 5.0 trial download?
Todd, We are a small firm and place a high value on functional stability. We are purposely not on the bleeding edge of the technological curve. For our market this wait and see attitude has served us very well. We waited for 4.5 to see heavy use and it never seemed to be as stable as 4.0. So we were waiting for masses to test 5.0 for us and now CF5.0 seems to be a stable product. Due to unexpected external circumstances we did not purchase the CF5.0 upgrade before the MX release. The introduction of MX looks interesting but hasn't seen mass use yet so we'll wait a while. Besides, MX does not support our web server Deerfield Website (formerly O'Reilly website pro). We can't use it right now without switching web servers, and I cannot afford the time such a task would entail, to say nothing of the cost. And No we will never use IIS, I would go out of business before switching to IIS, as irrational a statement as that may sound. I have queried Macromedia via email on acquiring a CF5.0 upgrade and I awaiting their response. If I don't hear from them by Monday I guess I'll have to start calling Software supply houses to see if someone has a copy or two on the shelf I can purchase. Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 12:43 PM To: CF-Talk Subject: Re: ColdFusion Server 5.0 trial download? Dennis, Sounds like you'll have to go straight from 4 to MX. Should have bought 5.0 after 5.0 was released. :/ ~Todd On Fri, 31 May 2002, UXB Internet wrote: Vernon Viehe [mailto:[EMAIL PROTECTED]] said: Since CFStudio is no longer a product for sale, there's no trial of it. How about CF Server 5.0 is the upgrade from 4.0.1 still available for us slow to adopt and you aren't supporting my web server with MX people? Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: milonic menu problems
Ewok, Here is an article (someone else posted a while ago) that explains what you are seeing: http://www.webreference.com/dhtml/diner/seethru/index.html Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: Ewok [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 4:54 PM To: CF-Talk Subject: milonic menu problems This is more than likley a problem with the menu and not CF but I figured someone here has probably used it and may have encountered the same problem... Im using the milonic menu from http://www.milonic.co.uk (nice menu) but if a sub nav pops out over a SELECT or CFSELECT form field the nav hides behind the filed. It does not however hide behind any other form types. I've searched their site and forums with no luck. Any help is greatly appreciated. Ewok __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: ColdFusion Studio 5.0 trial download?
How about CF Server 5.0 is the upgrade from 4.0.1 still available for us slow to adopt and you aren't supporting my web server with MX people? Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: Vernon Viehe [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 4:36 PM To: CF-Talk Subject: RE: ColdFusion Studio 5.0 trial download? Since CFStudio is no longer a product for sale, there's no trial of it. HomeSite+ is the replacement for CFStudio, and the only way it's sold is bundled with Dreamweaver MX, though it doesn't come in the trial version of DWMX. While there isn't a trial of HomeSite+, there is a trial of HomeSite5, which is very similar, minus the CF IDE Stuff. Vernon Viehe ColdFusion Community Manager Developer Relations Macromedia, Inc. Online diary: http://vvmx.blogspot.com/ -Original Message- From: Carl [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 1:30 PM To: CF-Talk Subject: ColdFusion Studio 5.0 trial download? Anyone know where I can download a trial version of ColdFusion Studio 5.0? Macromedia seems to only have the MX stuff available on their site. Thanks! Carl __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Forums software
I have not used it so I don't know how well it is designed, but I sort of like the user interface on the 4UM forums package: http://www.4um.nl/ Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: Jon Hall [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 28, 2002 4:24 PM To: CF-Talk Subject: Forums software I am looking around for a good forums software with _excellent_ performance (no looped queries!), and isn't written in Fusebox. jon __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: [style] usernames
The nice thing about using an email address for the username is that you can create an automatic forget your password retrieval system. Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 26, 2002 6:18 PM To: CF-Talk Subject: Re: [style] usernames Actually, the new lists are set up for multiple posting addresses to deal with people who have multiple. What I'm doing at the moment is bringing the new archives upto viewable spec. I'm doing the search interface as we speak. :) I just wanted to have a solid idea of what people thought of usernames and what may come up as issues. Some interesting ones here. Interesting problem. This is for the list archive login. I think that I'm going to go with the email address for now. I can always change it. Ahh... Considering the subject matter, yes I would say that email address is absolutely perfect for that purpose. Keeps people mindful of what email account they are subscribed under (assuming you will eventually allow postings/subscription changes to the lists via this interface). -Cameron - Cameron Childress Sumo Consulting Inc. --- cell: 678-637-5072 aim: cameroncf email: [EMAIL PROTECTED] -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 26, 2002 5:47 PM To: CF-Talk Subject: Re: [style] usernames Interesting problem. This is for the list archive login. I think that I'm going to go with the email address for now. I can always change it. The display will be the persons 'real name' that they sign up with. At no time will the users email address be displayed. The app is rather low security so I think that using the persons primary email address as their username will work out ok. Another design question answered, another step towards completion. :) One reason we didn't use email addresses as usernames for Neighborware was that occasionally two people (husband/wife) would share one email account. If you are dealing with a community which included low tech people, I would consider that before allowing people to use their email address as a username... -Cameron - Cameron Childress Sumo Consulting Inc. --- cell: 678-637-5072 aim: cameroncf email: [EMAIL PROTECTED] __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Windows - pesky folders
Try rd /q /s parentdir where parentdir is the name of the directory above the files? Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: Scott Weikert [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 2:37 PM To: CF-Talk Subject: OT: Windows - pesky folders Hey gang, Thanks to some annoying French kids, who managed to get access to one of our servers and dump a bunch of files on it, I've got a couple of folders (a Win2k server box, btw) that absolutely refuse to delete. Tried everything I can think of, including going to the command line. Nada. I'm not a big server guy, so I don't know all the tricks here. Can anyone point me in the right direction to clean these folders off my drive? Aside from reformatting. :) Thanks in advance, --Scott __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: List of File extensions
To state the next obvious: Internet Explorer Google Press Enter Search Read file types I tried this one and got: Results 3,170,000. Search took 0.18 seconds. The three million results was a bit daunting and I was hoping for a more direct way of getting a list of file types, especially the ones NOT listed in my windows registry as others suggested. Someone suggested http://www.filext.com/, which had what I needed for the project I am working on. Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: OT:List of File extensions
Jon, This was exactly what I was looking for. Thanks! Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: Jon Hall [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 09, 2002 6:40 PM To: CF-Talk Subject: Re: OT:List of File extensions http://filext.com/ - Original Message - From: UXB Internet [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, May 09, 2002 6:20 PM Subject: OT:List of File extensions __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: OT:List of File extensions
William, Thanks these are a great source of mime type listings which I need for another project. Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: William H. Bowen [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 09, 2002 6:36 PM To: CF-Talk Subject: Re: OT:List of File extensions Try this: http://home.att.net/~skchen/pwp-mime-type.html or http://hostutopia.com/support/s058.html HTH will William H. Bowen Webmaster ALSTOM's Energy Management and Markets Business [EMAIL PROTECTED] http://www.esca.com/ - Original Message - From: UXB Internet [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, May 09, 2002 3:20 PM Subject: OT:List of File extensions Does anyone know where I can find a fairly comprehensive list of commonly used Windows based file extensions? We are building a file archive application and would like to present an Icon and description for each of the various file types the users will upload. Example: PDF = (Portable Document Format) Adobe DOC = Microsoft Word Document XLS = Microsoft Excel Workbook tif = Tagged Image Format File ZIP = PKZip Archive/WinZip Archive ..and so on. I have a list of about 20 or so of the more common office type extensions but would like to be a bit more comprehensive. Any assistance is appreciated. Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT:List of File extensions
Does anyone know where I can find a fairly comprehensive list of commonly used Windows based file extensions? We are building a file archive application and would like to present an Icon and description for each of the various file types the users will upload. Example: PDF = (Portable Document Format) Adobe DOC = Microsoft Word Document XLS = Microsoft Excel Workbook tif = Tagged Image Format File ZIP = PKZip Archive/WinZip Archive ..and so on. I have a list of about 20 or so of the more common office type extensions but would like to be a bit more comprehensive. Any assistance is appreciated. Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CF5 MX Locking cflock
Hello, At the risk of being charged with equine abuse, I just want to be sure that I understand the locking issue. Especially since every time I think I understand some one says something to change my worldview. We are still using CF 4.0.1 so I assume that locking to prevent memory corruption is required. In the attached message, Mr. Camden implies that at some version level, and I assume it is CF5 and CFMX, locking session, application and server variables to prevent memory corruption is _not_ required. However running code within an application in two browser windows, simultaneously, using the same session (same CFID/CFTOKEN) can cause unpredictable results when manipulating memory variables in the session and application scope. To further illustrate what I think he was inferring, assume that I had a page that took an input, did a query, and then added the query count to a session variable. I open two browser windows and supply different inputs to the same template in each window. Window 1: Session.x = 1 Input = a Query time = 5ms returns a value=5 Session.x=session.x + querycount Run separately he session.x value should be 6 Window 2: Session.x = 1 Input = e Query time = 15ms returns avalue=5000 Session.x=session.x + querycount Run separately the session.x value should be 5001 However if I run the template in the two browser windows simultaneously, where cfid/cftoken is the same, I _could_ get a result of session.x = 5006 in window 2 since window 1 finished first. Is this correct? It appears as if I have never _really_ understood the reasons behind the locking issue and only just the safety guidelines, so any and all help is greatly appreciated. Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: UXB Internet [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 6:17 PM To: CF-Talk Subject: RE: CF Wishlist -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 4:38 PM To: CF-Talk Subject: RE: CF Wishlist cflock is _not_ necessary for memory issues anymore. You still need it for logical reasons. For example: application.x = application.x + 1 Without locks, it's possible two threads could run the same code at once. Instead of x being x+2, it would be x+1. === Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: UXB Internet [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 4:25 PM To: CF-Talk Subject: RE: CF Wishlist To stay on topic, and most likely cause more trouble, I on the other hand would like cflock to go away and not be necessary for session, application or server variables. It is my firm belief that variable locking should be part of the core CF engine and not part of the higher level scripting language. Especially since it appears to always be required. As much as I understand the reasons for it's current existence in a multi-threaded environment, cflock still has the appearance of being a patch to a design flaw. Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: David Schmidt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 12:42 PM To: CF-Talk Subject: CF Wishlist Ok, Have carefully considered what I want from CF, the most striking feature I want to see is... Stop treating empty list items as null. That is a list of 3,5,,,3,2,2 should have a length of 7, instead of 5. Doing this would nearly eliminate the need for any field names like name=cost_#i#, since HTML sends back 3,5,,,3,2,2 for duplicate text fields named cost anyways. __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Coldfusion MX And Website
Sheese, I am still at 4.0.1 and was just about to upgrade to 5 (it wasn't broken!). Now I don't even have a viable upgrade path since MX does not support Deerfield Website (Formally O'Reilly Website Pro). Bob Denny, creator of Website, is looking for some to assistance in determining how to get MX to work with Website. If anyone is willing to assist his efforts I am sure it would be appreciated. His email address is in the message header. -Original Message- From: Bob Denny [[EMAIL PROTECTED]],[EMAIL PROTECTED] Sent: Thursday, May 02, 2002 9:14 AM To: [EMAIL PROTECTED] Subject: Re: CF MX Hi All -- I'm trying to determine how to hook MX into WebSite, and I've run into a glitch. The product looks extremely complex, and the installer doesn't recognize any webserver on my system (expected). I do not want to install IIS onto this system as it is my clean development system. I can't find/recognize the bits that would be used to hook CFMX into IIS or Apache/NT or iPlanet/NT. Can someone who is using the MX preview with IIS tell me how it is hooked in? I'm hoping that it is a simple ISAPI hookup. I'm afraid it involves ISAPI filters for the transformation of /servlet URLs for JRun. When Paul Colton and I worked together on the original JRun we came up with a much more elegant scheme for this just using WebSite's mapper, and that continues to work with various Java engines. It's just possible that this could be effectively substituted for the ISAPI filter, or we may have to write a WSAPI preprocessor for it. That is technically possible but I would prefer to avoid it. I'd be happy to get filled in by phone, much more efficient than email... I am going to make this an ongoing project so that at least WebSite users can -USE- MX, and hopefully we can jam this down Macromedia's throat as WebSite sales continue to grow. The product is huge, and I am not so sure what the advantage of running it behind another web server is, other than political or to get username/password security in common with other non-CFMX apps hosted on the same server. -- Bob Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF Wishlist
To stay on topic, and most likely cause more trouble, I on the other hand would like cflock to go away and not be necessary for session, application or server variables. It is my firm belief that variable locking should be part of the core CF engine and not part of the higher level scripting language. Especially since it appears to always be required. As much as I understand the reasons for it's current existence in a multi-threaded environment, cflock still has the appearance of being a patch to a design flaw. Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: David Schmidt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 12:42 PM To: CF-Talk Subject: CF Wishlist Ok, Have carefully considered what I want from CF, the most striking feature I want to see is... Stop treating empty list items as null. That is a list of 3,5,,,3,2,2 should have a length of 7, instead of 5. Doing this would nearly eliminate the need for any field names like name=cost_#i#, since HTML sends back 3,5,,,3,2,2 for duplicate text fields named cost anyways. __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF Wishlist
Raymond, Thank you for your quick response. I just want to be sure that I understand the locking issue. Every time I think I do some one says something to change my worldview. We are still using CF 4.0.1 so I assume that locking to prevent memory corruption is required. Your statement implies that at some version level, and I assume it is CF5 and CFMX, locking session, application and server variables to prevent memory corruption is _not_ required. However running code within an application in two browser windows, simultaneously, using the same session (same CFID/CFTOKEN) can cause unpredictable results when manipulating memory variables in the session and application scope. To further illustrate what I think you are inferring, assume that I had a page that took an input, did a query, and then added the query count to a session variable Window 1: Session.x = 1 Input = a Query time = 5ms returns 5 Session.x=session.x + querycount The session.x value should be 6 Window 2: Session.x = 1 Input = e Query time = 15ms returns 5000 Session.x=session.x + querycount The session.x value should be 5001 However if I run the template in two browser windows simultaneously, where cfid/cftoken is the same, I _could_ get a result of session.x = 5006 in window 2 since window 1 finished first. Is this correct? It appears as if I have never _really_ understood the reasons behind the locking issue and only just the safety guidelines, so any and all help is greatly appreciated. Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 4:38 PM To: CF-Talk Subject: RE: CF Wishlist cflock is _not_ necessary for memory issues anymore. You still need it for logical reasons. For example: application.x = application.x + 1 Without locks, it's possible two threads could run the same code at once. Instead of x being x+2, it would be x+1. === Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: UXB Internet [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 4:25 PM To: CF-Talk Subject: RE: CF Wishlist To stay on topic, and most likely cause more trouble, I on the other hand would like cflock to go away and not be necessary for session, application or server variables. It is my firm belief that variable locking should be part of the core CF engine and not part of the higher level scripting language. Especially since it appears to always be required. As much as I understand the reasons for it's current existence in a multi-threaded environment, cflock still has the appearance of being a patch to a design flaw. Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: David Schmidt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 12:42 PM To: CF-Talk Subject: CF Wishlist Ok, Have carefully considered what I want from CF, the most striking feature I want to see is... Stop treating empty list items as null. That is a list of 3,5,,,3,2,2 should have a length of 7, instead of 5. Doing this would nearly eliminate the need for any field names like name=cost_#i#, since HTML sends back 3,5,,,3,2,2 for duplicate text fields named cost anyways. __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Window resize
Sure. Place this in your body tag: body onload=javascript:window.resizeTo(width,height); cf_rant However, I cannot tell you how annoying it is when a web site just automatically decides to resize my browser window. /cf_rant Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: phumes1 [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 1:19 PM To: CF-Talk Subject: Re: Window resize Is there a way to have Javascript resize my window with a onload command? +--- + Philip Humeniuk [EMAIL PROTECTED] [EMAIL PROTECTED] +--- -+ __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF's Most Wanted ::
And if there is a need for cflock, why doesn't client vars use them? There aren't any concurrency issues for Client variables. They're not stored in memory. They're typically stored in a database It is my firm and biased opinion that memory variable concurrency locking should be part of the application server code and not performed in the scripting language or pseudo-code. However, I think I have said that before and am being repetitiously redundant. Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ http://dennis.uxb.net/ -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 11:23 AM To: CF-Talk Subject: RE: CF's Most Wanted :: And if there is a need for cflock, why doesn't client vars use them? There aren't any concurrency issues for Client variables. They're not stored in memory. They're typically stored in a database or registry, which will provide its own concurrency controls, or in cookies, which have no concurrency issues. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Image directory flow
Tim, In you application.cfm page set a variable to the base reference and then use it in you pages. Example: cfset baseRef=http://rootdomain.com/ Then when calling the graphics in your header and footer includes: img src=#baseref#/content/graphics/image.jpg Best regards, Dennis Powers UXB Internet - A Web Design and Hosting Company tel: (203)879-2844 fax: (203)879-6254 http://www.uxbinternet.com/ -Original Message- From: Tim VanderPloeg [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 2:36 PM To: CF-Talk Subject: Image directory flow I must be missing something very simple but I am new to CF. I have to follow a directory structure hear where I work that goes like this: Root Dept Apps Content Graphics Apps What I am trying to do is to have a header.cfm and footer.cfm that will be located in the Apps directory and the images in the Graphics directory. All of my pages will use the header.cfm and footer.cfm no matter what level the module is at. With the cfinclude template=/header.cfm the images do not carry over to the different levels unless they are in the same level as the header.cfm is. In the img src=../content/graphics/image.jpg call I have tried it with just the / at the beginning and still no luck. What do I need to do so all of the images that are stored in the graphics folder and used in the header.cfm no matter what level I include the header.cfm will be seen. I only want one header.cfm, menu.cfm and footer.cfm on the site. Tim VanderPloeg South Florida TSG Web Developer 561-840-7018 __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Advanced CFCATCH Exception Types
Dave, Someone else here posted this JavaScript code for checking the file type within the browser. This combined with server side checking validation should help prevent people from uploading the wrong file type. I use it for all my image upload routines. The customers like being warned before they upload that 3meg .tif file through their 56K dial up connection smile. script language=JavaScript !-- extensions = new Array(.JPG,.GIF,.PNG,.gif,.jpg,.png) function allowedExt(fileType){ var extension = fileType.substring(fileType.length-4, fileType.length) for (var i = 0; i extensions.length; i++) { if (extension == extensions[i]) { return true break } }alert(errorMsg()); return false } function errorMsg(){ alertTxt = Please select one of the following file types: \n\r for (var i = 3; i extensions.length; i++){ alertTxt += extensions[i] + { } }return alertTxt } //-- /script Then use: form action=index.cfm method=post enctype=multipart/form-data name=uploadForm OnSubmit=return allowedExt(photo.value); input NAME=photo TYPE=file size=25 input type=submit name=go value=Upload Photo /form Best regards, Dennis Powers UXB Internet (203)879-2844 http://www.uxbinfo.com/ -Original Message- From: Dave Carabetta [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 3:13 PM To: CF-Talk Subject: Advanced CFCATCH Exception Types I would like to trap a CFFILE error using CFTRY/CFCATCH if the user submits a bad file type. I only want to allow them to upload .gif files. I can use the CFCATCH TYPE=Any to trap it, but I was hoping that I could trap specifically for a bad file type. I noticed that there are a whole slew of advanced exception types starting with COM.* listed in the documentation, but I can't find one for a bad file type. Can one of those advanced types or a regular type be used other than Any? Thanks, Dave. _ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Replacement for HierMenus now that it costs $$$?
Matt, Try this one; it seems to be feature rich. http://milonic.co.uk/menu/ Best regards, Dennis Powers UXB Internet (203)879-2844 http://www.uxbinfo.com/ -Original Message- From: Matt Robertson [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 27, 2001 5:57 PM To: CF-Talk Subject: SOT: Replacement for HierMenus now that it costs $$$? I use CF to pre-build a HierMenus menu system from query output. Great sub-100 ms performance when you do that, BUT: The folks who now own the HierMenus code want $500-$1495 for commercial use, and from what I heard will retroactively go after users who didn't make the personal phone call I did to discover this (the new web site that expressly details this is going up in a month and the licensing switch has been in effect for some time). I saw what appeared to be a good substitute discussed here in the last few weeks. It was an unlimited-depth cross-browser script, but I can't find the link in the archives. Anyone remember where the thing is? I want to build a custom tag to work with it. Thx, --- Matt Robertson[EMAIL PROTECTED] MSB Designs, Inc., www.mysecretbase.com --- __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Using CF to control Spam
Tom, You must be the lucky one smile. I have an email address listed on a web site that is never used for anything except to sit on an obscure page of that web site. It has been harvested; because it collects over 40 to 50 spam messages a day. (I now know how to get rich quick, working at home while looking at porn) smile. I keep the address for the sole purpose to collect and block the IP addresses of the senders on my real mail server. The other email address that gets unwanted email is the one listed in the domain registrations Whois database. It's a wonderful place for spammers to get addresses. I use to laugh when I saw it, but now I believe the statement SPAMMERS MUST DIE! Best regards, Dennis Powers UXB Internet (203)879-2844 http://www.uxbinfo.com/ -Original Message- From: tom muck [mailto:[EMAIL PROTECTED]] Sent: Monday, December 31, 2001 12:01 PM To: CF-Talk Subject: Re: Using CF to control Spam Most spam comes from things that you sign up for on the Web, whether you realize that you are signing up for spam or not. I've had this email address for two years now and still only get one or two spams per day -- on a bad day. Certainly managable by spending the 1 or 2 seconds to hit the delete key. My email address is plastered all over my Web site, plus I post several hundred times per month in various newsgroups to the point where a search on Google lists my email address 3900 times. If spammers are harvesting email addresses from mailing lists and newsgroups, they are skipping mine. ;-) If you are careful about what you are signing up for, you can virtually eliminate spam. When you register at a Web site or register a product make sure you aren't leaving the default checkbox for allow us to notify you of exciting offers from our co-conspirators/spammers unchecked -- most sites have this spam button set ON by default. tom W Luke [EMAIL PROTECTED] wrote in message 007b01c191fe$faee5a90$0300a8c0@jazz">news:007b01c191fe$faee5a90$0300a8c0@jazz... My inbox has become increasingly infested with spam - up to 30 a day now - so I've been writing a small app in CF to help control it. Basically, the robot logs into my current spam-infested inbox and checks each email against a trusted addresses table in my db - if the email is from a trusted source, it's sent to another clean POP. If it's potentially spam, a message is sent to the sender and the email is quarantined in the db - if that sender is a real person, they'll click on a link which will validate their email address, add it to my trusted addressbook and deliver their email to my clean POP. It works well, but it's annoying having to have another POP - can anyone think of a better way of doing it? Will __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Formating to HTML output
Try this: cfset FormattedString=Replace(#Yourstring#,#CHR(10)#,br,ALL) font face=Arial,Helvetica size=2#FormattedString#/fontbr Best regards, Dennis Powers UXB Internet (203)879-2844 http://www.uxbinfo.com/ -Original Message- From: atlantis [mailto:[EMAIL PROTECTED]] Sent: Monday, December 31, 2001 5:32 PM To: CF-Talk Subject: Formating to HTML output I have data in a memo field in my access database that has carriage returns in it to separate different paragraphs. How do I get the formatting to come through as BR or P when the data is output on a webpage? Right now all the data runs together. Thanks, Jason __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Session variables
cf_rant I wish Allaire/Macromedia would address the problem of requiring high level programming locks for session and application variables and place that code into the interpreter where it belongs. If you ALWAYS have to lock session and application variables then the code to do so should part of the core cfml program and not in the scripting. In my opinion this is an aggravating flaw in an otherwise outstanding product. /cf_rant Sorry about that folks. Best regards, Dennis Powers UXB Internet (203)879-2844 http://www.uxbinfo.com/ -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 27, 2001 3:51 PM To: CF-Talk Subject: RE: Session variables You should allways use CFLOCK when dealing with sessions. An alternative is setting the Single Threaded Sessions in the CF Administrator. I don't know if this is an optimal solution, but I always transfer all session variables to the request scope - inside a CFLOCK - in application.cfm. That way there's just one locked section of code for session variables and you don't have to remember to use a lock every time, just to use request.variableName instead of session.variableName. It's been our experience that this method doesn't work well if you're storing any significant amount of data in the session or application scopes. It may work during functional testing, but generally fails miserably under load. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: query of a query
Try: cfset testdate=DateFormat(01-01-2002,mm/dd/yy) cfquery name=SpotsQuery dbtype=query SELECT BESTNUMBER, SPOTSTART FROM application.allquery WHERE ((SPOTSTART = #CreateODBCDate(Testdate)# Date fields don't normally need quotes in the SQL statement Best regards, Dennis Powers UXB Internet (203)879-2844 http://www.uxbinfo.com/ -Original Message- From: Admin [mailto:[EMAIL PROTECTED]] Sent: Monday, December 24, 2001 10:01 AM To: CF-Talk Subject: query of a query I'm trying to retrieve a subset from a query cached in memory. I'm using this query: cfquery name=SpotsQuery dbtype=query SELECT BESTNUMBER, SPOTSTART FROM application.allquery WHERE ((SPOTSTART = '01-01-2002' But I receive the error Error: is not a valid date I already tried a few different formats including createodbcdate etc but no luck so far. Anyone here knows what does work, and maybe some extra tips for working with this feature? __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Verity - how to EXCLUDE a single file from the search?
Lex, Name all HTML files you DO NOT want included in the indexing as *.html and all files to include in the index as *.htm or *.cfm. Then only include the *.htm and *.cfm when you create the index. Best regards, Dennis Powers UXB Internet (203)879-2844 http://www.uxbinfo.com/ -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 9:08 PM To: CF-Talk Subject: Re: Verity - how to EXCLUDE a single file from the search? If you are using CF 5.0 the Verity Spider can do this. Get's worse - this site is on a shared server, so I have no access to CF Admin. Ideas on doing it WITHOUT the admin? -- Les Mizzell - - People need to realize that every time they mention about how fragile our planet is, it's like asking outer-space aliens to come invade us. Jack Handey - - ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists