Welcome To Snipplr


Everyone's Recent Snippets Tagged ASP



1 2 Next »
substitui <ENTER> em quebra de linha. Break the lines form data, replacing <ENTER> key
0 1209 posted 17 years ago by LondonWeb
mostrar resultados - simplified version show results
1 1420 posted 17 years ago by LondonWeb
0 1278 posted 17 years ago by LondonWeb
YouTube offers a method for users and developers to embed video on their web pages. Unfortunately the code that they use doesn't validate. Use this function to make YouTube's embed code validate.
2 2091 posted 17 years ago by neal_grosskopf
Use this function to create a unique class name based on the page's url. It makes for a great way to drill down with specificity in CSS later by placing this on the ID or as a Class on the body tag.
1 1892 posted 17 years ago by neal_grosskopf
One thing that always bothered me about Classic ASP is that there isn't an easy way to get the entire url. So I devised a function that will get the full path including the query string.
2 6655 posted 17 years ago by neal_grosskopf
ASP does not have a built in function to reverse or sort array like other languages. Find out how to do it.
1 2073 posted 17 years ago by neal_grosskopf
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 2076 posted 18 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 1991 posted 18 years ago by neal_grosskopf
0 1354 posted 18 years ago by f0vela
0 1459 posted 18 years ago by f0vela
1 1480 posted 18 years ago by f0vela
0 1622 posted 18 years ago by f0vela
0 1402 posted 18 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 2259 posted 18 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 2244 posted 18 years ago by jonhenshaw
0 1348 posted 19 years ago by ryanprel
0 1204 posted 19 years ago by ryanprel
1 2 Next »