Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
These two snippets together, the first in the .htaccess file, and the second in your PHP create an elegantly simple solution to arbitrary URLs with php. For a breakdown and example check out the link.
Don't want to follow the link, how about the q...
0
938
posted 12 years ago by FatFolderDesigner
This send any value via POST to a PHP page. It is done with AJAX, so the POST return can be used on the same page as the submit
0
1135
posted 12 years ago by rickygri
You have to use float or double for the returned value, since the scale occurs in a continuous function.
0
1500
posted 12 years ago by rtperson
The UISegmentedControl consists of a horizontal control divided into segments. Segmented controls are useful for allowing users to pick from a group or set of values.
Each segment functions as its own button. By default, selecting a segment will d...
1
1213
posted 12 years ago by zopebie
When performing tasks that may take some time, you often need to provide some kind of visual feedback to your users. If you know how long the task will take to complete, you can use a progress indicator to show the user how much of the task has been...
1
851
posted 12 years ago by zopebie