Welcome To Snipplr


Everyone's Recent Snippets



1 ... 431 432 433 434 435 ... 553
Starting from jQuery 1.3
1 2033 posted 17 years ago by omixen
There are 3 different ways to use Item Renderers.
0 4017 posted 17 years ago by chrisaiv
Wraps Contextual Product Search of zanox Web Services
0 1568 posted 17 years ago by dne
Database backup function that you can call whenever you want — including nightly CRONs.
6 3408 posted 17 years ago by fackz
1 1842 posted 17 years ago by josephfritz
Founds this via http://www.flashcomguru.com/index.cfm/2009/2/17/regexp-validate-url
1 2105 posted 17 years ago by allnatural
Let's you render your .nfo Files to PNG Images.
1 1466 posted 17 years ago by rizzn2k
This function clean up phone number and present it in styled way.
9 3165 posted 17 years ago by naz
Use instead of standard "sql\_tablesort()" function. Handles multiple "sort" in $header, but the arrow will be only on last sorted column. This can be handled with rewriting theme_table, for example.
0 1772 posted 17 years ago by kurokikaze
Here's a quick snippet of code to raise the minimum age of your site. Note that it is illegal to lower the legal age of your site under 13. Legal Disclaimer: Affiliate shall indemnify and hold KickApps, its licensors and each such party's parent o...
0 1555 posted 17 years ago by krunkosaurus
These 4 lines of code can be used to extract and return all links from any page using regex patterns. If links are found, an array is returned, else boolean false is returned.
4 2955 posted 17 years ago by gdvickery
This method is a bit faster and more reliable then using the "explode" method. Works with PHP 4.0.3 and up.
4 2410 posted 17 years ago by gdvickery
Alternative to [http://snipplr.com/view/12616/strip-url-to-its-domain-name/](http://snipplr.com/view/12616/strip-url-to-its-domain-name/, "this snippet"), as it didn't come out clearly in the comments. Update - Edited based on gdvickery's commen...
3 2456 posted 17 years ago by duniyadnd
0 1664 posted 17 years ago by java2025
0 1736 posted 17 years ago by johnloy
Very simple snippet to include if you want to auto update the year in a page copyright using PHP.
6 2313 posted 17 years ago by 1man
1 2127 posted 17 years ago by fackz
Para utilizar, proceda assim: echo formata_data_extenso('2007-04-17'); echo formata_data_extenso('2007-04-17 15:20:35');
1 2038 posted 17 years ago by fackz
Outputs an image path from a defined directory.
2 2185 posted 17 years ago by dsntos
0 2032 posted 17 years ago by rolandog
Say you've got data combined in such a way that there is a repeated row header, but all the data is in different rows. If you were to consolidate all the rows down to one, only taking valid values (discarding blanks), you'd have one header row with a...
0 1672 posted 17 years ago by pckujawa
[Video Example](http://screencast.com/t/L6E0xI0J5P) A cross browser image caption on mouseover. Using jquery, CSS. This is a bit crude but pretty simple to implement. Just change the image width, some css to match that image size and create dyn...
4 2293 posted 17 years ago by jadedbat
Can be applied to any element, but is most relevent when applied to an image.
2 1879 posted 17 years ago by Unreal
1 ... 431 432 433 434 435 ... 553