Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged c



1 ... 97 98 99 100 101 ... 147
This is how to use the $sf_request in a view to build the current base url, including the application file used to build the script.
0 2048 posted 16 years ago by cburyta
0 1745 posted 16 years ago by giak
0 1746 posted 16 years ago by gd6d
modified version of: http://www.linein.org/blog/2008/04/04/find-time-between-two-dates-in-php/
0 2434 posted 16 years ago by jkjeldgaard
Every MySQL class for PHP I've seen so far has been an epic disappointment. This will not lead you to feel the same way. Enjoy!
0 1535 posted 16 years ago by jrgp
Used to copy the user avatar from Facebook to your community in this [Facebook Connect Tutorial](http://www.barattalo.it/facebook-connect-tutorial/ "Tutorial").
1 2302 posted 16 years ago by ginoplusio
1 2002 posted 16 years ago by berkes
works with fugue icons, but can be custumized
0 1636 posted 16 years ago by renaars
Quick basic way to serve a string or a file through PHP
0 2880 posted 16 years ago by cburyta
0 1972 posted 16 years ago by Zwendel
1 2182 posted 16 years ago by giak
0 1865 posted 16 years ago by Michael01
PHP provides many date manipulation devices and an entire suite of date functionality with the datetime class. However, this does not address date validation, that is, what format a date is received in. The PHP strtotime() function will accept many f...
1 2287 posted 16 years ago by kanampo
If you have your wordpress subpages organized by parent pages... and you dont want the parent pages "clickable" this will fix you right up...
0 1793 posted 16 years ago by mdesilets
Shows the sub pages of a parent page, and also the parent page as a link.
1 2086 posted 16 years ago by davebowker
0 1961 posted 16 years ago by giak
1 1741 posted 16 years ago by giak
0 2437 posted 16 years ago by giak
0 2241 posted 16 years ago by giak
0 1155 posted 16 years ago by michamilz
Create an excerpt from the main copy, removing any image or other HTML tag markup so it will be clean. In this case the length is 160 characters, change that number to change the length of the excerpt
0 1635 posted 16 years ago by cessnajumpin
What it does: clears & submits exposed filters form via AJAX (if enabled, otherwise normal page refresh). This is for Views 2.x. It works with the 'remember me' option. You need to create a custom module. E.g. custom/custom.module and custom/cu...
1 2832 posted 16 years ago by morningtime
1 ... 97 98 99 100 101 ... 147