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 string1 = "Randy"> | |
<cfset string2 = "RANDY"> | |
<cfoutput> | |
<!--- IS: Case Insensitive ---> | |
<p><cfif string1 is string2> | |
"#string1#" is equal to "#String2#" |
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
<!--- | |
Title: String Comparison Using the IS Operator. | |
From: Coldfusion By Example | |
Website: http://www.randy.cc/ | |
Date: 8/20/2011 | |
---> | |
<!--- Set variables for testing ---> | |
<cfset string1 = "Randy"> | |
<cfset string2 = "RANDY"> |
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
<!--- | |
Title: String Comparison Using the EQ Operator. | |
From: Coldfusion By Example | |
Website: http://www.randy.cc/ | |
Date: 8/20/2011 | |
---> | |
<!--- Set variables for testing ---> | |
<cfset string1 = "Randy"> | |
<cfset string2 = "RANDY"> |
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
<!--- | |
Title: String Comparison Using the Compare Function. | |
From: Coldfusion By Example | |
Website: http://www.randy.cc/ | |
Date: 8/20/2011 | |
---> | |
<!--- Set variables for testing ---> | |
<cfset string1 = "Randy"> | |
<cfset string2 = "RANDY"> |
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
<!--- | |
Title: String Comparison Using the CompareNoCase Function. | |
From: Coldfusion By Example | |
Website: http://www.randy.cc/ | |
Date: 8/20/2011 | |
---> | |
<!--- Set variables for testing ---> | |
<cfset string1 = "Randy"> | |
<cfset string2 = "RANDY"> |
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
ProxyPreserveHost On | |
ProxyPass /dealers/ ! | |
ProxyPass / ajp://localhost:8009/ | |
ProxyPassReverse / ajp://localhost:8009/ | |
RewriteEngine On | |
ProxyRequests Off | |
RewriteCond %{REQUEST_URI} !^.*/(fancybox|flex2gateway|jrunscripts|cfide|cfformgateway|railo-context|files|images|javascripts|miscellaneous|stylesheets|robots.txt|sitemap.xml|rewrite.cfm|index.cfm|favicon.ico|ckfinder|ckeditor|assets|product-images|store|dealers)($|/.*$) [NC] | |
RewriteRule "^/(.*)" ajp://localhost:8009/rewrite.cfm/$1 [P,QSA,L] |
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
var isInIFrame = (window.location != window.parent.location) ? true : false; |
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
$.ajax({ | |
cache:false, | |
type: "POST", | |
url: "/filters/"+action, | |
data: {category:category,groupname:groupname,gtype:gtype}, | |
success: function(msg){ | |
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
<cfparam name="form.username" default=""> | |
<cfif form.username is not ""> | |
<cfif reFindNoCase("^([a-z_\d]+)$", form.userName)> | |
good | |
<cfelse> | |
empty or bad chars found | |
</cfif> | |
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
<!----------------------------------------------------------------------------------- | |
@@Author: Matthew Bryant | |
@@Company: TORO Waste Equipment | |
@@license: The MIT License (http://opensource.org/licenses/MIT) | |
@@Version: 0.1 $ | |
@@Description: For use with Xero API (https://api.xero.com) | |
STEP 1. GENERATE SSL KEY | |
1.1. Download openSSL for windows: http://slproweb.com/products/Win32OpenSSL.html |
OlderNewer