Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 102 103 104 105 106 ... 147
Test controller for custom Form_validation class
0 951 posted 15 years ago by djenniex
Custom CodeIgniter form_validation class to validate uploaded files.
1 1105 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 1350 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 1554 posted 15 years ago by joelhaus
Move form element into category. Helper for organizing the form
0 873 posted 15 years ago by kosmikko
Just the basic Wordpress comments loop.
1 2979 posted 15 years ago by warrenonline
A function i made for running trim on all elements in an array
1 1342 posted 15 years ago by Knarf
Inserts a block with the id of 26
1 1026 posted 15 years ago by nate63179
in category item
0 980 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 1733 posted 15 years ago by r3morse
correct code for subbing someone to icontact through curl
0 822 posted 15 years ago by legacye
This function works correct with files with no extension.
0 1101 posted 15 years ago by kirik
0 898 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 1107 posted 15 years ago by Ateneatech
Replace *foo* with your module name
0 1039 posted 15 years ago by Ateneatech
1 1013 posted 15 years ago by level09
1 1048 posted 15 years ago by level09
4 5122 posted 15 years ago by traeregan
Do you every wanted to clean and perfectly intent your xhtml document?
1 1065 posted 15 years ago by tillkruess
the user sees the confirmation page immedeateley. this is helpful if the mail() function takes some time
0 1176 posted 15 years ago by miebach
1 988 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 1902 posted 15 years ago by shaunjanssens
Socket communication class for DirectAdmin
2 1220 posted 15 years ago by shaunjanssens
1 ... 102 103 104 105 106 ... 147