Welcome To Snipplr


Everyone's Recent Snippets Tagged php



1 ... 58 59 60 61 62 ... 65
In light of last nights tornado warnings here in TN, I thought it appropriate to post this little bit of code that I use to alert myself and others of dangerous weather conditions via SMS/Email alerts. I run this through cron at Dreamhost without...
9 549 posted 14 years ago by johnself
PHP function that creates a mySQL INSERT statement for mime types. Type are extracted from a text file.
0 448 posted 14 years ago by fabian
need the magpie code
1 355 posted 14 years ago by fritz
Add this to your .htaccess file in Apache:
7 622 posted 14 years ago by Abe
2 436 posted 14 years ago by halbtuerke
You have banners on your page for advertising? Then you have to randomize the order to be fair.
2 346 posted 14 years ago by HenLen
Remove excess whitespaces from string Remove espaços em branco em excesso de uma string
1 533 posted 14 years ago by rafaelmt
This snippet references the data access class I linked to.
4 594 posted 14 years ago by ecavazos
This is a simple class to encapsulate CURD functions. This class also includes some simple search methods.
1 536 posted 14 years ago by ecavazos
Когда нет под рукой дебаггера, а всё-таки хочется посмотреть дамп массива или объекта, приходит на помощь print_r() в коде… да вот вид не оче...
0 381 posted 14 years ago by DeadLy
1 436 posted 14 years ago by Cory
2 786 posted 14 years ago by Cory
Arbol usado para mostrar categorias dentro de una lista Cat1 ==subcat11 Cat2 ==subcat21 ====subcat211
0 402 posted 14 years ago by lisandro
This function allows you to limit the amount of a string, like a sample from a post. Create a file like function_lmt_txt.php and include it to use it. Any comments to improve this are welcomed.
1 405 posted 14 years ago by bioascii
6 568 posted 14 years ago by LoRd1990
You can combine them with this: http://snipplr.com/view/4848/underscore-strings/
0 7261 posted 14 years ago by Abe
Add these lines to Drupals settings.php. Probably works on other systems, then Drupal too.
1 534 posted 14 years ago by berkes
0 376 posted 14 years ago by jpdamen
Easiest way to get the last day in the current month.
2 559 posted 14 years ago by alli14404
Not mine. Changed from the original it to suit my needs.
2 507 posted 14 years ago by cubit
adapted from http://www.gotocode.com/art.asp?art_id=275&
0 605 posted 14 years ago by clapfouine
1 406 posted 14 years ago by wintondeshong
Created for my own purposes, thought I'd share though ;) copy paste at the top of your file and it does the magic :)
31 3349 posted 15 years ago by peteypablonz
1 ... 58 59 60 61 62 ... 65