|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not enough user ratings||Total: 568 ||All time: 5,381 This week: 105|
This class can capture images from a remote webcam.
It takes the URL of a given remote webcam site and retrieve the current webcam image to a local file.
Retrieved images may be shrunk in case they exceed a give width or height limit.
The class can also check the remote Webcam image date to verify if it is newer than the previously retrieved webcam image.
Multiple webcam images may be archived in a local directory with file names based on the image retrieval timestamp.
Prize: One downloadable e-book of choice by O'Reilly
|There are many places in the world that have webcams capturing pictures of the locations where they are installed.
This class provides a solution to efficiently retrieve images from many webcams available throughout the world.
* This file provides a simple test application
* @author Maik Greubel <firstname.lastname@example.org>
// Hopefully this cam is accessible for free (link taken from http://www.webcams.travel/webcam/1306724646-Weather-Acapulco-Icacos)
$webcam = new WebcamFetch("http://webcamsdemexico.net/acapulco1/live.jpg", 80, "acapulco.jpeg", 300);
// If you want to use the script in your own website and not in cronjob, you honestly want to send the data to client...
printf("%s occured: %s\n%s\n", get_class($ex), $ex->getMessage(), $ex->getTraceAsString());
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.