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 4189 posted 11 years ago by Gupta86
A function and if statement to detect whether or not the browser is a mobile device.
0 4630 posted 12 years ago by nshakin
Request the current page name relative to the home directory of the server.
0 3386 posted 12 years ago by nshakin
This is useful when you need to add logic to static html page.
0 1328 posted 15 years ago by Meander365
1 1719 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 1519 posted 15 years ago by emregulcan
1 1766 posted 15 years ago by wizard04
This function checks to see if two arrays are equal
1 1581 posted 16 years ago by jlvallelonga
1 1455 posted 16 years ago by timshingyu
Functions to make using regular expressions a bit easier. They're named after the respective PHP function.
2 1918 posted 16 years ago by wizard04
Checks if an array has been initialized, even if it is a dynamic array.
1 1725 posted 16 years ago by wizard04
1 1812 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 1838 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 2301 posted 17 years ago by neal_grosskopf
1 1604 posted 17 years ago by charmcitycoder
asp function similar to php one, to truncate long words inside a string
1 2384 posted 17 years ago by ginoplusio
show a table with data and his column name
2 2087 posted 17 years ago by ginoplusio
function that return TrueVal if Condition is true else return FalseVal.
0 2065 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 1804 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 2368 posted 17 years ago by neal_grosskopf
substitui <ENTER> em quebra de linha. Break the lines form data, replacing <ENTER> key
0 1224 posted 17 years ago by LondonWeb
mostrar resultados - simplified version show results
1 1440 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 2112 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 1911 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 6691 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 2099 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 2104 posted 18 years ago by neal_grosskopf
« Prev 1 2