Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged php



1 ... 25 26 27 28 29 ... 58
0 904 posted 14 years ago by wnasich
0 1244 posted 14 years ago by wnasich
This snippet is a PHP function that checks if an email address is valid
2 972 posted 14 years ago by visudex
After an attempt to more a live site to a personal server for further work I ran across the problem of a mix of absolut and relative links making the local copy not work. Not wanting to manually have to change every single absolute to a relative (bec...
0 871 posted 14 years ago by FatFolderDesigner
0 885 posted 14 years ago by jli
This code is usefull for getting the list of Wordpress Sites from Multisite without sending each user id.
0 1241 posted 14 years ago by juanrossi
MacOS 10.6.5 PHP 5.3.3
0 593 posted 14 years ago by zuzara
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 770 posted 14 years ago by brownrl
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 1156 posted 14 years ago by sadus
1 784 posted 14 years ago by lorenz82
I'm originally a sys admin and i love "tail - f /var/log/*" ... so i created a similar function in PHP that will allow me to view in real time what classes/functions/files/lines of my code is being run... The usage is really simple, just set a glo...
1 1526 posted 14 years ago by sadus
1 739 posted 14 years ago by nveselinov
0 917 posted 14 years ago by stephcode
nice post, would do it a bit differently but using it currently as-is.
0 828 posted 14 years ago by dmistriotis
0 838 posted 14 years ago by sb_01
Snippet for adding to your functions.php file to enqueue jQuery.
1 711 posted 14 years ago by oriontimbers
1 872 posted 14 years ago by sadus
0 903 posted 14 years ago by sandrews_06
Im pretty new to oop php i have tried to create a php search function but im sure this needs alot of improvement. So add on :D
0 602 posted 14 years ago by JonnySnip3r
How to enable Custom Navigation Menus in WordPress 3.0 Like the custom background, header image, and post thumbnails, the custom navigation menus also needs to be enabled through your theme’s functions.php file.
0 841 posted 14 years ago by johnnyrokkit
Simple function to store an array in a cookie. Uses JSON. To pull data out of cookie use 'json_decode()'. It can then be looped etc.
1 1427 posted 14 years ago by liamchapman
0 762 posted 14 years ago by G470
put this code above the loop
0 526 posted 14 years ago by Token
Quick and simple script to make clean urls. Works in combination with Apache mod_rewrites :-)
1 702 posted 14 years ago by liamchapman
this is a very basic client for rumpetroll. Very messy, still needs to be turned into a class
0 808 posted 14 years ago by michaelphipps
0 736 posted 14 years ago by zreedeecom
Brings single or multiple results from a mediawiki search back as an easy to use array
0 743 posted 14 years ago by adamzwakk
1 1120 posted 14 years ago by danwhite85
1 ... 25 26 27 28 29 ... 58