Php

From neil.tappsville.com
Revision as of 08:12, 3 September 2019 by Gonzo (talk | contribs) (Created page with "==PHP Scripts== Proxy an image from a local system that requires authorisation, such as a internal Security DVR, no proxy required. Save this image.php and wa-la <pre> <?php...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

PHP Scripts

Proxy an image from a local system that requires authorisation, such as a internal Security DVR, no proxy required. Save this image.php and wa-la

<?php
$temp = file''get''contents('http://user:password@host.com/cgi-bin/guest/Video.cgi?media=JPEG');
header("content-type: image/jpeg");
echo ($temp);
?>

BBClone

As the developers say 'A PHP based Web Counter on Steroids', this is what I use count unique vistors on the main site

To upgrade to a newer version.

  • Copy all files except /var
  • Then reconfigure conf/config.php