This file contains hidden or 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> | |
// Define the encryption key | |
var key = "your-secret-key"; | |
// Encrypted string | |
var encryptedString = "0xFpIgUsyk8x8uGKIAmr/wFqTICab4FdFQnKRf8Gm/LbGpUOU2uhkw61oxoaOGY0"; | |
var token = Decrypt(encryptedString, "dDF3/2HGKu7m7VTq34Eg6g== |
This file contains hidden or 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> | |
function setLeadCode(co){ | |
return replace(REReplace(left(co,6),"[^0-9A-Za-z|]","","all")&'25',' ','')&TimeFormat(now(),'L'); | |
} | |
//writeOutput(setLeadCode('eleventh & gather')); | |
function fixName(nm,idx){ |
This file contains hidden or 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> | |
// Define the encryption key | |
var key = "your-secret-key"; | |
// Encrypted string | |
var encryptedString = "B3E0C3DA14DEB09B616CA738AA4033830C10F125B8C4226057F90CA7758B03493AB6780FC4CC723A"; | |
var token = Decrypt(encryptedString, "1EA4ED8BA1F6AA08CA27BA689FF64869", "BLOWFISH", "hex"); |
This file contains hidden or 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> | |
function setLeadCode(co){ | |
return replace(REReplace(co,"[^0-9A-Za-z|]","","all")&'25',' ','')&TimeFormat(now(),'L'); | |
} | |
writeOutput(setLeadCode('eleventh & gather')); | |
</cfscript> |
This file contains hidden or 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> | |
function setLeadCode(co){ | |
return replace(REReplace(co,"[^0-9A-Za-z|]","","all")&'25',' ','')&TimeFormat(now(),'L'); | |
} | |
writeOutput(setLeadCode('eleventh & gather')); | |
writeOutput(TimeFormat(now(),'L')); | |
</cfscript> |
This file contains hidden or 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> | |
// Define the encryption key | |
var key = "your-secret-key"; | |
// Encrypted string | |
var encryptedString = "00BBCE47C367526FE7B19BD5DA50489A7E6AD6B88752F565C3FD6CA5BAB25B9877C461BA44C54074"; | |
var token = Decrypt(encryptedString, "rNQkUxfikwHOmX1Eo8kBmQ==", "BLOWFISH", "hex"); |
This file contains hidden or 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> | |
// Define the encryption key | |
var key = "your-secret-key"; | |
// Encrypted string | |
var encryptedString = "00BBCE47C367526FE7B19BD5DA50489A7E6AD6B88752F565C3FD6CA5BAB25B9877C461BA44C54074"; | |
var token = Decrypt(encryptedString, "LmlsdzZf6VzurgSYpHWb7A==", "BLOWFISH", "hex"); |
This file contains hidden or 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> | |
// Define the encryption key | |
var key = "your-secret-key"; | |
// Encrypted string | |
var encryptedString = "E85E026A8AB6AC3B3FB93A07AF3073CF68C848B98468A7EE2CDBFD9C64EAFB6F1627C48F2D4D3FFD"; | |
var token = Decrypt(encryptedString, "CVR5dv37Me1aXAPqwcckpw==", "BLOWFISH", "hex"); |
This file contains hidden or 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
<cfset request.linesSt.creditLines.receivedQuantity = ""> | |
<cfset request.linesSt.creditLines.creditAmount = 1934.96> | |
<cfset request.linesSt.creditLines.restockingAmount = 483.74> | |
<cfset request.linesSt.creditLines.AdditionalCost = ""> | |
<cfoutput>#NumberFormat((val(request.linesSt.creditLines.receivedQuantity)*val(request.linesSt.creditLines.invoicedUnitPrice)) - val(request.linesSt.creditLines.restockingAmount) - val(request.linesSt.creditLines.AdditionalCost),"0.00")#</cfoutput> |
This file contains hidden or 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> | |
function test(string str, numeric num){ | |
dump(arguments); | |
for (var a in arguments){ | |
dump(arguments[a].getClass().getName()) | |
} | |
} | |
test(1,2); | |
test("1","2"); |
NewerOlder