- Timestamp:
- Jan 17, 2008, 8:07:59 PM (17 years ago)
- Location:
- www
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
www/config.sample.php
r4 r25 19 19 'ShowError' => 1, 20 20 'ErrorLogFile' => '/var/www/html/dev/centrala/www/php_script_error.log', 21 'WebcamPassword' => '', 21 22 ), 22 23 ); -
www/webcam/webcam.php
r10 r25 1 1 <?php 2 include('../global.php'); 2 3 3 4 $RefreshPeriod = 1; … … 10 11 if((time() - $RefreshPeriod) >= $ModifyTime) 11 12 { 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'); 13 14 exec('mv -f webcam_cache.jpg webcam.jpg'); 14 15 }
Note:
See TracChangeset
for help on using the changeset viewer.