Validating the email address in ASP

The IsValidEmail function checks for a valid email, IsValidEmail returns True if the email address is a valid email, IsValidEmail returns false if the email address isn’t proper syntax. The code is well commented and should explain what is happening .

This code checks for @ and a . period sign as well as only acceptable […]

By |ASP|0 Comments

Capitalize the first letter

This is a very simple ASP function that will capitalise the first letter of the input string. Some time user do enters his/her name as with out capatalising first letter of the name. So this function can take care of whether a use enters name as “david” or “DAVID” and this function will make it […]

By |ASP|0 Comments

Random number within a range

This is a small ASP function that will return a random number between two numbers. It will takes two numbers (maximum & minimum) numbers and generate a random number within that range. It will geenrate a random number every time the function is called. Quite handy function for general purpose use where a random number […]

By |ASP|0 Comments

Block a Specified IP address in ASP

This is a very simple programme that demonstrate how to block specified IP addresses from accessing the website or webpages. In this code I used array to store the IP adresses but database can also be used to store the IP adresses. You can redirect the user to a specified page of restrict it to […]

By |ASP|0 Comments