Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged c



1 ... 92 93 94 95 96 ... 147
Drupal allows hook_update_N to run any sort of code. Most of the time, however, people only use this to alter the database scheme. But you can use it for much more. Like setting variables, creating nodes, importing views and so on. This code show...
2 2488 posted 16 years ago by berkes
2 2258 posted 16 years ago by marcelodornelas
Here is how to upload an attachment to a CouchDb document using PHP and cURL.
0 1797 posted 16 years ago by stephanepericat
0 1771 posted 16 years ago by metoikos
0 1863 posted 16 years ago by lassemahn
0 1711 posted 16 years ago by coevolve
Here is an example where the likelihood of NS is 30%, SM is 50%, and SH is 20%. I make 20 pitches and output what the batter does each time.
0 2142 posted 16 years ago by philokezzar
I didn't like the way my bookmarks came out with wp_list_bookmarks or any other built-in function, so I figured out a way to have total control about the way your wordpress bookmarks are displayed. In this example I wanted a table with the Bookmark...
0 1596 posted 16 years ago by zartgesotten
2 1712 posted 16 years ago by chippper
1 2037 posted 16 years ago by gerhardsletten
Changing Facebook Status with PHP, download the Mini Bot PHP class from the blog http://www.barattalo.it
1 2537 posted 16 years ago by ginoplusio
PHP function of mini bot class that lets you retrieve twitter infos from twitter nickname. ($this->attr method is part of the Mini Bot Class)
2 2544 posted 16 years ago by ginoplusio
0 1715 posted 16 years ago by m-pokrovskii
2 1649 posted 16 years ago by sennesaelium
This function calls pingomatic rpc service to increase traffic to your site. More info and instructions on [Barattalo blog](http://www.barattalo.it/2010/02/24/ping-pingomatic-com-services-with-php/ "read this post"). .
1 2942 posted 16 years ago by ginoplusio
1 3685 posted 16 years ago by ginoplusio
1 1677 posted 16 years ago by petrafull
Here is the code I used to show all of the posts for a particular category...
0 2241 posted 16 years ago by bdnnikki
/** * @param Int $week * @param Int $year * @return Array */
0 1530 posted 16 years ago by jkjeldgaard
These are important object oriented principles (OOP) that one must understand in PHP to create dynamic web applications. I hope you find this useful in understanding inheritance.
0 1651 posted 16 years ago by alvincrespo
1 ... 92 93 94 95 96 ... 147