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
// Copy the URL into the Attributes sturct. Unless we want to explicitly get | |
// information from the FORM variables (as we do in add/edit screens), we are | |
// just going to get it from the Attributes object to make things simpler and | |
// the scoping more consistent. | |
REQUEST.Attributes = Duplicate(URL); | |
// Now, go over the form variables and copy those into attributes. | |
for (LOCAL.Key in FORM){ | |
REQUEST.Attributes[ LOCAL.Key ] = FORM[ LOCAL.Key ]; | |
} |
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
HKEY_CURRENT_USER\Software\Macromedia\HomeSite5 |
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
if (REFindNoCase( "slurp|googlebot|....", CGI.http_user_agent )){ |
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
SELECT | |
u.id | |
FROM | |
[user] u | |
WHERE | |
LEN( u.last_name ) > 0 |
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
FROM | |
contact c | |
INNER JOIN | |
display_status d | |
ON | |
( | |
c.display_status_id = d.id | |
AND | |
d.is_active = 1 | |
AND |
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
CreateDate( [YEAR], [MONTH], [DAY] ) |
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
// Create a lowercase version of the user agent so we can run without | |
// NoCase checks. | |
strTempUserAgent = LCase( CGI.http_user_agent ); | |
// Check user agent. | |
if ( | |
(NOT Len(strTempUserAgent)) OR | |
// We are gonna try to optimize even a little bit more. A good number | |
// of the spider names end in "bot". If we check for names that have |
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
[Table (rows 1 columns ID, PREFIX, FIRST_NAME, MIDDLE_NAME, LAST_NAME, SUFFIX, WORKING_NAME): [ID: coldfusion.sql.QueryColumn@c4736a] [PREFIX: | |
coldfusion.sql.QueryColumn@17542e7] [FIRST_NAME: | |
coldfusion.sql.QueryColumn@17b5ee7] [MIDDLE_NAME: | |
coldfusion.sql.QueryColumn@93ab1f] [LAST_NAME: | |
coldfusion.sql.QueryColumn@c79c37] [SUFFIX: | |
coldfusion.sql.QueryColumn@e0eb96] [WORKING_NAME: | |
coldfusion.sql.QueryColumn@8af270] ] is not indexable by name |
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
<cfquery name="qFiles" dbtype="query"> | |
SELECT | |
name | |
FROM | |
qAllFiles | |
WHERE | |
name LIKE '%.jpg' | |
</cfquery> |
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
The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. | |
Null Pointers are another name for undefined values. |