Welcome To Snipplr


Everyone's Recent ASP Snippets Tagged ASP



« Prev 1 2
Hello Guys, This short ASP.NET code snippet is intended to provide you a brief review on how to add SMS functionality to your website. You will see, this is a very simple but smart solution. This ASP.NET application is able to send messages by usi...
0 1010 posted 9 years ago by Gupta86
A function and if statement to detect whether or not the browser is a mobile device.
0 1438 posted 10 years ago by nshakin
Request the current page name relative to the home directory of the server.
0 648 posted 10 years ago by nshakin
This is useful when you need to add logic to static html page.
0 508 posted 13 years ago by Meander365
1 653 posted 13 years ago by wizard04
This script works good condition, and not use "oAuth". Your should get username and password with cleartext (standart html controls) without authentication and just add them into variables in your code... (twitter_username and twitter_password) A...
0 616 posted 13 years ago by emregulcan
1 638 posted 13 years ago by wizard04
This function checks to see if two arrays are equal
1 631 posted 14 years ago by jlvallelonga
1 593 posted 14 years ago by timshingyu
Functions to make using regular expressions a bit easier. They're named after the respective PHP function.
2 921 posted 14 years ago by wizard04
Checks if an array has been initialized, even if it is a dynamic array.
1 677 posted 14 years ago by wizard04
Learn how to emulate ASP.NET's AppendFormat method in Classic ASP. AppendFormat is essentially a simple form of concatenation in ASP.NET.
1 701 posted 14 years ago by neal_grosskopf
A quick and easy function that will output table column names and loop through your SQL recordset results outputting it into a HTML table.
2 927 posted 15 years ago by neal_grosskopf
1 595 posted 15 years ago by charmcitycoder
asp function similar to php one, to truncate long words inside a string
1 726 posted 15 years ago by ginoplusio
show a table with data and his column name
2 790 posted 15 years ago by ginoplusio
function that return TrueVal if Condition is true else return FalseVal.
0 745 posted 15 years ago by ginoplusio
similar to php ereg_replace. You can pass this pattern [^A-Za-z0-9] and "" to remove from string non alphanumerical chars: s = ereg_replace("[^A-Za-z0-9]","",s) I use this function to clean input fields...
0 735 posted 15 years ago by ginoplusio
Learn how to create a 301 redirect for domain or home variations to improve your websites' search engine optimization.
2 980 posted 15 years ago by neal_grosskopf
substitui <ENTER> em quebra de linha. Break the lines form data, replacing <ENTER> key
0 504 posted 15 years ago by LondonWeb
mostrar resultados - simplified version show results
1 473 posted 15 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 772 posted 15 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 693 posted 15 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 3881 posted 15 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 903 posted 15 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 820 posted 15 years ago by neal_grosskopf
« Prev 1 2