Welcome To Snipplr


You searched for: http

Everyone's Recent PHP Snippets



1 ... 4 5 6 7 8 9 10
based upon http://www.snipplr.com/view/41900/base-html5-template/
2 747 posted 14 years ago by withinmedianl
Appends a custom more-link to all excerpts, regardless of whether they're auto-generated or pulling manual excerpts from the excerpt field. Note: Automatic excerpts still show the default […] at the end (before the more-link). Found here: http:/...
1 884 posted 14 years ago by hussong
searching for a date sort function I found: http://slevy1.wordpress.com/2010/06/30/sorting-date-strings-in-php/ and built my codeigniter helper call : $arrSortedDates = bubbleSort( $unsorted ); (previous->helper autoload)
0 900 posted 14 years ago by lluisr
Makes basic insert statements a breeze to type while doing basic PHP inserts.\r\n*The function for \\\'querys\\\' on line 44 can be found here: http://snipplr.com/view/40911/query-the-database-php/ *
0 817 posted 14 years ago by shawntysco
Gets the date, pulls a list of upcoming events (posts from cat 6) and sorts by custom field \\\"event_date\\\" . Add to sidebar via [PHP Code Widget](http://wordpress.org/extend/plugins/php-code-widget/).
0 1098 posted 14 years ago by hussong
Uses action hook of the hybrid theme framework to launch function that modifies the query on the archive page for category 6.\\r\\n\\r\\nSorts by the custom field \\\"event_date\\\" and compares it to the current date.\\r\\n\\r\\nBased on [goto11\\\'...
0 960 posted 14 years ago by hussong
<p>Como utilizar las clases de Zend Framework desde nuestro proyecto web que no trabaja con el Framework de Zend en modo MVC.</p><p>Paso 1.<BR> Bajamos las librería de ZF desde el sitio oficial http://framework.zend.com/download/latest/<BR>Nota: Est...
0 950 posted 14 years ago by eom
Based on http://snipplr.com/view/2734/get-full-url/
0 1006 posted 14 years ago by juanrossi
To follow all of members in a list, you may want to use http://tweepml.org/
0 851 posted 14 years ago by zuzara
Tumblr API: http://www.tumblr.com/docs/de/api
0 813 posted 14 years ago by ichnoweb
Quick and easy way to determine if the HTTP request is an AJAX call or a standard call. Supports the notion of Unobtrusive JavaScript.
3 1391 posted 14 years ago by joshuascott94
Pulling posts from outside wordpress (in the right way!) as a response for this snippet: http://snipplr.com/view/39523/pulling--posts-from-outside-wordpress/
0 1497 posted 14 years ago by bronet
3 914 posted 14 years ago by StephFR
Here's a little trick I started using when working with XAMPP for localhost and keeping things in tune with the live configuration variables such as username and passwords to mysql (or whatever you're writing for). The example below figures your w...
1 772 posted 14 years ago by jackkeller
1 1025 posted 14 years ago by 3k-
The code to call the normal Thesis Thumb is at http://snipplr.com/view/38971/thesis-thumbnail/\r\n\r\nTo test whether there is a thumbnail, and if not use another one, use this code in custom_functions.php.\r\n\r\nYou can change the class alignleft t...
0 753 posted 14 years ago by kristarella
Substitute new_ placeholder in the second line with your new prefix. Run it: http://www.yoursite.com/rename.php and wait until it responds with an OK, usually after a couple of seconds. Delete the rename.php script. Edit the configuration.php file...
0 1109 posted 14 years ago by beneberle
I used this plugin to create new roles/capabilities: http://wordpress.org/extend/plugins/capsman/
1 666 posted 14 years ago by seafae
I needed to create several pages that didn't use any models and contained static data inside the default layout. My first thought was to create a controller for these pages and define an action for each static page I needed. However, this solution se...
0 782 posted 14 years ago by TioSolid
Following our recent work on an [API for Cloudworks](http://freear.org.uk/node/40) I thought I\'d post this simple demo, which uses cURL and json_decode. [Email us](mailto:cloudworks AT open.ac.uk?subject=API) for an API key. (15-24 June 2010.)
0 861 posted 14 years ago by nfreear
Send SMS via www.smsmatrix.com SMS Gateway using PHP See more examples at <A HREF="http:/www.smsmatrix.com">SMS/Voice/TTS Gateway</a>
0 912 posted 14 years ago by smsmatrix
A source to help you interpreting URLs in plain text as a HTML link. It's an improvement of what was proposed here : http://snipplr.com/view/2371/regex-regular-expression-to-match-a-url/
3 1385 posted 14 years ago by keevkilla
Used in my post on how to optimize WordPress, which can be found here: http://www.brettwidmann.com/2010/01/optimizing-your-wordpress-site-pt-2/
1 749 posted 14 years ago by goatboy91587
Used in my post on how to optimize WordPress, which can be found here: http://www.brettwidmann.com/2010/01/optimizing-your-wordpress-site-pt-2/
0 815 posted 14 years ago by goatboy91587
Used in my post on how to optimize WordPress, which can be found here: http://www.brettwidmann.com/2010/01/optimizing-your-wordpress-site-pt-2/
0 803 posted 14 years ago by goatboy91587
Used in my post on how to optimize WordPress, which can be found here: http://www.brettwidmann.com/2010/01/optimizing-your-wordpress-site-pt-2/
0 831 posted 14 years ago by goatboy91587
This snippet allows admins to create menu items which do not link anywhere. This is most useful in situations where one wants to have dropdown menus where the parent item should not be a link. This same method could be used to create non-linking...
1 1011 posted 14 years ago by MikeyLikesIt
Check to see if HTTP POST variable exists before doing something with it.
0 1004 posted 14 years ago by jonkemp
1 ... 4 5 6 7 8 9 10