Welcome To Snipplr


Everyone's Recent Snippets



1 ... 479 480 481 482 483 ... 553
0 867 posted 17 years ago by wesbaker
A simple method of validating an IP address using PHP and regular expressions
2 4088 posted 17 years ago by aristoworks
This is a simple method of validating a 9-digit zip code using PHP and regular expressions
3 3321 posted 17 years ago by aristoworks
A simple method of validating an email address using PHP and regular expressions
4 2289 posted 17 years ago by aristoworks
A simple method of validating a telephone number using regular expressions and PHP
3 2516 posted 17 years ago by aristoworks
scrolling="yes"去除当目标文件过长IE6出现的水平滚动条,同时也使其他浏览器出现水平滚动条,style="overflow:visible;"用于去除其他浏览器的水平滚动条。
0 1156 posted 17 years ago by Ashung
0 1193 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 1251 posted 17 years ago by ishikawa
0 958 posted 17 years ago by johnloy
0 1102 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 1181 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 1778 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 1323 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 1868 posted 17 years ago by jarnaldich
This will count sentences that end in . or ? or ! and have a space after them.
1 2811 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 2717 posted 17 years ago by reneolivo
(Supported by JavaScript, maybe other languages)
3 6670 posted 17 years ago by wizard04
1 1198 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 1793 posted 17 years ago by neal_grosskopf
3 1598 posted 17 years ago by johnloy
1 950 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 1136 posted 17 years ago by narkisr
1 ... 479 480 481 482 483 ... 553