JDTMMSM.COM Welcome to jdtmmsm.com
Make a Donation | Downloads | Contact Us | Forums | Login | Help
 
HOME
PLEASE DONATE
PROJECTS
TUTORIALS
CODE LIBRARY
FORUM
DOWNLOADS
LINKS
RESUME
CONTACT ME
LOGIN
REGISTER
Projects
 
EZsneezyCal
ezRecipe-Zee
A Little Q&A
 
Tutorials
 
Simple Banner Rotator
Basic Authentication
 
Code Library
 
Create Select From Set Field
getDirNamesAsArray()
getFileSizeFormatted()
Simple Banner Rotator
Basic Authentication
 

Code Library

Here you'll find a quick reference of scripts and snippets in many different languages to help you with your programing.

PHP Scripts
PHP Script Create Select From Set Field This class will create a select box from a database set field type. It will take the
PHP Script getDirNamesAsArray() Get a list a directories in a path and returns them as an array.
PHP Script getFileSizeFormatted() This functin will convert the file size in bytes to KB or MB.
PHP Script Simple Banner Rotator This script will randomly rotate ad banners to be placed on your site.
PHP Script Basic Authentication The script allows you to add basic authentication to your web site or scrpt.
PHP Script limitWords() This function works like strpad but with words. It will take $string and show only $limit number
PHP Script calculatePoints() This function takes the calories, fat in grams and dietary fiber grams and calculates the weight watchers
PHP Script emailHtml() This function will allow you to send an e-mail in html format. It's been test with Linux
PHP Script validateEmail() This function will return true if it is a valid address, and false if it is invalide
PHP Script PHP Syntax Highlight The reason I liked this method of highlighting php syntax instead of using the php built-in function
PHP Script detectAddURLsLinks() This function looks at a string, detects e-mails and urls and replaces them with link tags.
PHP Script selectYear() This function creates a select box populated with 5 past years, current year, and 5 future years.
PHP Script monthSelect() This function produces a month select box. When the $month value is set the select box will
PHP Script limitStr() This function takes a string of a certain length and cuts it at the limit value and
PHP Script emailHtml() This function can be used to send e-mails from your website. It can be used to send
PHP Script detailsButton() This function creates a flat boarded button. The link target and width of the button are optional

Javascript Scripts
Javascript Script insertTab() Lets you use the tab key in a textarea.

note:
If you'd like to become a 'Tutorial', 'Code Library', and Article contributor, register with an account and contact me for further instructions.
Contributors with quality tutorials, code snippets, scripts, and/or articles are welcome.
 
Home   +    Please Donate   +    Projects   +    Tutorials   +    Code Library   +    Forum   +    Downloads   +    Contact Us
© Copyright 2007-2008 Dave Torres. All rights reserved.