Welcome To Snipplr
Everyone's Recent PHP Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
courtesy of mark8barnes (http://wordpress.org/support/profile/52354)
1
817
posted 14 years ago by iroybot
integration of an image/title/description into a snippet using WindowsOnWeb
0
545
posted 14 years ago by windowsonweb
A class for uploading images and creating thumbnails.
Example:
try{
$img = new img('photo');
if($_FILES['photo']['size']>=1000000){
exit('The file size of the file you are trying to upload is over limit.
Your file size = '.$_F...
2
995
posted 14 years ago by leonelsantos
Hello Php Coders,
Here's a useful php code block for your projects to control server status.
Use this code blokc to report a server status result. I hope you'll like it.
Also; i suggest you to rest for a while on [2 KiÅŸilik Oyunlar](http://...
2
954
posted 14 years ago by jackoder
After i saw this snippet http://snipplr.com/view/33790/form-country-code-select-with-if-selected-test/ i wanted to make the code better :D
To make it easier to maintain
0
938
posted 14 years ago by cigraphics
How to retrieve the amount of items the user has into the cart
0
645
posted 14 years ago by TioSolid
PHP
Wordpress - Show link to the next and previos brother of the current page, and a link to the page parent
Must be placed after the_post()
1
2491
posted 14 years ago by Overdeath
Must be placed after the_post() so make sure you verify that if you place it in the sidebar.
0
1089
posted 14 years ago by Overdeath
I know this code isn't perfect (and there's a spot where it kind of repeats itself), but I figured I'd share anyway.
NOTE: This code assumes that you are programming in CodeIgniter and you have uploaded a file and posted to a Controller which then...
2
740
posted 14 years ago by polarbear