Welcome To Snipplr
Everyone's Recent PHP Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Donwloads weren't working with https + ie6/ie7. This line solves the problem (order is important, **no-store** must be first).
0
574
posted 13 years ago by ashsa
PHP
wordpress functions.php - Show only current page's subpages and current pages siblings, hide sibling's subpages
Works!
0
710
posted 13 years ago by zartgesotten
This code is usefull for getting the list of Wordpress Sites from Multisite without sending each user id.
0
991
posted 13 years ago by juanrossi
Here is a little bit of code I use from time to time to make a generic some what safe date selector for forms. I wanted something easy, small, and not relying on images, jquery, libraries, etc... Most importantly I wanted the date that was selected t...
0
560
posted 13 years ago by brownrl
this gives you the real controller/method names, even if you reroute them.
1
811
posted 13 years ago by aelien
So i wanted to spit all my error_log(); and error_reporting(E_ALL); to syslog on my MacOSX and syslog would output it on a custom file.
0
910
posted 13 years ago by sadus
Takes a Singapore Postal Code and outputs its corresponding district name
0
699
posted 13 years ago by dougunplugged