Welcome To Snipplr


Everyone's Recent Snippets



1 ... 479 480 481 482 483 ... 553
0 925 posted 17 years ago by wesbaker
A simple method of validating an IP address using PHP and regular expressions
2 4224 posted 17 years ago by aristoworks
This is a simple method of validating a 9-digit zip code using PHP and regular expressions
3 3421 posted 17 years ago by aristoworks
A simple method of validating an email address using PHP and regular expressions
4 2435 posted 17 years ago by aristoworks
A simple method of validating a telephone number using regular expressions and PHP
3 2646 posted 17 years ago by aristoworks
scrolling="yes"去除当目标文件过长IE6出现的水平滚动条,同时也使其他浏览器出现水平滚动条,style="overflow:visible;"用于去除其他浏览器的水平滚动条。
0 1238 posted 17 years ago by Ashung
0 1269 posted 17 years ago by johnloy
Python: Private Variables http://docs.python.org/tut/node11.html#SECTION0011600000000000000000 Any identifier of the form __spam (at least two leading underscores, at most one trailing underscore) is textually replaced with _classname__spam, wher...
0 1337 posted 17 years ago by ishikawa
0 1012 posted 17 years ago by johnloy
0 1174 posted 17 years ago by narkisr
Place this code in the template.php file of your custom Zen sub-theme to create a friendly reminder that this site uses their LDAP password. In this example, we use Novell Directory Services as our LDAP provider.
1 1246 posted 17 years ago by tgbdad
Use Apache's mod_expires to explicitly set the expiration of a file by it's type. This will enable to browser to cache these static assets and greatly increase performance.
1 1876 posted 17 years ago by cbrant
This is like a cms for a stylesheet - includes all files to make a working xhtml/css demo
1 1402 posted 17 years ago by perthmetro
Imports data from CSV (excel-compatible format) into MySQL. Also check the mysqlimport utility and the complementary SELECT ... INTO OUTFILE.
4 1959 posted 17 years ago by jarnaldich
This will count sentences that end in . or ? or ! and have a space after them.
1 2897 posted 17 years ago by evanwalsh
This HTML/CSS shows how to make text inputs with rounded corners in the most basic way (it doesn't expand according to its width).
6 2801 posted 17 years ago by reneolivo
(Supported by JavaScript, maybe other languages)
3 6793 posted 17 years ago by wizard04
1 1269 posted 17 years ago by wesbaker
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 1903 posted 17 years ago by neal_grosskopf
3 1705 posted 17 years ago by johnloy
1 1029 posted 17 years ago by zb3k
This is as simple as it gets, basiclly this templates shows you how to mock an object methods to any other piece of code that you like (open objects at its simplest glory).
1 1206 posted 17 years ago by narkisr
1 ... 479 480 481 482 483 ... 553