Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged c



1 ... 95 96 97 98 99 ... 147
1 1515 posted 16 years ago by hstothard
2 1738 posted 16 years ago by hstothard
0 1954 posted 16 years ago by chrismendis
1 1626 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 3089 posted 16 years ago by drwitt
0 2233 posted 16 years ago by maryann
Credit goes to B. Kemler. I'm simply saving this for future reference.
0 2189 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 1581 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 5165 posted 16 years ago by ginoplusio
0 1791 posted 16 years ago by gd6d
1 1629 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 2831 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 2226 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 2384 posted 16 years ago by berkes
1 1916 posted 16 years ago by davidbani
1 1773 posted 16 years ago by mracoker
Insert email in wordpress theme whit cryptX plugin active
0 1791 posted 16 years ago by toro999
Insert admin menu in wordpress widget when you are logged
0 1822 posted 16 years ago by toro999
Insert banner image in wordpress page theme
0 1882 posted 16 years ago by toro999
The following is just a list of actions you can remove. Just grab the ones you need.
1 1670 posted 16 years ago by chrisdpratt
Array associativa de estados brasileiros com sigla pra chave e nome para valor.
0 2041 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 2024 posted 16 years ago by berkes
1 ... 95 96 97 98 99 ... 147