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 showDifference() { | |
var localVar = "I am var"; // Local only to this function | |
variables.globalVar = "I am variables"; // Accessible outside the function | |
} | |
showDifference(); | |
</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 showDifference() { | |
var localVar = "I am var"; // Local only to this function | |
variables.globalVar = "I am variables"; // Accessible outside the function | |
} | |
showDifference(); | |
</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 String showName(){ | |
local.name ="vijay"; | |
} | |
</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 = "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"); |