Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged c



1 ... 28 29 30 31 32 ... 147
Heavily based on "Recursive chmod in PHP" by Tenzer ( 03/10/08 http://snipplr.com/view/5350/ )
0 1847 posted 15 years ago by madc
Simplepie per default uses relative paths to generate the cache filename. Whenever I use Simplepie I run into the same problem, that the cache directory can't be located. This is why I modify the file everytime. Here's my version (with a hardcoded p...
0 3416 posted 15 years ago by iroybot
0 4019 posted 15 years ago by focal55
ISO 3166-1 alpha-2 php array
0 1893 posted 15 years ago by freezy
IE Blocking iFrame Cookies
0 3220 posted 15 years ago by kiroweb
0 1916 posted 15 years ago by bubaphex
Used to print the variables on a given page. in drupal 6.
1 1924 posted 15 years ago by tsubryan
Returns Wordpress categories as a hierarchical object (i.e. categories with subcategories)
0 1526 posted 15 years ago by adamturtle
0 1731 posted 15 years ago by etechblog
escape them ("\")
0 1942 posted 15 years ago by simondiercks
0 1872 posted 15 years ago by DanielFGray
0 2035 posted 15 years ago by Reportme
Used to sort array of objects by it's property Note: Anonymous functions are available since PHP 5.3.0.
0 2470 posted 15 years ago by Rain
The admin pages listing the site’s posts and pages come with various text columns (title, tags, categories, author and so on). In order to see what the featured images are, you have to visit each post or page individually. What I will show here, is...
0 2179 posted 15 years ago by i-am-andy
Only show content if Custom Field exists
0 2227 posted 15 years ago by i-am-andy
Add or Change Content in the Featured Image Meta Box Posted on March 21, 2011 Perhaps you need to provide a little extra instruction about the Featured Image meta box. It doesn’t take much to add your own text to that box:
0 2198 posted 15 years ago by i-am-andy
0 1521 posted 15 years ago by zogmund
Link to the current theme / template url for use in wordpress template.
0 2072 posted 15 years ago by carouselcreative
0 1618 posted 15 years ago by Jotape
Just insert any category id into the argument and it will return the top level category object. e.g: print_r( get_top_level_category('INSERT CATEGORY ID HERE') );
0 2435 posted 15 years ago by djmosc
0 1705 posted 15 years ago by Jotape
Checks for image files in directory and creates a XML file of the contents
0 3107 posted 15 years ago by Don_Jarmo
Add current class to single posts in Wordpres wp_nav_menu by adding a filter
0 2637 posted 15 years ago by inflightatnight
1 ... 28 29 30 31 32 ... 147