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 4147 posted 11 years ago by Gupta86
A function and if statement to detect whether or not the browser is a mobile device.
0 4594 posted 12 years ago by nshakin
Request the current page name relative to the home directory of the server.
0 3361 posted 12 years ago by nshakin
This is useful when you need to add logic to static html page.
0 1308 posted 15 years ago by Meander365
1 1680 posted 15 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 1496 posted 15 years ago by emregulcan
1 1736 posted 15 years ago by wizard04
This function checks to see if two arrays are equal
1 1548 posted 16 years ago by jlvallelonga
1 1420 posted 16 years ago by timshingyu
Functions to make using regular expressions a bit easier. They're named after the respective PHP function.
2 1879 posted 16 years ago by wizard04
Checks if an array has been initialized, even if it is a dynamic array.
1 1693 posted 16 years ago by wizard04
1 1773 posted 16 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 1799 posted 16 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 2267 posted 17 years ago by neal_grosskopf
1 1577 posted 17 years ago by charmcitycoder
asp function similar to php one, to truncate long words inside a string
1 2323 posted 17 years ago by ginoplusio
show a table with data and his column name
2 2052 posted 17 years ago by ginoplusio
function that return TrueVal if Condition is true else return FalseVal.
0 2035 posted 17 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 1773 posted 17 years ago by ginoplusio
Learn how to create a 301 redirect for domain or home variations to improve your websites' search engine optimization.
2 2331 posted 17 years ago by neal_grosskopf
substitui <ENTER> em quebra de linha. Break the lines form data, replacing <ENTER> key
0 1203 posted 17 years ago by LondonWeb
mostrar resultados - simplified version show results
1 1406 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 2079 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 1884 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 6637 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 2065 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 2064 posted 18 years ago by neal_grosskopf
« Prev 1 2