Welcome To Snipplr


Everyone's Recent Snippets



1 ... 435 436 437 438 439 ... 552
Use this when you want to serve a domain from the document root of another domain on the same box. Along with this config, you will want to replace the httpdocs directory with a symlink to the other domains doc root. (Don't forget to change ownership...
1 1806 posted 17 years ago by zachharkey
this function tells you whether or not the passed value is in the passed array
1 2101 posted 17 years ago by jlvallelonga
this funciton returns an XMLHttpRequest object for use in ajax pages
1 2154 posted 17 years ago by jlvallelonga
Edit functions.php and sidebar.php
2 2030 posted 17 years ago by selfmadepsyche
3 1448 posted 17 years ago by selfmadepsyche
1 1555 posted 17 years ago by selfmadepsyche
1 1826 posted 17 years ago by selfmadepsyche
1 1572 posted 17 years ago by selfmadepsyche
get_the_author_email outputs the post author’s email and the “80” is the size of the avatar image in pixels & it has to be in the loop!
0 2688 posted 17 years ago by selfmadepsyche
Here's a simple one liner you can use to syntax check all php files in your working directory.
0 1673 posted 17 years ago by endorfin
0 1958 posted 17 years ago by troynt
Find out how to retrieve a count of the total times users have bookmarked your web site or web page on Delicious by using JQuery and JSON. The code is pretty simple and can be done in under 18 lines of code.
1 2342 posted 17 years ago by neal_grosskopf
0 1619 posted 17 years ago by troynt
In my app, we have to auto-generate usernames for our users, here is the code I did.
2 2278 posted 17 years ago by luctus
This is a script that can parse a URL string, and return all components in a systematic way via an object. This script is very useful in places where you want to link to a page "dynamically" generated by javascript. This is usually done by adding GE...
2 2208 posted 17 years ago by jrharshath
1 ... 435 436 437 438 439 ... 552