Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
The following are instructions to "re-post" files that have been already been POSTed to your php script. This can help if you want to have a form (with file upload) that POSTs its data to your own script where the text elements can be handled and the...
2
1710
posted 15 years ago by benjaminpearson
Inspired by http://particletree.com/features/rediscovering-the-button-element/
1
1226
posted 15 years ago by cssbutton
This is a simple search function for the [User Groups](http://www.dabbledoo.com/design/docs/User-Groups-Module/) module for ExpressionEngine. It searches groups (names and descriptions) as well as topics and topic replies. It respects group types as...
0
1558
posted 15 years ago by lukemcr
I added this code in the ModuleNews.php file on line 310 - 314.
0
1206
posted 15 years ago by kahlil
A script I used for quickly load a file (see line 3) and then make a table which had linenumbers on each line. You may want to add a +1 when its generating the table...
0
1267
posted 15 years ago by Knarf
This was a comment posted by [this person] (http://bit.ly/1o9aIJ) to an article posted [here] (http://bit.ly/7BtLT)
0
1043
posted 15 years ago by czapata
OSX 10.6 adds exchange support , but breaks if you use jewish calendar , this will fix it.
0
1125
posted 15 years ago by yisreldov
A Swing ActionListener that opens a JFileChooser and returns the selected file.
1
1876
posted 15 years ago by liqweed
There are a lot of 'starters' out there but I wanted one with all the things I use to start a new project. I find it easier to remove lines I don't need than to hunt and peck for each item...this also makes the starter serve as a sort of 'checklist'...
2
2839
posted 15 years ago by mahalie
display: block; needed for IE7 to enable the negative text-indent.
2
1867
posted 15 years ago by adambundy
Custom CodeIgniter form_validation class to validate uploaded files.
1
1172
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
1511
posted 15 years ago by leonelsantos
When you click on the text box the default value (such as "write here") disappears and you can type in. On blur if the textbox is empty it will appear the default value again.
1
1259
posted 15 years ago by ginoplusio