Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 20 21 22 23 24 ... 147
This is the list of [supported timzones](http://php.net/manual/timezones.php) that can be used with the [PHP5 DateTime](http://php.net/manual/class.datetime.php) class, grouped by geographical continent (rather than PHP's America/..., Asia/... etc id...
0 884 posted 12 years ago by ch1902
sort a multidimensional array by field
0 931 posted 12 years ago by akt
sort a multidimensional array by field
0 910 posted 12 years ago by akt
Make your spreadsheet public to get a key like this: 0AsfENoKj1ir7dE8yR6U0aUtpdTVNM20wRlNJOhZaclG Set it on the script and you're all done.
0 898 posted 12 years ago by Felladrin
0 493 posted 12 years ago by lolitaloco
set post thumb if missing on post save
0 708 posted 12 years ago by lolitaloco
$asciiData = preg_replace( '/[\x7f-\xff]/', '', $dirtyData );
0 668 posted 12 years ago by jgomez
Get file extension from it's name or complete path
2 976 posted 12 years ago by fawazcb
I'm facing an error when i read the JS array using a JS loop
0 818 posted 12 years ago by kaushikTD
ChucK is a strongly-timed, concurrent, and On-the-fly Audio Programming Language. A Bundle to edit ChucK files in the TextMate editor is created at Github. To install it execute in Terminal:
0 902 posted 12 years ago by Thommm
Let's say you want to show a list of employees, and you want to show 3 on each row, use the script below to accomplish that.
0 1072 posted 12 years ago by andreaskian
1 996 posted 12 years ago by paul0078
0 873 posted 12 years ago by paul0078
0 980 posted 12 years ago by paul0078
0 645 posted 12 years ago by paul0078
0 754 posted 12 years ago by paul0078
0 644 posted 12 years ago by paul0078
Enter any suspicious IP address that you wanted to check into the form field and press the "LOOKUP" button
1 2575 posted 12 years ago by DNSBL
Toggle section titles
0 688 posted 12 years ago by G470
Use this code to call the Plugin: <plug:full_background_image>
1 941 posted 12 years ago by G470
Author: J. van Hemert Fixes encoding when utf-8-encoded data is stored in tables with other (e.g. latin_swedish_ci) encoding. Will convert all columns in all tables to utf8_general_ci.
0 1010 posted 12 years ago by sjasliek
Add this bit of code to functions.php
0 652 posted 12 years ago by adiacone
Sometimes you just want a random link to display and outside of the default format, this works perfectly and removes all default html (list items / headings).
0 981 posted 12 years ago by crypticsoft
1 ... 20 21 22 23 24 ... 147