This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
x = createobject("webservice","http://www.webservicex.net/genericbarcode.asmx?WSDL",{refreshWSDL="yes",wsdl2javaArgs="-a -O 2000"}); | |
argCollection.BarCodeParam = structNew(); | |
argCollection.BarCodeParam.Height = 100; | |
argCollection.BarCodeParam.Width = 200; | |
argCollection.BarCodeParam.Angle = 50; | |
argCollection.BarCodeParam.Ratio = 1; | |
argCollection.BarCodeParam.Module = 1; | |
argCollection.BarCodeParam.Left = 10; | |
argCollection.BarCodeParam.Top = 10; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
public function readImage(fullpath){ | |
try { | |
return ImageNew(fullpath); | |
} catch (any e) { | |
//trying java imageio | |
var imageFile = createObject("java", "java.io.File").init(fullpath); | |
// read the image into a BufferedImage | |
var ImageIO = createObject("java", "javax.imageio.ImageIO"); | |
try { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSERT INTO `muracms`.`tcontentcomments` | |
(commentId,contentId,comments,NAME,email,url,entered,isApproved,siteId) | |
SELECT | |
MC.id AS commentId, | |
MUT.contentId AS contentId, | |
MC.content AS comments, | |
MC.creator_name AS NAME, | |
MC.creator_email AS email, | |
MC.creator_url AS url, | |
MC.created_on AS entered, |