RE: File Upload to Database
Dave is right (as usual). You might be interested in this applet that enables very efficient file uploads. It does client side compression, progress meter, multiple file uploads and a host of other functions. There's even a shell extension which enables you to upload directly to the server from your windows explorer (win only). I have some ASP code that plays well with CF if you decide to use this tool. Brook At 12:01 AM 6/28/02 -0400, you wrote: Situation: The company I work for has just merged with another ALSTOM (the parent corporation) entity and i have been tasked with rolling out a content management system for the new shared intranet. I have already built a content management system that works locally (Inside the US, on our network) via web browser that works great, and if that were all I needed that would be cool. Unfortunately, the new content providers are going to be in France, England and Germany. The Content Management ToolBox will still work for them, but uploading files via the internal network won't (The internal networks will remain mutually exclusive, so no shares). So, I need a quick tutorial on inserting files (.doc, .pdf, etc) into a database (SQL Server 7sp3) I am already aware of MercuryFusion's FileToFromDB but it seems to be limited to inserts and selects and I need the ability to update as well. FTP is out of the question at the moment because of IT Security concerns. Rather than store the files in the database, which tends to be terribly inefficient, why not just allow users to upload files via HTTP file upload forms, and store them on your web server's filesystem? You can then store a pointer in the database to the filesystem location. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ 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: Accessing Session Data (Works! - Sort of)
Umm, is it safe to have that getfile.cfm on your server? I hope it has restrictions and is not the old, infamous getfile.cfm. At 09:05 PM 6/27/02 -0700, you wrote: After playing around for a little while, I realized that you could just manipulate the CFID and CFTOKEN cookies to view each Session's data. Check it out here: http://www.valsurf.com/sessionBrowser The only thing that I came across is that you will always be able to view Session data for each CFID/CFTOKEN combination - even if that particular Session was not contained within your current cfapplication setup. If you would like to download the source and tinker around with this notion of viewing Session data, get it here: http://www.brdwrks.com/v4/controller/getfile.cfm?file=../downloads/sessi onBrowser.zip In order for this tool to work for you cfapplication, unzip the file under the root of you application (where application.cfm exists) - it should create the subfolder sessionBrowser. If the CFID/CFTOKEN combination you are viewing did not come from the current cfapplication new session data will be created for the user. However, if you have only one cfapplication on your server, this will work magically! Please post back if you have any results with this thing! Enjoy! SCOTT VAN VLIET BRD.WRKS INTERACTIVE T: 714.469.6805 E: [EMAIL PROTECTED] -Original Message- From: Jeffry Houser [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 7:03 PM To: CF-Talk Subject: Re: Accessing Session Data Not out of box. But, there is ( sort of) a fix. You can create an application variable (A structure, perhaps), For every user on your site, give them there own place in the application variable structure. Make the key their username (or userID, or whatever) and the value the date they last accessed (update it in OnRequestEnd.cfm). Then you have a list of all users currently on the site, which you can access using the Application variable. At 06:22 PM 6/27/2002 -0400, you wrote: This may seem like an obvious question but is it possible to access session data of all users currently on the system? I'm interested in making an admin tool with a current user browser...and I don't particularly like the idea of replicating data to the application scope as it's a high volume site. Thanks! Stacy Young System Integration Specialist, Architecture Surefire Commerce http://www.sfcommerce.com http://www.sfcommerce.com (p) 514-380-2700 ext: 3234 (f) 514-380-2760 AVIS IMPORTANT: --- Les informations contenues dans le present document et ses pieces jointes sont strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en faire de copie sous quelque forme. WARNING: --- The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information is strictly prohibited. If you have received this document by mistake, please notify the sender immediately and destroy this document and attachments without making any copy of any kind. __ 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: Transforming XML with XSL in CFMX
Maybe I dont understand correctly.. but, maybe you could try putting the parameters in the XML which is to be transformed. Jared Clinton NEC Australia -Original Message- From: mark brinkworth [mailto:[EMAIL PROTECTED]] Sent: Friday, 28 June 2002 3:16 PM To: CF-Talk Subject: Transforming XML with XSL in CFMX When transforming XML with XSL, is there a way of passing parameters to the Style sheet? I've looked and looked and can't see it. __ 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: ssl cert with many domains
You can buy wildcard certs for any hostname on a domain (Geotrust sells them for about $500 I think), but I don't know about wildcard domain certs... Can I get a cert with more than one domain on it? I'm planning on putting the sites I develop on my hosted server and charge them a nominal hosting fee. I'm going to try to use conditional logic based upon the value of cgi.server_name to point them to the correct app. I think this will work fine, but one concern is allowing them to use ssl for orders. I have a certificate on the site already, but only for my primary domain. Is it possible to have more than one cert for a server? Do multi domain-certificates exist? __ 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: New Fusion Authority Out
http://www.fusionauthority.com/alert/index.cfm?alertid=111 Specials Special Job Search Section WorkInsight: How to be Your Own Headhunter! Now -- Let's Talk Benefits! Views: It's Who You Know (Donnie Bachan) Views: Follow up is Key (Michael Haggerty) Community HalHelms.com: A Thoughtful Community Resource Blogging About ColdFusion Views CF Developer 'Disappointed' in RNIB Macromedia Versus Microsoft? Reviews Macromedia's HomeSite 5.0 Flash Flood Rising Tech and Tags What's New in the Tag Gallery? What's New at CFLib.org? New Pet Market Blueprint Application A Tour of the Pet Market Application Pet Market Process Map Designing Application Interfaces with Macromedia Flash MX Best Practices for Building Rich Internet Applications with Macromedia Flash MX Optimize Your Application with Design Patterns N-tiered Architecture: Let Your Application Grow Design Patterns: Elements of Reusable Object-Oriented Software Ben Forta on Architecture: Introduction to ColdFusion Components Knowledge Base JRun 4.0: Deploying Applications to a JRun Cluster News Usability Issues by RNIB an Unfair Test? __ 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: Transforming XML with XSL in CFMX
Consider this situation. Say I have an XML file such as records record id=101 firstnameJoe/firstname lastnameBloggs/lastname /recordid record id=102 firstnameJohn/firstname lastnameDoe/lastname /recordid /records Now to convert this to HTML I could use use a stylesheet, but what if I wanted to give the user the option of sorting by id, or firstname, or lastname...I would have to create 6 stylesheetsor I could have a stylesheet that took parameters, like this: xsl:param name=sortKey select='firstname'/ xsl:param name=sortOrder select='ascending'/ The question is, can I send these parameters from CFMX directly, or maybe by going through the Java classes themselves. Mark From: Jared Clinton [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: RE: Transforming XML with XSL in CFMX Date: Fri, 28 Jun 2002 16:20:19 +1000 Maybe I dont understand correctly.. but, maybe you could try putting the parameters in the XML which is to be transformed. Jared Clinton NEC Australia -Original Message- From: mark brinkworth [mailto:[EMAIL PROTECTED]] Sent: Friday, 28 June 2002 3:16 PM To: CF-Talk Subject: Transforming XML with XSL in CFMX When transforming XML with XSL, is there a way of passing parameters to the Style sheet? I've looked and looked and can't see it. __ 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
merant text-driver problem
Hi list, when I have a txt-list like: size,notification,loadindex,speedindex,manufacturer,prize 10-16.5,tr-15,.,.,import,12.4 I get the following error: [MERANT][ODBC Text driver]Invalid character value. Most likely the merant driver expects a 0.0 instead of . Is there an option to catch this before querying and getting an error ? Thanks for ideas. Uwe -- Best regards, cf-talk mailto:[EMAIL PROTECTED] __ 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: What is the best variable scope?
SO anyway, how about those Knicks :OP Ade (Not American :O) -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: 28 June 2002 02:14 To: CF-Talk Subject: RE: What is the best variable scope? Where the hell did you get the idea that I seem to think that the application scope is across websites? I didn't -- I was quoting _your_ answer to someone else entirely... You responded to their message with You seem to think application is across websites, this is not true. ... and I was pointing out that it can be true, so to say that it's not true is innaccurate -- it's a non-sequitur -- they are not related... That was your words not mine, I said and I quote The application scope is used by the entire CF Application not all websites, not all servers but the entire CF Application. Which is only marginally related to the point I was making... Drop it mate, you'll loose this. If I did I would lose it but in this case I haven't lost anything... I really shouldn't continue it more for my own sanity ( and to reduce traffic on the list ) than anything else... I dunno... for some reason I just felt really annoyed by the original comment, even though it wasn't a response to me, it struck a nerve, so that's why I commented about the innacuracy of the this is not true comment in the first place... Isaac www.turnkey.to 954-776-0046 __ 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: More server problems
Never mind. I reinstalled mx and got it working. Tim -Original Message- From: Timothy Heald [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 29, 2002 12:46 AM To: CF-Talk Subject: More server problems Hi, My server at the house has had some problems. I know I have to rebuild it this weekend, but I am hoping to get it running again this evening. If anyone can just tell me the name of the ISAPI dll connector. For some reason it didn't get installed when I just tried to downgrade back to 5, and I have reinstalled twice, and I have also done a repair. Any help would be appreciated. Tim __ 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