| Base 64 Encode / Decode | 2000-07-18 | Base 64 encodeing is used to convert binary files to a "safe" format for transporting files through smtp (email) and other protocols. It is also used for basic authentication. With this code, you can… | Files for Base 64 Encode / Decode |
| Common Database Routines | 2000-07-18 | To assist in interfacing with databases. This script can format variables and return SQL formats. Such as double quoting apposterphies and surrounding strings with quotes, Returning NULL for invalid… | Files for Common Database Routines |
| Convert Bytes | 2000-07-18 | This code convert bytes into larger units such as kilobytes, megabytes, gigabytes, and terabytes. I use this with the FileSytemObject so that my users do not see a very large number that doesn't make… | Files for Convert Bytes |
| Convert LongIP to StringIP | 2000-07-18 | This function converts a Long Number(3232235521) into an IP Address ("192.168.0.1"). | Files for Convert LongIP to StringIP |
| Convert StringIP to NumericIP | 2000-07-18 | Converts a string ip address ("192.168.0.1") to a Long number (3232235521). One of the resons to do this would be to store IP addresses in databases. Numbers greatly reduce the size required to store… | Files for Convert StringIP to NumericIP |
| Credit Card Mod 10 Validation | 2000-07-18 | Based on ANSI X4.13, the LUHN formula (also known as the modulus 10 -- or mod 10 -- algorithm ) is used to generate and/or validate and verify the accuracy of credit-card numbers. | Files for Credit Card Mod 10 Validation |
| Input Date | 2000-07-18 | This small snippet will generate 3 drop down boxes that will allow your users to choose a date. | Files for Input Date |
| Strip HTML | 2000-07-18 | Strips any HTML tags from a string and returns the results. I use this for data that users submit through forms to prevent them from using HTML. | Files for Strip HTML |
| Remote File Explorer | 2000-07-19 | This script allows you to browse the file system on a remote computer through your web browser. | Files for Remote File Explorer |
| File/Path/Extension Stripping | 2000-07-21 | These routines can strip a file name from a path, a directory from a path, and an extension from a path. They can also determine the parent directory path. They are fairly simple routines that I use… | Files for File/Path/Extension Stripping |
| Get In Frames | 2000-07-21 | Search engines point users to individual web pages. If the page is supposed to be displayed within a set of frames, this code will redirect the users to a specific page using javascript. From there,… | Files for Get In Frames |
| Total Email Validation | 2000-07-21 | Validates email addresses. Makes sure the email addresses with IP addresses are not private network addresses. Allows multiple sub-domain levels. verifies characters within domain names. only allows… | Files for Total Email Validation |
| vbScript to HTML Color Coder | 2000-07-23 | Converts vbScript to HTML to show your code on web pages. Also provides features so that clicking on keywords will create a small pop-up window explaining some details about that keyword and provide a… | Files for vbScript to HTML Color Coder |
| Novell ASP Login | 2000-07-28 | This login code validates users against a novell server and gives the look and feel of a Novell Client login screen. | Files for Novell ASP Login |
| Advanced SQL Query Builder | 2000-08-03 | This code lets visitors to your site perform complex queries. Users may choose if specific words (or phrases) must or must not match - or if they are optional (default). | Files for Advanced SQL Query Builder |
| Link URLs | 2000-08-04 | Finds any URL found within specified text and creates a hyper link for http, https, ftp, and email addresses. | Files for Link URLs |
| Server Timezone Offset | 2000-08-26 | Returns the hour difference of the servers time from GMT. | Files for Server Timezone Offset |
| AuthenticateUser | 2001-01-12 | Authenticates a user to make sure if they have previously logged into the site. Requires Session("UserID") to be populated. This usually represents the Users ID within a data base. (Users.UserID) If a… | Files for AuthenticateUser |
| LoginNow | 2001-01-12 | Attempts to log a user into the web site through either cookies or posted form data by validating UserName and password against a database. Redirects users to originally requested pages.… | Files for LoginNow |
| Phone Number Conversion | 2001-02-09 | This class is used to interpret phone numbers to and from a database in a specific format. The format is 25 characters long and is explaied withing the script. | Files for Phone Number Conversion |
| Whois Lookup | 2001-02-18 | Shows how you can do a WhoIs lookup using a COM object capable of using winsock. | Files for Whois Lookup |
| Scripting.Decoder for Microsoft Encoding | 2001-03-11 | This code lets you decode your scripts. It comes in handy if you deleted the original file or wrote over it with the encoded version. Microsoft included a program to encode, but choose not to let us… | Files for Scripting.Decoder for Microsoft Encoding |
| SHA-1 Hash Algorithm | 2001-03-22 | for computing a condensed representation of a message or a data file. | Files for SHA-1 Hash Algorithm |
| Client Bandwidth Recorder | 2001-04-12 | Measures the bandwidth in kbps (kilobits per second) that the client is viewing your website at. Works with modems, dsl, cable modems, network cards and any other means of connecting to the internet. | Files for Client Bandwidth Recorder |
| Add Custom Errors with MetaBase | 2001-04-28 | This script interacts with COM objects that communicate with the MetaBase for Internet Information Server. You will be able to define the custom error pages for your website. | Files for Add Custom Errors with MetaBase |
| Color Palette Scriptlet | 2001-04-28 | Allows users to choose a color from a palette simular to Adobe's color palette. | Files for Color Palette Scriptlet |
| Color Picker 2 | 2001-04-29 | This version of the Color Picker supports just about any browser that uses javascript - Including Netscape 3. The downfall is that you "must" run it with a server that allows ASP. A script is included… | Files for Color Picker 2 |
| Dynamic Curve Images | 2001-04-29 | The script is able to dynamically create GIF images. The 4 positions of a curve - Top Right/Left and Bottom Right/Left. It also creates a transparent image if the position isn't defined. The images… | Files for Dynamic Curve Images |
| Dynamic Pixel Image | 2001-04-29 | Allows you to create 1x1 images of any color including transparent images. (Images can be streatched by defining height and width in image tag) | Files for Dynamic Pixel Image |
| Read GIF Dimensions | 2001-04-29 | Reads the Width and the Height of a GIF image. Really nice to have if you need to limit your users with specific image dimensions for profile images, banners, buttons, etc. | Files for Read GIF Dimensions |
| Hex Viewer | 2001-04-30 | Allows you to view the binary data of any file (GIF, JPG, ZIP, TXT, HTM, ASP) as if you were looking at a common hex viewer. Bytes are displayed as Hex characters and character data is displayed on… | Files for Hex Viewer |
| How to make Dynamic GIF Color Palettes | 2001-04-30 | In this article, I will walk you through the entire process on how to property create the GIF images, and then transfer them to my custom template file format. From there, an ASP page can read these… | Files for How to make Dynamic GIF Color Palettes |
| Read Image Dimensions | 2001-05-02 | Allows you to read the width and height for GIF, JPEG (JPG/JFIF), Bitmap(BMP), and PNG files. You can upload a file or load a binary file from the server in the demonstration. This is great when you… | Files for Read Image Dimensions |
| How to destroy a Shopping Cart | 2001-05-04 | I often get questions on how to deal with shopping cart data stored within the database that is no longer needed after the user has logged off. The answer is simple and deals with some database calls… | Files for How to destroy a Shopping Cart |
| Parse Metadata from URLs | 2001-05-04 | This class demonstrates how you can request the HTML of a URL from another website using the XMLHTTP object to spider the web page. (Simular to the methods of the ASPHttp object). The data is parsed… | Files for Parse Metadata from URLs |
| Advanced HTML Encoder | 2001-05-05 | This code demonstrates how you can convert a string to HTML text format. It goes beyond the power of the Server.HTMLEncode method in that it parses out all HTML tags, changes new-line characters to… | Files for Advanced HTML Encoder |
| Helpful Checkbox Functions | 2001-05-05 | Ok, I'm uploading something that is very simple this time - but this is one of the most used things that I have. These little functions help me make code smaller and change the wording to users… | Files for Helpful Checkbox Functions |
| Small Pagination Navigation | 2001-05-06 | I've coded many dynamic pages that needed the support of displaying data accross multiple pages. Whith this script, it will build a small navigation that you can display at the top and/or bottom of… | Files for Small Pagination Navigation |
| RC4 Class | 2001-05-08 | Applys Encryption/Decryption to strings. I think just about everyone who has seen my code knows how I love classes. This version is more "cleaned up" and thrown into a nice little class for an object… | Files for RC4 Class |
| RC4 Encryption/Decryption | 2001-05-08 | Encrypts and Decrypts data using the RC4 algorithm and a Key/Password. Many thanks goes to many, many people on PSC and the internet for helping me through this. Sebastions code over at the Visual… | Files for RC4 Encryption/Decryption |
| vbScript ColorCoder v2.0 | 2001-05-08 | This script colorizes your vbScript for display on web pages. All colors can be managed through a style sheet. It seems that those who knew about the results of this version (from browsing my website)… | Files for vbScript ColorCoder v2.0 |
| RCA Encryption Class | 2001-05-09 | RCA is used for most standard public key/private key encryption techniques. Due to its burden on resources, RCA is generally used to encrypt random session keys wich are then used to encode messages… | Files for RCA Encryption Class |
| Whois Lookup with XMLHTTP | 2001-05-09 | Queries a WhoIs server for for domain information. Useful for people who want to sell domain names. This version uses the XMLHTTP component that is installed on most servers, so there is no additional… | Files for Whois Lookup with XMLHTTP |
| Allow users to post "Safe" HTML | 2001-05-10 | This code pulls out all the nasty tags that a user sholdn't use when posting content. It also pulls out any javascript events assigned to any tags. A must have if you allow people to post HTML on your… | Files for Allow users to post "Safe" HTML |
| Add E-Mail Job to SQL Server | 2001-06-04 | This script helps start you off to learning how to automate some of your processes with SQL . For this example, I have chosen to send Email through SQL Server using vbScript. Messages are pulled from… | Files for Add E-Mail Job to SQL Server |
| Table Data Export | 2001-06-06 | Exports data from a database int Transact-SQL Batch files. Used primarily for exporting data from an access database to an SQL Server. | Files for Table Data Export |
| Lewies Coding Standards | 2001-06-07 | Peer into the brains of a professional programmer to learn how to become a better coder and more easily maintain your code for management and easily allow others to understand. | Files for Lewies Coding Standards |
| Membership Server v1.0 | 2001-06-20 | Allows remote login validation of members against a centralized membership service via. ASP. (Simular to MS Passport) | Files for Membership Server v1.0 |
| Cookie Debugger | 2001-06-21 | Creates a list of all cookies and there crumbs along with the values assigned to each one. | Files for Cookie Debugger |
| Debug QueryString | 2001-06-21 | Just used for debugging querystring data. Creates an orderd list of field names and the values assigned to each one. | Files for Debug QueryString |
| Form Data Debugger | 2001-06-21 | Reads posted form data and returns an HTML formatted display of field names and the values assigned to them. | Files for Form Data Debugger |
| Lewie's Image Gallery | 2001-06-22 | Upload, Manage, and Display images within your own personal art gallery. This Image Bank was made for my girl friend so that she could easily add the images and change them on her own. It also offers… | Files for Lewie's Image Gallery |
| Lewies URLDecode | 2001-06-22 | Xao Xiong originally posted his version of DecodeURL and asked for a reply for a better way. I replied, but it didn't turn out too well, so i'm posting it here for him to see. The approach i took is… | Files for Lewies URLDecode |
| Binary Data Manipulation | 2001-07-03 | These two functions allow you to convert between Unicode and Ascii strings. This is great if you are working with the Request.BinaryRead/BinaryWrite methods or binary data within a database. | Files for Binary Data Manipulation |
| Unlimited Alternating Colors | 2001-07-13 | Demonstrates how to have alternating colors. Most people usually need just two alternating colors, but this method supports a larger list. Both a fixed loop and a conditional loop are provided as… | Files for Unlimited Alternating Colors |
| Catching Bogus Addresses | 2001-07-25 | This article teaches how you can catch bogus email addresses before you register your members on your site. It also demonstrates how you can continue to verify the addresses over a period of time. | Files for Catching Bogus Addresses |
| Hex/String Conversion | 2001-07-25 | These functions allow you to easily convert a string to its hex value and back again. | Files for Hex/String Conversion |
| Find Available File Name | 2001-08-06 | When a user uploads a file, this function looks for duplicate file names. It incriments the file until an available name is provided and returns that name. | Files for Find Available File Name |
| HTMLDecode | 2001-08-06 | This function decodes HTML Encoded strings. I found that when some browsers post data, it converts double-byte characters to html encoded characters. This script searches for all numerical entities as… | Files for HTMLDecode |
| Site Post Check | 2002-02-14 | Checks the HTTP Referer header to ensure people are not posting from other websites. You can include this file if you use templates on your website, or just include it on the pages that receive form… | Files for Site Post Check |
| ANSI to Unicode | 2002-02-25 | Converts from ANSI to Unicode very fast. Inspired by code found in UltraFastAspUpload by Cakkie (on PSC). This should work slightly faster then Cakkies due to how some of the code has been arranged. | Files for ANSI to Unicode |
| Color Wheel Picker | 2002-02-27 | I was working on a scriptlet to allow users to choose a color. A color wheel is displayed with an assortment of colors - most of witch are web-safe. Clicking on a color causes it to be outlined and… | Files for Color Wheel Picker |
| Color Picker (Fallout) | 2002-02-28 | Allow users to choose colors from familiar interfaces that are standard to the windows operating system. This one displays a wide range of hues in a color spectrum and fades the saturation. An… | Files for Color Picker (Fallout) |
| Bottom Tabs | 2002-03-01 | Simulate the tab control found at the bottom of popular programs such as visual Interdev and Front Page. | Files for Bottom Tabs |
| Spinner Scriptlet | 2002-03-02 | Simulates the spinner control found in visual basic on a web page. Author comments included. | Files for Spinner Scriptlet |
| Expose Your Content | 2002-03-04 | Expose your content through external javascript source files. | Files for Expose Your Content |
| Gibberish Encoding | 2002-03-13 | Quick way to learn how to speak gibberish. It is sometimes known as "girl-speak". | Files for Gibberish Encoding |
| Folder Interface | 2002-03-16 | Give your users a nice clean interface to navigate, choose, and create new folders. | Files for Folder Interface |
| Universal Email Interface | 2002-03-20 | Lays down a universal interface to sending email. Easier to port to other servers that use different COM objects to send email. Even exposes a list of ProgID's that are installed on the server. (This… | Files for Universal Email Interface |
| IIS Authentication | 2002-03-21 | Requests users to login to website with NT Account. | Files for IIS Authentication |
| ADODBTypeName | 2002-04-21 | Quickly find out the type of variables returned from your adodb recordset. TypeName() function doesn't do the trick. Databases offer additional data types. This script helps solve type problems… | Files for ADODBTypeName |
| Display Accurate Time from NIST | 2002-05-04 | Display accurate time to your visitors! This script requests the UTC time from a server that is syncronized with an atomic clock. It then adjusts the time according to timezone and if daylight savings… | Files for Display Accurate Time from NIST |
| Image Directory Listing | 2002-05-06 | Lists thumbnail images within the current directory. Very simple beginner stuff dealing with file scripting object. Handy for viewing your images quickly. Just copy the code and paste it a file called… | Files for Image Directory Listing |
| Contrasting Colors | 2002-06-17 | Returns a color that is guarenteed to have contrast against the suggested color. Contrast to white is gray, contrast to light blue is dark blue, etc. Demo included. | Files for Contrasting Colors |
| Calculate Color Fading | 2002-07-01 | Shows an example of how to fade from one color to another. This is a bare-bones example to help you get started with calculating a fade across 16 colors. | Files for Calculate Color Fading |
| DOS Date/Time Functions | 2002-07-05 | DOS stores date and time with 4 bytes. 2 for date, 2 for time. These functions convert those bytes to appropriate vbScript date and time values. I used these within my WinZip file viewer scripts… | Files for DOS Date/Time Functions |
| Zip File Viewer | 2002-07-05 | Display a list of files within a zip files archive along with the compressed/uncompressed size, ratio, path, etc. Always wanted to do this, but usually found code refering to winzip or some api calls.… | Files for Zip File Viewer |
| Image Drop | 2002-07-06 | This script allows you to specify an image to fall down the entire height of the web browser. Images drop at random speeds. The number of images dropping may be specified as well. This particular… | Files for Image Drop |
| Switchbox Scriptlet | 2002-07-06 | Add / Remove / Manage position of items on a list. This scriplet demonstrates how you can allow your users to pick up to 5 flavors of there best ice cream. | Files for Switchbox Scriptlet |
| Web Navigation Scriptlet | 2002-07-06 | Navigate through a website within a small area of the screen. | Files for Web Navigation Scriptlet |
| BreadCrumbs Navigation | 2002-07-08 | Displays a path to navigate through each subdirectory in the path to your web page. This is called bread crumb navigation. Many sites use this with the words You Are Here. It is suggested that you do… | Files for BreadCrumbs Navigation |
| Deny Website Copiers | 2002-07-09 | Prevents web caching programs from accessing your website. Helps increase performance of your website against these programs that may cause DOS attacks on websites with slow internet connections -… | Files for Deny Website Copiers |
| Report Navigation | 2002-07-09 | Gives you an interface to navigate reports by year, quarter, month, week, or day. This is just the navigation alone that I append to the top of different reports. | Files for Report Navigation |
| encrypt4.asp | 2002-08-02 | Encrypts text using the enigma algotithm used in World War II. This security is easily breakable, but people seem to be using this. The next step is XOR encryption - which is also easily breakable.… | Files for encrypt4.asp |
| Parse Hex value of visitors System Colors | 2002-08-13 | Parses the hex value of users system colors. Great for creating dynamic images on the fly to blend with the users operating system. | Files for Parse Hex value of visitors System Colors |
| Dynamic Stylesheet Interaction | 2002-09-02 | Interact with stylesheets to dynamically change properties. | Files for Dynamic Stylesheet Interaction |
| Upload Files Without COM v3 | 2003-09-01 | Allows you to upload multiple files and fields without purchasing or registering COM objects. Great for shared hosts that frown upon 3rd Party com objects or charge an arm and a leg for them. This… | Files for Upload Files Without COM v3 |
| Dynamic DNS Update IP Parser | 2003-09-04 | Has ability to go out on the internet and determine what your current IP address is. Also allows you ability to update namecheap.com with your current IP address. Can be modified to use with other… | Files for Dynamic DNS Update IP Parser |
| Forced Download 2 | 2003-09-04 | Allows you to force a file to be downloaded rather then displayed within the users browser. This can be used with Word documents, Excel Spreadsheets, Adobe PDF's, and other files. Script has been… | Files for Forced Download 2 |
| StrConv Unicode/Ascii | 2003-09-04 | Converts between unicode and ANSI using ADODB Streams and recordsets. I was pressing myself to the limit to find a faster way to convert strings back and forth between unicode and ANSI during file… | Files for StrConv Unicode/Ascii |
| Data Dictionary Report Generator | 2004-07-28 | Retrieves the structure of your data and displays it into a nice report that you can copy & paste into word documents. Works with SQL Server 2000. Also lists any comments within the database for… | Files for Data Dictionary Report Generator |
| Lewies Seti Stats | 2004-07-29 | Reads an Xml file from the Seti@Home projects web servers and allows you to display the information on your own website. Cache xml files for up to 8 hours and loads via. javascript. Compatible with… | Files for Lewies Seti Stats |