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
function (e){ | |
if(e.keyCode == 27){ $('.closeModalBox').click(); | |
} | |
} |
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
<?php if ($GLOBALS['language']->language == "fr-FR" ) { } ?> |
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
<form enctype="multipart/form-data" action="uploader.php" method="POST"> | |
<input type="hidden" name="MAX_FILE_SIZE" value="100000" /> | |
Choose a file to upload: <input name="uploadedfile" type="file" /><br /> | |
<input type="submit" value="Upload File" /> | |
</form> |
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
<cfset timestamp = dateDiff( 's', createDate(1970,1,1), now() ) /> |
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
<cflog file="myAppLog" application="no" text="User #Form.username# logged on."> |
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
<cfloop index = "LoopCount" from = "1" to = "5"> | |
The loop index is <cfoutput>#LoopCount#</cfoutput>.<br> | |
</cfloop> |
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
<cfloop index = "ListElement" list = "John/Paul,George::Ringo" delimiters = ",:/"> | |
<cfoutput>#ListElement#</cfoutput><br> | |
</cfloop> |
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
<cfset cacheFileName = "lorem.html" /> | |
<cfset tmpFileDir = GetTempDirectory() /> | |
<cfset fullCacheFileName = tmpFileDir & cacheFileName /> | |
<cfset tmpFileContent = tmpFileContent & "<div width='100%' height='100%' id='dataBox'>"> | |
<cfset tmpFileContent = tmpFileContent & "</div>"> | |
<cftry> | |
<cffile action = "write" file = "#expandPath(".")#/filename.xml" output = "#filecontent#"> | |
<cfcatch type="any"> |
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
<cfloop index="x" array="#arr#"> | |
<cfoutput>#x#<br /></cfoutput> | |
</cfloop> |
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
<cfsavecontent variable="str"> | |
<html> | |
<body> | |
This is the text you want | |
</body> | |
</html> | |
</cfsavecontent> | |
<cfset textstr = REReplace(str,'<[^>]*>','','all')> |