Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged simple



« Prev 1 Next »
Mail merge allows you to produce document (potentially large numbers of documents) from a single template and a structured data source. The letter may be sent out to many recipients with small changes, such as a change of address or a change in the g...
0 2696 posted 11 years ago by johansonkatherine
The give link helps you to integrate the Amazon Simple Pay IPN to your web application.
0 1005 posted 11 years ago by mafhh14
A simple class to cache files (or other results) with PHP.
1 2228 posted 12 years ago by peckham
Relies on "trunCate" a truncating function.
2 1846 posted 13 years ago by rliverman
Simple class to retrieve an ID using a URL of the Youtube
0 1716 posted 13 years ago by leandroperes
With this file you can load stylesheets and minify the code while changing colors. The stylesheets are loaded using file_get_contents and you can attach them one after another if you have multiple sheets. The colors are replaces based on a variable t...
0 1345 posted 13 years ago by FatFolderDesigner
Just a short little script that takes a mysql query and turns it into a csv file that downloads automatically. If your interested in the details you can hit up the link.
0 1314 posted 14 years ago by FatFolderDesigner
Traditionally when you have lost lists of dat you want to alternate rows for usability. The first thing everybody makes to fix this is a simple if statement loop, but this adds a number of lines and is hardly a clean solution. Additionally it require...
0 1299 posted 14 years ago by FatFolderDesigner
Nothing revolutionary, just a simple implementation. A reworking from Brian Cray's source code: http://briancray.com/2009/08/21/tweeted-links-twitter-api-php-cache/ Note: requires creating a cache file, '/caches/twitter', relative to source.
0 1246 posted 14 years ago by richardmaisano
A php program to check whether two simple connected graphs are isomorphic.
0 1065 posted 14 years ago by trusktr
Create a sitemap in wordpress, including posts, categories and pages just use the [sitemap] shortcode within the post content and wordpress / the function does the rest.
0 1277 posted 14 years ago by prwhitehead
Just a simple php insert script.
0 1053 posted 14 years ago by JonnySnip3r
Just a simple database script.
0 1162 posted 14 years ago by JonnySnip3r
Very basic dont judge!
0 1246 posted 14 years ago by JonnySnip3r
Simple, It gets the referer and if there wasn't a referer it displays just the home link, but when there is a referer it dispays both back and home, I personaly use this on my 404 page.
1 1302 posted 14 years ago by mentaljason
Dispaly a repeatable region using the Simple Fields wordpress plugin.
0 1187 posted 14 years ago by mesh606
Bring in a file / image to your wp template
0 1154 posted 14 years ago by mesh606
A password generator in one line!
2 1133 posted 15 years ago by koko
1 1256 posted 15 years ago by jfoucher
0 1213 posted 16 years ago by renatoelias
Convenience function to set a SimpleXMLElement's attributes quickly.
0 1031 posted 16 years ago by iloveitaly
A simple method of validating a telephone number using regular expressions and PHP
3 2167 posted 17 years ago by aristoworks
This will count sentences that end in . or ? or ! and have a space after them.
1 2558 posted 17 years ago by evanwalsh
1 1341 posted 17 years ago by iTony
« Prev 1 Next »