peckham


Member since 08/03/2010

Name: Koen

5 snippets

2258 profile views

2 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

peckham's Recent Snippets



« Prev 1 Next »
A simple class to cache files (or other results) with PHP.
1 837 posted 11 years ago by peckham
This function validates the URL of a YouTube video. It supports four kinds of URL: ?v=, /v/, #!v=, and the short version (youtu.be). To validate the ID a request to YouTube is made, this is done using a personal class utilizing cURL.
0 748 posted 12 years ago by peckham
This function can be used to validate an URL
0 685 posted 13 years ago by peckham
The option elements in the original select may provide an image and a second line of text by using a data-img and a data-info attribute.
7 1130 posted 13 years ago by peckham
This example shows how enableEditing can be emulated in version 3 of the Google Maps API. \\r\\nWhen releasing an editable point after dragging it, the changed part of the polyline will be updated.\\r\\nPoints can be added to by clicking on the map a...
0 1978 posted 13 years ago by peckham
« Prev 1 Next »