Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged c



1 ... 121 122 123 124 125 ... 147
2 2273 posted 17 years ago by localhorst
Just provide $availableLanguages as an array('en', 'de', 'es')
5 4008 posted 17 years ago by ping_ch
0 1893 posted 17 years ago by jonniespratley
0 1975 posted 17 years ago by jonniespratley
1 1881 posted 17 years ago by jonniespratley
I am currently still working on this, and will make changes.
1 2133 posted 17 years ago by jonniespratley
Here is a simple method for displaying footer copyright year. This way at the end of the year you are not updating footers for the first 3 weeks in January :)
0 1847 posted 17 years ago by jadedbat
I use it when i've problems with permissions of user-uploaded files.
2 2176 posted 17 years ago by ping_ch
A simple to use framework for a contact form. This is missing some serious validation and such but is a good startin' point for any simple contact form. The input field named 'botty' is an input field we hide with css.. if data is sent to the ha...
7 3297 posted 17 years ago by jadedbat
I needed to have a cron job that did some MySQL work iterating through a long list of items based on the content of a table in MySQL. I wanted each item in the table to be iterated over roughly once every 5 minutes, but building up the in-memory lis...
0 1836 posted 17 years ago by cori
AJAX by default only lets you play within your own Domain.com but there are plenty of times where you want to use someone else's feed. Check out http://snipplr.com/view/12466/jquery-parse-rss-feed/ to understand the rest.
1 2024 posted 17 years ago by chrisaiv
Simply create a new index.php and place this code within.
1 1798 posted 17 years ago by chrisaiv
3 2573 posted 17 years ago by sveggiani
1 1977 posted 17 years ago by sveggiani
18 12900 posted 17 years ago by sidisinsane
0 2012 posted 17 years ago by eden159
Load jQuery into WordPress generated pages, the wp_enqueue_script function can be used in plugins as well. OR Add and load a new script that depends on jQuery (this will also cause it to load jQuery into the page as well).
2 2019 posted 17 years ago by selfmadepsyche
Edit functions.php and sidebar.php
2 2114 posted 17 years ago by selfmadepsyche
3 1531 posted 17 years ago by selfmadepsyche
1 1645 posted 17 years ago by selfmadepsyche
1 1905 posted 17 years ago by selfmadepsyche
1 ... 121 122 123 124 125 ... 147