Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 102 103 104 105 106 ... 147
Test controller for custom Form_validation class
0 1118 posted 16 years ago by djenniex
Custom CodeIgniter form_validation class to validate uploaded files.
1 1238 posted 16 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 1603 posted 16 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 1828 posted 16 years ago by joelhaus
Move form element into category. Helper for organizing the form
0 994 posted 16 years ago by kosmikko
Just the basic Wordpress comments loop.
1 3190 posted 16 years ago by warrenonline
A function i made for running trim on all elements in an array
1 1549 posted 16 years ago by Knarf
Inserts a block with the id of 26
1 1171 posted 16 years ago by nate63179
in category item
0 1131 posted 16 years ago by nico65
A very simple class that quickly gets you interacting with a database, as long as you know sql :P.
1 1993 posted 16 years ago by r3morse
correct code for subbing someone to icontact through curl
0 935 posted 16 years ago by legacye
This function works correct with files with no extension.
0 1250 posted 16 years ago by kirik
0 1057 posted 16 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 1246 posted 16 years ago by Ateneatech
Replace *foo* with your module name
0 1220 posted 16 years ago by Ateneatech
1 1180 posted 16 years ago by level09
1 1193 posted 16 years ago by level09
4 5914 posted 16 years ago by traeregan
Do you every wanted to clean and perfectly intent your xhtml document?
1 1245 posted 16 years ago by tillkruess
the user sees the confirmation page immedeateley. this is helpful if the mail() function takes some time
0 1347 posted 16 years ago by miebach
1 1137 posted 16 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 2544 posted 16 years ago by shaunjanssens
Socket communication class for DirectAdmin
2 1370 posted 16 years ago by shaunjanssens
1 ... 102 103 104 105 106 ... 147