Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 95 96 97 98 99 ... 147
1 1510 posted 16 years ago by hstothard
2 1733 posted 16 years ago by hstothard
0 1942 posted 16 years ago by chrismendis
1 1623 posted 16 years ago by tcmacdonald
Many scripts rely on `$_SERVER[SCRIPT_URL]` which is sometimes missing. This function detects it from other server variables and fixes the missing field.
1 3080 posted 16 years ago by drwitt
0 2225 posted 16 years ago by maryann
Credit goes to B. Kemler. I'm simply saving this for future reference.
0 2186 posted 16 years ago by jhafner
Orders a multi-dimensional array by one of it's fields. There is also the option to treat this like an SQL-style 'order by' query with the $field value passed in (ie. 'user_id desc') to do reverse ordering.
0 1575 posted 16 years ago by browncardigan
This PHP class lets you clean and repair html code. WHAT IT DOES: delete closed tags without their opening tag, fix open tag without close, closing them automatically, check bad nesting and fix them, fix bad quotes in attributes, merge different styl...
2 5144 posted 16 years ago by ginoplusio
0 1785 posted 16 years ago by gd6d
1 1622 posted 16 years ago by rccc
PHP encrypts your E-mail address and generates the javascript that decrypts it. Most bots and spiders can't execute javascript and that is what makes this work.
3 2826 posted 16 years ago by fackz
themes the primary links adding spans (useful for sliding doors technique) and nice ID's based on the link title rather than the standard ugly menu-851 classes etc.
1 2224 posted 16 years ago by ReeceMarsland
make a tarball of only the changed directories in a git repos, since last tag. replace {tagname_last} with any name you siwh to give the tarball replace {tagname_previous} with a git reference (like a tag) from which you want to zip the changes.
0 2378 posted 16 years ago by berkes
1 1914 posted 16 years ago by davidbani
1 1772 posted 16 years ago by mracoker
Insert email in wordpress theme whit cryptX plugin active
0 1785 posted 16 years ago by toro999
Insert admin menu in wordpress widget when you are logged
0 1814 posted 16 years ago by toro999
Insert banner image in wordpress page theme
0 1880 posted 16 years ago by toro999
The following is just a list of actions you can remove. Just grab the ones you need.
1 1665 posted 16 years ago by chrisdpratt
Array associativa de estados brasileiros com sigla pra chave e nome para valor.
0 2037 posted 16 years ago by rudwolf
Wizzlern, a Dutch Drupal trainer, has a Dutch article online on how to remove the "search this site" label in the Drupal search-block.
2 2019 posted 16 years ago by berkes
1 ... 95 96 97 98 99 ... 147