School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!
Welcome to Dream.In.Code
Become an Expert!

Join 306,742 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,168 people online right now. Registration is fast and FREE... Join Now!



's Contributions
Below are the tutorials, code snippets, and resources has submitted to dream.in.code. For more information on Kudos and contributing to dream.in.code visit: http://home.dreamincode.net/?p=about#kudos.
Tutorials
Getting Started With Mcrypt in PHP Tutorials (Last Comment: skyhawk133, Views: 13,117)
mySQL & PHP: A Beginners Look in PHP Tutorials (Last Comment: skyhawk133, Views: 19,760)
How Many Users Online in PHP Tutorials (Last Comment: skyhawk133, Views: 12,690)
Upload A File From A Form in PHP Tutorials (Last Comment: skyhawk133, Views: 18,337)
How-To: Classes in PHP Tutorials (Last Comment: skyhawk133, Views: 8,837)
Speed Up Firefox in Windows Tutorials (Last Comment: skyhawk133, Views: 6,518)
Code Snippets
Submitted: July 28, 2007        Views: 1027
Google treats non-www and www as separate sites. They recommend using redirect to send all traffic to the URL you want to use. This will also redirect all domain variations to the domain of your choice (i.e. .us to .com, .cc to .com, .org to .com)
Submitted: July 28, 2007        Views: 658
This snippet redirects your www. traffic to a non-www domain.
Alternate Row Colors in ColdFusion by skyhawk133
Submitted: March 23, 2005        Views: 5801
Alternates colors every other row when outputting in coldfusion. Uses a function to seperate logic from display.
Break Out Of Frames in JavaScript by skyhawk133
Submitted: March 9, 2005        Views: 7925
If you are worried about your web site opening in someone elses frames, this will "Break Out" of the frames!
Submitted: February 28, 2005        Views: 26863
Function checks for white space from a form field.
Submitted: February 28, 2005        Views: 4966
Javascript is clunky and slow when it comes to cell rollovers. This code will swap between 2 colors when you hover over the cell. *Does Not Work In IE*
Deleted: Expire Cookies On Browser Close in ColdFusion by skyhawk133
Submitted: February 25, 2005        Views: 6027
ColdFusion cookies persist until the defined expiration date, however, it is often useful to expire the cookie when the browser session ends. This code accomplishes that quite nicely.
Submitted: April 11, 2006        Views: 31298
This is the code I'm using to display the fixed position banner at the bottom of the browser window. This is also referred to as the "catfish" banner on SitePoint. Credit for the CSS goes to howtocreate.co.uk and the original code can be found here: http://www.howtocreate.co.uk/fixedPosition.html
Submitted: March 29, 2005        Views: 15737
A function that validates a credit card based on the LUHN10 algorithm. This function does not care if the number is a visa, mastercard, etc. etc.
Per-Session Cookies in ColdFusion by skyhawk133
Submitted: July 19, 2005        Views: 2585
This code should be placed in the application.cfm and will cause a session and the cookies associated with it to expire when the browser is closed.
Submitted: March 7, 2005        Views: 1798
This snippet allows members to place dream.in.code content on their own web pages easily and quickly using javascript.
Submitted: March 7, 2005        Views: 1740
This snippet allows members to place dream.in.code content on their own web pages easily and quickly using javascript. Unlike the auto version, you may customize the layout of the content using a little javascript.
Deleted: Test New Year in C++ by skyhawk133
Submitted: January 1, 2008        Views: 363
lkasdf
Submitted: February 28, 2005        Views: 51318
Validates a phone number against the regular expression: (555) 555-1234
Validate Zip Code in JavaScript by skyhawk133
Submitted: February 28, 2005        Views: 27074
Validates a zip code based on both US zip code schemes: 12345-1234 or 12345
Submitted: March 29, 2005        Views: 9969
Seperate functions for each card, checks the basic properties of each card type and returns true or false.
Submitted: March 2, 2005        Views: 12130
The time_since() function returns a nicely formatted Days Ago type date. Just pass a UNIX timestamp in and you'll get the string back out.