php3-list | 199903

[PHP3] php & webcam trouble From: Jens Knoell (jens <email protected>)
Date: 03/17/99

Hello everyone

I have some trouble with a webcam script... it won't update. I suspect it's
more a server than a php problem right now, but I am not sure.

What I try to accomplish is this: A webcam feeds a picture every 5 seconds.
I wished to give the user the choice of how many updates they want to get,
say 5,10,15,20,...whatever seconds. This part works, no problem, simply
using a form which submits the results to itself and uses it in a metatag.

But...no matter what I tried, the picture won't change in the browser. I can
see that the picture gets uploaded properly, I can see that the date changes
accordingly (added a php line to check that), but the browser (tried opera,
netscape and internet explorer, the latter even on linux)... nothing, they
won't update the picture.

I am completely lost. I think I must miss something basic again, but what?

In the simplest form, the page would look like this:
----<snip>----
<html>
  <head>
    <meta http-equiv="Refresh" content="20">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta name="generator" content="vi - the only real html editor">
    <title>CyberEyes</title>
  </head>
  <body bgcolor="#000000" text="#ffc050">
    <img src="capture.jpg"><br>
    Picture taken at: <? echo date( "l, d.m.Y
H:i:s",filectime("capture.jpg")) ?> [MET]
  </body>
</html>
----</snip>----

Somewhat lost,
Jens Knoell

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>