Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 135 136 137 138 139 ... 147
3 2429 posted 18 years ago by gbot
2 2067 posted 18 years ago by gbot
1 1843 posted 18 years ago by gbot
2 2274 posted 18 years ago by gbot
This snippet is originally from Tom Carden. All due credit goes to him.
2 3130 posted 18 years ago by Wiederkehr
Use this API to access names and addresses in a user's webmail (Gmail, AOL, Hotmail, and Yahoo). Make it easy to send friend invites for a social site and import contact lists. Rapleaf maintains up to date code on the importer and never stores passwo...
0 1735 posted 18 years ago by dannymo2
This is a snippet I did for a project-- it relies on Drupal and the Flickr module for Drupal.
4 2208 posted 18 years ago by dewolfe001
Stolen from the mentioned URL - this is used to make SPRY Framework work together with MYSQL.
2 2527 posted 18 years ago by Nils
1 3592 posted 18 years ago by dbug13
The PHP Code appears in Post Comments
4 3488 posted 18 years ago by localhorst
Diese Funktion wendelt Entities in HTML Quellcode um, ohne dabei den HTML Quellcode zu zerstören.
1 2131 posted 18 years ago by OscarWilde
Inserts "first" and "last" classes to the first and last items respectively. "first" and "last" classes defined in CSS as without padding.
2 2040 posted 18 years ago by nijgnet
Sets the sidebar photo appropriate for a section of the site by determining the parent Page of the subpage.
4 2614 posted 18 years ago by nijgnet
Lorsque vous cherchez le cheminement jusqu'à une fonction/méthode particulière, vous ajoutez un « debug_print_backtrace() ; » dans celle-ci et lors de l’exécution ça vous affiche un truc du style : #0 MusicFactory->loadDataForDetail(925...
0 1728 posted 18 years ago by olive
0 1456 posted 18 years ago by chucktrukk
0 1526 posted 18 years ago by chucktrukk
2 1979 posted 18 years ago by dbug13
The following block should live in your theme's page.tpl.php
2 1862 posted 18 years ago by zachharkey
A per-region override. ogt_blocks is ran for a region, if a region contains blocks, we search for a theme function named theme_region_regionname(). If exists, we run that, else we just return the concatenated blocks for that region.
1 2232 posted 18 years ago by berkes
An easy debug trick: gives you a variable that you can print in any tpl.php to find out what vars you have available there.
1 2643 posted 18 years ago by berkes
CSS files for larger sites can become pretty large themselves. Gzipping or compressing these files has shown to provide a reduction in the neighborhood of 70-80% of the original file size, a fairly significant 'weight loss'.
16 9921 posted 18 years ago by johnself
2 2477 posted 18 years ago by evanwalsh
customized breadcrumbnavigation for PHPWCMS. Gives more control over styling and display. {MYBREADCRUMB:n}
0 1994 posted 18 years ago by localhorst
Forms a php timestamp out of an date string i.e. create_timestamp(24.12.2007);
0 1490 posted 18 years ago by razel
Fallback Function for versions earlier then php5
0 1832 posted 18 years ago by razel
1 ... 135 136 137 138 139 ... 147