34912Sean Sekora: Weighted Randomhttp://www.seansekora.com/index.cfm/2007/2/22/Weighted-RandomWeighted random is a CFC that I created to use for the CFSudoku project. The main function of this CFC is to allow a developer to pass in an structure of values and their "weight".
The weight structure is then used to build a weight array. The length of the array is equal to the sum of weights and the corresponding value is stored in each array element. RandRange() is then used to get a random array key and the corresponding value is returned as the weighted random value.CFML > Scripts and Programs > MiscellaneousColdfusionconsultantconsultingweightedrandomMar 1, 2007Sean Sekorasend email to Sean Sekora
RSS parser is a fast and adaptable CFC that parses XML. Originally it was designed to read RSS feeds of blogs and was later adapted to be able read various RSS feeds. Currently it is limit to RSS 2.0 format, but I am working on adapting it to handle Atom feeds.
The RSS parser was design to allow programmers to pass in a list of item child nodes that they want to search for in the XML, such as title and description. I also built in the ability to group 2 or more child nodes together in an "OR" represented by |, such as pubdate|datepub. This would search for pubdate first and if this isn't found it would search for datepub and continue if there where additional child nodes until it found one. It would then use the first child node in the list as the structure key and save what ever value is found to it.
I also created a cfc that works with the RSS parser to handle a gallery feed from SmugMug.com. Among other things the smugmug cfc gets information, such as imageID from the image link, and uses this the create links to the various image sizes that are not directly included in the XML.
Weighted random is a CFC that I created to use for the CFSudoku project. The main function of this CFC is to allow a developer to pass in an structure of values and their "weight".
The weight structure is then used to build a weight array. The length of the array is equal to the sum of weights and the corresponding value is stored in each array element. RandRange() is then used to get a random array key and the corresponding value is returned as the weighted random value.
We compete against many other companies to deliver the most efficient internet solutions to you with the lowest prices. We can compete because we strive for recognition and a good reputation online.
CFX_GeoIP will let you to determine the Internet visitor's country based on the IP address. It offers an accuracy rate of 95%. You can use it for :
1. Display native language and currency
2. Redirect web pages based on geographical region
3. Digital Rights Management
4. Prevent password sharing and abuse of service
5. Reduce credit card fraud
6. Web log statistics and analysis
7. Auto-selection of country on forms
8. Filter access from countries you do not do business with
9. Geo targeting for increased sales and click-through
Updated IP/Countries file will be provided regularly for free.
This page demonstrates the custom tag dailyreading. Daily Reading is a custom tag that produces links to Old Testament and New Testament readings of the day that will take the reader through the Old Testament once in a year and New Testament twice. The links are to The Blue Letter Bible
This script allows to take vin number and decode it to find the make, model , year and more from database query , Perfect for car dealer websites where vehicles are posted , cf ajax enabled .database is included "TWICE THE VALUE OF THE AMOUNT OF THIS SCRIPT :)" as a seperate download because it is up to date for 2007 at over 200megs , thus is downloadable via ftp upon script purchase.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.