Menu

Home

Stephen Phillips

Simple Webcam Image Archive Script

Author: Stephen Phillips - http://www.stephen-phillips.co.uk/webcam.html

Date: 11/03/2012

Version: 1.1 (some bugfixes, index.html with webcam viewer, and updated docs)

Description:

This is a simple script I wrote to automatically archive images from my webcam to a MySQL Database for me to view later using PHP and a scheduler such as cron.

It is very simple, and can be included into a page using an iframe, it automatically copies the latest version of an image to the database which can be viewed using gallery.php to view all with sorting options,
or using recentListing.php which shows the 10 most recent images archived.

Features

Simple html and javascript based webcam page which updates image src to refresh an ftp uploaded image from your camera.
Scheduled archive of images on a website using cron
Stores images in MySQL DB which can be sorted on date and other fields
Includes paginated gallery code to view previous images
Includes latest 10 images code to embed on a website
Includes documentation in readme.txt with guide to install
Basic code, no styles applied, unbadged

Demo

A demo of the script in action can be seen on my own website at - http://www.stephen-phillips.co.uk/webcam.html

Project Admins:


MongoDB Logo MongoDB