Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 102 103 104 105 106 ... 147
Test controller for custom Form_validation class
0 960 posted 15 years ago by djenniex
Custom CodeIgniter form_validation class to validate uploaded files.
1 1107 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 1384 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 1580 posted 15 years ago by joelhaus
Move form element into category. Helper for organizing the form
0 880 posted 15 years ago by kosmikko
Just the basic Wordpress comments loop.
1 2991 posted 15 years ago by warrenonline
A function i made for running trim on all elements in an array
1 1359 posted 15 years ago by Knarf
Inserts a block with the id of 26
1 1037 posted 15 years ago by nate63179
in category item
0 988 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 1752 posted 15 years ago by r3morse
correct code for subbing someone to icontact through curl
0 827 posted 15 years ago by legacye
This function works correct with files with no extension.
0 1112 posted 15 years ago by kirik
0 909 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 1111 posted 15 years ago by Ateneatech
Replace *foo* with your module name
0 1046 posted 15 years ago by Ateneatech
1 1021 posted 15 years ago by level09
1 1053 posted 15 years ago by level09
4 5224 posted 15 years ago by traeregan
Do you every wanted to clean and perfectly intent your xhtml document?
1 1076 posted 15 years ago by tillkruess
the user sees the confirmation page immedeateley. this is helpful if the mail() function takes some time
0 1184 posted 15 years ago by miebach
1 1004 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 1931 posted 15 years ago by shaunjanssens
Socket communication class for DirectAdmin
2 1228 posted 15 years ago by shaunjanssens
1 ... 102 103 104 105 106 ... 147