Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 102 103 104 105 106 ... 147
Custom CodeIgniter form_validation class to validate uploaded files.
1 817 posted 15 years ago by djenniex
For more information, see php.net, under usort It works with dates Replace 0 for the array's key you want to sort. For example, if you have a start_date array key you would like to compare, then you would replace 0 for start_date. If you wan...
0 938 posted 15 years ago by leonelsantos
In v1.6, the Thesis Theme has a bug which removes a necessary space in the HTML body tag if you add a filter targeting the thesis_body_classes hook. To get the native WP body_class function to work, use this code:
2 1109 posted 15 years ago by joelhaus
Move form element into category. Helper for organizing the form
0 581 posted 15 years ago by kosmikko
Just the basic Wordpress comments loop.
1 2532 posted 15 years ago by warrenonline
A function i made for running trim on all elements in an array
1 951 posted 15 years ago by Knarf
Inserts a block with the id of 26
1 752 posted 15 years ago by nate63179
in category item
0 701 posted 15 years ago by nico65
A very simple class that quickly gets you interacting with a database, as long as you know sql :P.
1 1338 posted 15 years ago by r3morse
correct code for subbing someone to icontact through curl
0 574 posted 15 years ago by legacye
This function works correct with files with no extension.
0 789 posted 15 years ago by kirik
0 603 posted 15 years ago by Actuarybrad
Via: [http://www.touchdesk.nl/2009/04/full-menu-tree-with-active-trail-in-drupal-6/](http://www.touchdesk.nl/2009/04/full-menu-tree-with-active-trail-in-drupal-6/)
0 797 posted 15 years ago by Ateneatech
Replace *foo* with your module name
0 733 posted 15 years ago by Ateneatech
1 751 posted 15 years ago by level09
1 709 posted 15 years ago by level09
4 4151 posted 15 years ago by traeregan
Do you every wanted to clean and perfectly intent your xhtml document?
1 771 posted 15 years ago by tillkruess
the user sees the confirmation page immedeateley. this is helpful if the mail() function takes some time
0 830 posted 15 years ago by miebach
1 709 posted 15 years ago by ReeceMarsland
Do not use this php file exactly as it is. It's only to demonstrate the basics of the api. You *must* do form checking to ensure safe values are passed. Also, it's a really bad and very insecure practice to put a form like this publicly on your w...
1 1364 posted 15 years ago by shaunjanssens
Socket communication class for DirectAdmin
2 865 posted 15 years ago by shaunjanssens
0 647 posted 15 years ago by gd6d
1 ... 102 103 104 105 106 ... 147