Welcome To Snipplr


Everyone's Recent Snippets Tagged php



1 ... 25 26 27 28 29 ... 64
0 1382 posted 15 years ago by silentpro
2 1189 posted 15 years ago by silentpro
WP Functions Step 1: Upload the logo you want into the theme images folder Step 2: Add the following code to your theme functions.php file
3 1362 posted 15 years ago by silentpro
WP Functions.
0 1072 posted 15 years ago by silentpro
Uploading multiple files at once used to be strictly in the realm of flash or required javascript to crate multiple upload forms as needed. The first method has the problems with the general incompatibility of flash. The second, well, it's a very low...
0 1848 posted 15 years ago by FatFolderDesigner
0 1129 posted 15 years ago by graphical_force
taken from comments at above URL
1 2055 posted 15 years ago by dan_hoerr
alternative to print_r with syntax highlight using jquery
3 1268 posted 15 years ago by letanure
0 1221 posted 15 years ago by wnasich
Function to simply generate a random password.
0 1505 posted 15 years ago by nsbucky
2 1375 posted 15 years ago by sjacunningham
2 2820 posted 15 years ago by krillzip
This takes a date like so: Sat, 08 Jan 2011 from a database and allows you to use it in your code. For example if you wanted to work out a week from Sat, 08 Jan 2011 it can be done with ease. I created this for a project i am currently working on. Th...
0 1172 posted 15 years ago by JonnySnip3r
Modify includes to connect and select to provide correct result set
0 2973 posted 15 years ago by kidmizere
0 1050 posted 15 years ago by takel
0 1334 posted 15 years ago by takel
0 1114 posted 15 years ago by takel
4 2799 posted 15 years ago by takel
possibilitar a leitura de cada chave específica do google maps para cada domínio respectivo à chave
0 1308 posted 15 years ago by rbulgueroni
Previously, I posted a little snippet I found on how to generate a special body class on each .php page. I, later, needed to get that body class and echo out a piece of HTML, which depended on my current page. So here is the snippet that I came up wi...
0 1438 posted 15 years ago by danielwrobert
From an awesome comment on how you can use PHP to apply the unique ID to to the body element. This will return the name of the PHP file being executed as the ID (e.g. body id="index.php"). To leave off the .php part, just remove the ".php" part.
0 1768 posted 15 years ago by danielwrobert
A class that implements an interface cannot override a constant defined in the interface. But any child class that extends from the implementing class can.
0 1136 posted 15 years ago by denright
Refer here for a full overview: http://net.tutsplus.com/tutorials/php/quick-tip-email-error-logs-to-yourself-with-php/
9 2765 posted 15 years ago by Nettuts
A little function used to set cookies as arrays of values instead of single combinations key->value. Note that it saves values as a stack.
1 1256 posted 15 years ago by claudiowebdesign
0 2314 posted 15 years ago by fadehelix
There seems to be many scan directory systems but I could not find one that works the way I needed. I added in functionality for a search filter and an ignore list. The search filter and ignore list can ignore by extension, file (case-sensitive file...
1 1872 posted 15 years ago by SoN9ne
2 1465 posted 15 years ago by relish
0 1441 posted 15 years ago by jaredyeo
This will remove all non-ascii characters / special characters from a string.
1 2496 posted 15 years ago by daipratt
1 ... 25 26 27 28 29 ... 64