Hello,
I need help I never programmed in php. :/
I have a firewall with proxy. Now a put a webcam behind the firewall. If put
the external_ip i see the cam, if i put the internal_ip i see the cam. Now i
made a web page with code below
<!--#if expr="(${REMOTE_ADDR} = /^192\.168\./) ||
(${REMOTE_ADDR} = /^10\.206\./) ||
(${REMOTE_ADDR} = /^10\.2\.1[0-9][0-9]\./) " -->
<!--#set var="prefix" value="http://192.168.0.7/view/view.shtml" -->
<!--#else -->
<!--#set var="prefix" value="" -->
<!--#endif -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Nova pagina 1</title>
</head>
<body>
<A HREF="<!--#echo var="prefix"-->test">test</A>
</body>
</html>
When I try to see the page in the internet explorer it shows me:
test">test and when i put the cursor on it, it shows me :
http://ip_extern<!--#echo var=
What i am doing wrong?
thanks
Anderson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php