memberlogin
contactus
randomfacts
After developing software and specifically developing internet applications, websites, catalogs... in all available web development languages, I finally decided it would be nice to save information that I keep using over and over and over again for the benefit of myself primarily - but it could also benefit other developers out there that are struggling to find an answer to a development question. I've spent alot of time scrubbing the web to find my own answers sometimes easily and other times quite painfully. More recently alot of the websites that I would find useful information on have turned into membership websites - which is fine if you want to subscribe - but I haven't found 1 website that has most of my answers. So here I am starting this knowledge base, which I plan to keep contributing to and refining and to always keep it free.

Although I like to think of myself as the know-it-all expert, the truth is I don't always have the most elegant answer, or the most correct answer. If there is anything that you see while on this website that is not quite correct or that could be done quicker and more efficiently - please contact me and let me know what I can change.

I do appreciate you visiting this website and hope that you find what you are looking for. This website was just created as of July 28th 2006 and I will continue adding features, code snippets, an occasional random fact here and there, and whatever information I come across that I think will be useful to earmark for the future.




ALL

How to secure your login from intruders
CHAP (Challenge-Handshake Authentication Protocol) is a more secure procedure for connecting to a system than the Password Authentication Procedure (PAP).
If a form stops submitting it could be that you have too many fields
Using the get method in a form is problematic if you have too many fields in your form. Form won't submit.
Why is the google toolbar important - for 1 it's free
The google toolbar is important for website development because it allows you to see the ranking of your pages, whether your website pages have been cached by google...
PAP ( Password Authentication Protocol) uses a two-way handshake to make logins more secure
PAP is a simple method where the remote node establishes its identity using a "two-way handshake." The remote tries to log in, and if the User Name/Password pair are correct, the host acknowledges the remote.
Numbers and Text in the same column
If you have a column with numbers in some rows and text in others then you might find that when you import that excel data into a program the numbers or text are missing.
Email Aliases allow for forwarding emails to multiple recipients
When you create an email alias it allows you to associate multiple email addresses to that alias

Coldfusion

How to connect to a database with coldfusion
Connecting to any database with coldfusion is extremely easy.
How to use the if elseif else statement in coldfusion
Coldfusion makes the if elseif else statement extremely easy.
Looping through fieldnames in coldfusion
How to loop through all form fields and grab the field names and field values. Useful when the name of a variable holds a secret of some kind, or for parsing specific data...
How to redirect to another page with coldfusion
How you can redirect with another page using the cflocation tag
sending information in an image tag in coldfusion
How to send information using an image tag.
How to send email with coldfusion.
This explains how to send emails using the coldfusion cfmail function
How to set a session variable with coldfusion
Setting session variables is easy with coldfusin - you will need to enable session variables in an application.cfm file or in the coldfusion administrator.
How to upload files with coldfusion
Using the cffile tag, uploading an image is easy with coldfusion
How to set a variable name to a variable value
This function is useful if you are bulding a generic process and need to be able to name variables using specific data as the variable name - to be processed later.

Dreamweaver

How to delete links while keeping the anchor text
This describes how to remove links while keeping the anchor text - sometimes it's necessary to strip out links and this is an easy way to do it without regular expression.

Javascript

How to change the message displayed in the bottom left status bar
Sometimes it's useful to display a custom message in the status bar in the bottom left status bar in the browser.
How to check all checkboxes in a given form
Sometimes it is nice to provide website visitors with the ability to check all checkboxes in a form.
How to highlight words with the onmouseover function
Using a span tag and an onmouseover and onmouseout function you can highlight words on your web page.
A simple trim function in javascript
It is often useful to trima string to make sure that real characters are in the string.

PHP

How to configure fckeditor to work in php
Configuring the fckeditor is easy when using php there are a few files that you need to update
How to connect to a mysql database with php.
How you can connect to a mysql database using php and the mysql_connect function.
how to delete files with php
This tip shows how to destroy or delete a file using php.
Finding a substring in a string
Finding a substring in a string is easy when you use the strpos function.
How to use the if elseif else statement in php
The if elseif else statement in php is easy to use.
Determine if a variable has been defined
Using the isset method you can easily determine if a variable has been set or defined with php.
How to loop through a resultset in php
This will show how to loop through a resultset using a sample member login authorization script.
How to dynamically loop through the fieldnames using php
Using the HTTP_GET_VARS function you can grab all the variables passed through the url string. Substitute for the HTTP_POST_VARS
How to redirect to another page with php
Using the header method in php you can redirect to another page
Full script to send emails
A script that will allow for required fields, sending email and redirecting to a thank you page
sending email with php
How to send email with php.
How to set a session variable with php
Session variables are helpful for saving data that is unique to each visitor on your website.
Email Format Validation
This function uses a regular expression to validate the format of the email address.
Uploading files with php is easy
Using the move_uploaded_file function makes uploading files extremely easy.
How to create and edit files with php
This tip shows how to create a file and append text to a file

VBSCRIPT

How to do arithmetic using vbscript
Doing addition, subtraction, multiplication, division and modulus is easy.
how to connect to sql server with vbscript
This code snippet displays one way of connecting to a sql server database using vbscript
How to find a substring in a string
Finding a substring in a string is simple using the inStr function
How to do a basic for loop with vbscript
A for loop can be useful when you want to dynamically loop through an array or just a specific range of number.
How to format a number to display as currency
Using the FormatCurrency function is easy
How to grab files from a specific directory
This function will allow you to grab files from a specific directory and also sorts them by file name.
How to grab post and get form fields using vbscript
Grabbing form variables is easy using the request object.
How to use the if else statement with asp (vbscript)
This will display how to use the if elseif else statement in vbscript.
Looping through fieldnames in vbscript
How to loop through all form fields and grab the field names and field values. Useful when the name of a variable holds a secret of some kind, or for parsing specific data...
How to read an excel document with vbscript
Using an adodb connection you can open up an excel document and treat it as a database table
How to redirect to another page using vbscript
How to use the response.redirect command to redirect to a new page on a asp-vbscript page.
How to replace a substring with a substring
Replacing a substring in a string is easy to do with vbscript
How to round numbers in vbscript
Rounding numbers off in vbscript is easy, here's how.
How to split a list into an array with vbscript
Using the split function makes it easy to convert a list to an array.
How to validate that a value is numeric
Testing a value to see if it is numeric is easy with the isNumeric function
How to upload files with vbscript
Handy file that I found online for uploading files with vbscript