Changeset 25 for www/webcam


Ignore:
Timestamp:
Jan 17, 2008, 8:07:59 PM (17 years ago)
Author:
george
Message:

Opraveno: Načítání obrázku web kamery.

Location:
www/webcam
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • www/webcam/webcam.php

    r10 r25  
    11<?php
     2include('../global.php');
    23
    34$RefreshPeriod = 1;
     
    1011if((time() - $RefreshPeriod) >= $ModifyTime)
    1112{
    12   exec('wget "http://192.168.0.114/Webcam.jpg?MobilePass=admin&V=2&Q=2&B=2&U=1" -O webcam_cache.jpg');
     13  exec('wget "http://192.168.1.114/Webcam.jpg?MobilePass='.$Config['Web']['WebcamPassword'].'&V=2&Q=2&B=2&U=0" -O webcam_cache.jpg');
    1314  exec('mv -f webcam_cache.jpg webcam.jpg');
    1415}
Note: See TracChangeset for help on using the changeset viewer.