"Webleycity" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> A client wants a webcam on his site. Does any body know what script is
used
> and how it works.

The camera should come with a prog to take a snapshot.
Write a batch file that takes a snapshot, then uploads it
to your web server.  Write a batch file that calls the first
batch file every 55 seconds, OR make it a timed job via
cron.

Add javascript to the web page to call the new
graphic every 60 seconds and swap it in after it is finished
loading.  The five-second difference is to ensure that
small delays will not cause the same picture to be reloaded
again.

If you have loads of space, you could keep an archive;
otherwise I suggest overwriting the existing image each
time or maybe alternating between two names.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to