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> | |
rp = "https://www.kahootz.com///lkfjkd//djdjd"; | |
if (find("://", rp)) { | |
parts = listToArray(rp, "://"); | |
writedump(parts); | |
remparts = replacenocase(rp, "#parts[1]#://", ""); | |
writedump(remparts); | |
rp = parts[1] & "://" & reReplace(parts[2], "/{2,}", "/", "all"); | |
} else { |
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> | |
echo("hello world"); | |
</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> | |
jsonBody = "NTSFI_2025FAA90649"; | |
jsonBody = replaceNoCase(jsonBody, "NTSFI_2025FAA90649", "TST_" & randRange(10000000, 99999999)); | |
</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 foo() { | |
return 0; | |
} | |
x = foo() ?: 0; | |
writeDump( x ) | |
function bar() { | |
return; |
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 file ="http:\localhost:8020\index.cfm?event=user.displayVolunteerProfilePhoto&profilePhotoFilePath=1865\Volunteer\449422\temp\close%2Epng"> | |
<cfset filename = listlast(file, "/")> | |
<cfdump var="#filename#"> | |
<cfset filename = decodehtml(filename)> | |
<cfdump var="#filename#"> |
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 file ="http:\localhost:8020\index.cfm?event=user.displayVolunteerProfilePhoto&profilePhotoFilePath=1865\Volunteer\449422\temp\close%2Epng"> | |
<cfset filename = listlast(file, "\")> | |
<cfdump var="filename"> |
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 ui_groupInfo = {"gid"=3298}> | |
<cfoutput> | |
#listFindNoCase("3074,3298", ui_groupInfo.gid)# eq true | |
</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> | |
lstMonths = 'jan,feb,mar,apr,may,jun,jul,aug,sep,oct,nov,dev'; | |
str = "31JUL2025"; | |
dump(reReplace(str, "[^0-9]", "", "all")); | |
</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
<html> | |
<head></head> | |
<body> | |
<!-- Structures --> | |
<cfset book = StructNew()> | |
<cfset book.title = "Title1"> | |
<cfset book.author = "Author1"> | |
<cfset book.price = 100> | |
<cfoutput>#book.title#, #book.author#, #book.price#<br></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
<html> | |
<head> | |
</head> | |
<body> | |
<!-- Structures --> | |
<cfset book = StructNew()> | |
<cfset book.title = "Title1"> | |
<cfset book.author = "Author1"> | |
<cfset book.price = 100> |