Strip HTML
6
Below is a function written in ColdFusion MX that will return an array containing all matches found when running a regex against a particular string. Each array item is a structure with the match, the starting character position, the ending character position, and an array of any
sub-pattern captures.
sub-pattern captures.
21
A quick and simple function to dump a variable (array, object, string, int, etc) out into -formatted output for a web browser.
If the variable is an array or an object, you can have it returned into the another variable for later processing (i.e., through templates or e-mail). Due to lack of free time, if the variable is not an array or an object, it will ignore the $return value and print directly to output.
Future revisions will add the above mentioned functionality.
If the variable is an array or an object, you can have it returned into the another variable for later processing (i.e., through templates or e-mail). Due to lack of free time, if the variable is not an array or an object, it will ignore the $return value and print directly to output.
Future revisions will add the above mentioned functionality.
12
This function is useful in helping to deter spam bots by obfuscating things such as e-mail addresses and URLs that are displayed on a web page. While it's not 100% fool proof, it does offer some protection.
Example:
$email = html_entitize('foo@baz.org');
/*
Outputs foo@baz.com
*/
Example:
$email = html_entitize('foo@baz.org');
/*
Outputs foo@baz.com
*/
6
Scriptname: WhatsUpCF.cfm
Author: Ernest Breau Jr.
StartDate: 08/02/2006
EndDate: 08/02/2006
Description: This script returns the status of a web page
Dependancies: CFHTTP
Usage:
cf_WhatsUpCF
url="http://#qry_detail.DomainName#"
timeout="1"
SendMail="yes"
MailTo=""
MailFrom=""
MailServer="localhost"
var="WhatsUpCF"
Author: Ernest Breau Jr.
StartDate: 08/02/2006
EndDate: 08/02/2006
Description: This script returns the status of a web page
Dependancies: CFHTTP
Usage:
cf_WhatsUpCF
url="http://#qry_detail.DomainName#"
timeout="1"
SendMail="yes"
MailTo=""
MailFrom=""
MailServer="localhost"
var="WhatsUpCF"
4
This is a little script I wrote that copies your database through a cfquery statement
Enjoy,
Ernie
ernest.breau@gmail.com
Enjoy,
Ernie
ernest.breau@gmail.com
11
Restrict input to alphanumeric and uppercase
9
Put a break in a tooltip (limited chars)
11
This function will run all functions that are to be executed one by one on page load with specified/added orde
8
Add rows into a table dynamically using js,DOM
13
Using styles we can add scrollbars for large table where the space is a constraint









