Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
09ca28b2
Commit
09ca28b2
authored
Mar 02, 2005
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert to still images for the webcams until I have a solution.
parent
2a38a715
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
5 deletions
+16
-5
www/webcam.php3
www/webcam.php3
+12
-0
www/webcamimg.php3
www/webcamimg.php3
+4
-5
No files found.
www/webcam.php3
View file @
09ca28b2
...
...
@@ -53,6 +53,18 @@ if (!$query_result || !mysql_num_rows($query_result)) {
MyError
(
"There are no webcams to view!"
);
}
if
(
isset
(
$refreshrate
))
{
echo
"<center>
<a href=webcam.php3>Stop Auto-refresh.</a>
</center>
\n
"
;
}
else
{
echo
"<center>
<a href=webcam.php3?refreshrate=1>Auto-refresh</a> images at one
second interval.
</center>
\n
"
;
}
echo
"<table cellpadding='0' cellspacing='0' border='0' class='stealth'>
\n
"
;
while
(
$row
=
mysql_fetch_array
(
$query_result
))
{
...
...
www/webcamimg.php3
View file @
09ca28b2
...
...
@@ -50,7 +50,7 @@ if (!$query_result || !mysql_num_rows($query_result)) {
MyError
(
"No such webcam ID: '
$webcamid
'"
);
}
$row
=
mysql_fetch_array
(
$query_result
);
$URL
=
$row
[
"URL"
];
$URL
=
$row
[
"
stillimage_
URL"
];
#
# Check sitevar to make sure mere users are allowed to peek at us.
...
...
@@ -81,10 +81,9 @@ if (!$socket) {
# of the interface we are using (fopen). No biggie, but we have to
# spit them out ourselves so the client knows what to do.
#
header
(
"Content-type: multipart/x-mixed-replace; boundary=--myboundary"
);
header
(
"Expires: Mon, 26 Jul 1997 05:00:00 GMT"
);
header
(
"Cache-Control: no-cache, must-revalidate"
);
header
(
"Pragma: no-cache"
);
#header("Content-type: multipart/x-mixed-replace;boundary=--myboundary");
#TBERROR(print_r($http_response_header, TRUE) . "\n\n", 0);
#
# Clean up when the remote user disconnects
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment