coldfusion-11

Coldfusion Search HTML <textarea> Then Covert Base64 String To File On Server

岁酱吖の 提交于 2019-12-08 10:34:22
问题 EDIT: Replace base64 string that is in the textarea with a URL. The textarea is a WYSIWYG editor (CKEditor). I need to upload an image to the server file system. I'm trying to use this code to convert the string to an actual image and then in the textarea replacing the base64 string with the location of the image on the server (URL). <cfset image = imageReadBase64(#LocalOccurrence#)> <cfimage source="#image#" destination="#save_image_to_this_location# & #name_of_image# & #extension_of_image#"

ColdFusion 128-bit unsigned int to IPv6

感情迁移 提交于 2019-12-02 23:35:43
问题 I've posted a function that will convert an IPv6 address to a 128-bit unsigned int value here: ColdFusion IPv6 to 128-bit unsigned int I need a function that will go in the other direction now. This function turned out to be more complicated and I'll explain the complications in the answer. 回答1: Here is the function that will convert a 128-bit unsigned int to an IPv6 address with the correct (concise) IPv6 formatting. Explanations: Part of the problem with a function like this is that the

ColdFusion 128-bit unsigned int to IPv6

徘徊边缘 提交于 2019-12-02 14:39:49
I've posted a function that will convert an IPv6 address to a 128-bit unsigned int value here: ColdFusion IPv6 to 128-bit unsigned int I need a function that will go in the other direction now. This function turned out to be more complicated and I'll explain the complications in the answer. Here is the function that will convert a 128-bit unsigned int to an IPv6 address with the correct (concise) IPv6 formatting. Explanations: Part of the problem with a function like this is that the number passed into the function (nUInt128) is not guaranteed to be a 128-bit unsigned int. It might be 8-bits (

cfchart not printing in PDF

自古美人都是妖i 提交于 2019-12-02 08:37:05
I'm trying to print PDF from HTML using cfdocument. The code works fine when I access it through localhost, but when I use static IP to test it online on the same server it timeouts. I tried cfhtmltopdf it didn't timeouts but it doesn't generate the chart and shows "image missing icon". nor charts get generated nor images. text gets printed fine. And it takes like 20 to 30 seconds to generated the PDF when an image or chart is used. I tried this on CF11 32bit and 6bit both having same issue. Even the simplest codes fails: <cfhtmltopdf> <!DOCTYPE html> <html> <body> <div class="pdf_logo" style=

Line Debugging in ColdFusion 11 with CFEclipse

霸气de小男生 提交于 2019-11-27 08:20:21
问题 Has anyone had any luck in setting line debugging in Eclipse with the CFEclipse plugin? The instructions seem to be for the actual ColdFusion IDE. We are running ColdFusion 11. I've been playing around with the line debugger in FusionDebug, but I would like to give the native debugger a try as well. Does it require the ColdFusion IDE, or can it work within Eclipse with the CFEclipse plug-in? 回答1: CFEclipse is just a code editor. Looking at the feature list, it lists debugging, but only for CF