Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged c



1 ... 132 133 134 135 136 ... 147
1 1412 posted 17 years ago by wesbaker
2 1326 posted 17 years ago by iTony
2 1531 posted 17 years ago by morroida
0 2790 posted 17 years ago by morroida
5 1679 posted 17 years ago by iTony
Allow for easier editing of content by users who didn't make the site.
1 1314 posted 17 years ago by EvanL
0 1417 posted 17 years ago by JustinCrossman
Loads the contens of a dir an sorts them by the date of creation.
2 2101 posted 17 years ago by romanos
Using this convention, you can override any system table setting.
1 1447 posted 17 years ago by shrop
The code for my wordpress Archives page, there have been a few people who asked how I did it.
0 1617 posted 17 years ago by kristin
在UTF-8的編碼下縮減字串並避免中文字串最後一個字變亂碼
0 3085 posted 17 years ago by multani
This was copied off wordpress FTP plugin
0 1525 posted 17 years ago by luizlopes
Convert an number to a position / ranking. 1 becomes 1st, 2 becomes 2nd, etc...
2 2270 posted 17 years ago by distinctdev
I use this code to place in blocks or pages to show a link to the user registration page if the user is not currently logged in. An example is a block I have setup on the home page of http://www.lightentheload.net. If the user is logged in, the block...
0 1516 posted 17 years ago by shrop
0 1182 posted 17 years ago by manec
This can be used as a general function to get the value stored in any of the possible input sources. use
0 1535 posted 17 years ago by luizlopes
This is a stipped-down version of the original page.tpl.php from Drupal 5.x's Bluemarine theme. Just add your own DIVs.
2 1305 posted 17 years ago by panatlantica
0 1524 posted 17 years ago by mikegreen
I deleted the old one by accident trying to edit it.
9 3233 posted 17 years ago by mattkenefick
1 1369 posted 17 years ago by rengber
1 1515 posted 17 years ago by mikegreen
Unzip files with PHP.
1 1773 posted 17 years ago by mattkenefick
Expands a MySQL / Gzipped file and executes it's queries.
0 1658 posted 17 years ago by mattkenefick
Usage coming soon.
6 1938 posted 17 years ago by mattkenefick
Paging class. Details on use to come later.
8 1950 posted 17 years ago by mattkenefick
This function uses the power of regexp to check if some bad word are on the text, also offers the posibility to change those word for something else. Examples:\r\n\r\n$texto = \'fuck off!\';\r\nfiltrado($texto); returns true since a bad word has been...
1 1758 posted 17 years ago by oso96_2000
1 ... 132 133 134 135 136 ... 147