Welcome To Snipplr


Everyone's Recent ASP Snippets



1 2 3 4 Next »
I notice that a lot of database driven websites make easy mistakes by not checking for plural words. An example might be "2 vote" or "1 votes". Here is an example of a function using ASP to check for plurals.
1 442 posted 13 years ago by neal_grosskopf
Often times it is nice to add some text after a link on your website to let your users know whether the link goes to a PDF and how large that PDF file is. I've found that manually doing this works but after awhile when that PDF file get updated, the...
2 516 posted 13 years ago by neal_grosskopf
0 315 posted 13 years ago by f0vela
0 320 posted 13 years ago by f0vela
1 309 posted 13 years ago by f0vela
0 358 posted 13 years ago by f0vela
Serve your xhtml pages correctly with this script and xsl file. Most websites serve their xhtml pages as text and not xml to Internet Explorer. With this it will serve to IE as xml. Your sites will be more valid because they will validate against the...
1 583 posted 13 years ago by neal_grosskopf
Easy functions, comments in code. From: http://www.ilovejackdaniels.com/asp/vbscript-regular-expressions/
1 337 posted 13 years ago by jc001
0 298 posted 13 years ago by udayrayala
This redirects visitors to a new URL using a 301 redirect. Using a 301 redirect is the safest way to let search engines like Google, Yahoo!, Live and Ask know your address has changed.
0 381 posted 14 years ago by jonhenshaw
This redirects visitors to a new URL using a 301 redirect. Using a 301 redirect is the safest way to let search engines like Google, Yahoo!, Live and Ask know your address has changed.
0 798 posted 14 years ago by jonhenshaw
1 332 posted 14 years ago by pablazo
0 258 posted 15 years ago by ryanprel
Uses the Luhn formula to quickly validate a credit card. Basically all the digits except for the last one are summed together and the output is a single digit (0 to 9). This digit is compared with the last digit ensure a proper credit card number is...
2 470 posted 15 years ago by savageideas
1 2 3 4 Next »