Hello all,
I am new to php3 so i need any help. I have a firewall with iptables with nic cards. One with ip_extern and ip_internal. Behind the firewall i have a webcam. Then i wrote the code but it only work outside my network. When i try to see the webcam it shows me nothing.
<?php
// (c) copyleft 1999 gustaf bjorksten <gustaf@cmetech.com.au> please distribute freely...
$remote_host = getenv("REMOTE_HOST"); // Get the fqdn of the client making the request...
if (ereg("192.168.", $REMOTE_ADDR)) {
include ("frame_local.htm");
} else {
include ("frame_remoto.htm");
}
?>
What i am missing?