Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 28th, 2009, 04:29 AM
Authorized User
Join Date: Dec 2005
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Talking Passing Vaules between Pages

Hi folks,

I hope you can help me

I have a Draytrek 2820 ADSL Firewall Router, with Web content filtering. The block page which it provides to the users is very simple and looks horrible. On the router itself you are able to edit the block page, however it is very limited and can only enter 255 char (very annoying).

Our MD wants to fully customise this page so it has the same format etc as our company web site.

What I have done so far is put an HTML redirect to a standard HTML page sat on our web server using the following code below.

<meta http-equiv="REFRESH" content="0;url=http://exupsrv01/index.html">
The block page now looks great. However.....

There are some varibles used in the standard router block page which I need to carry across onto the customised HTML page sat on our server and I don't know how to do this.

The variables which are used are shown below:

%SIP%, source IP Address
%DIP%, destination IP Address
%URL%, the target URL
%CL%, category of the web page.
%RNAME%, router name

I have included a copy of the HTML code which is from the router's block page.

<title>gambling is block by web content filter.[Powered by DrayTek]</title>
<p>The requested Web page <br> from %SIP%
<br>to %URL%
<br>that is categorized with %CL%
<br>has been blocked by %RNAME% Web Content Filter.
<p>Please contact your system administrator for further information.
Any help would be great.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing data between pages Jyothi_23 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 April 3rd, 2009 10:56 PM
passing data between pages johnhardy BOOK: Beginning ASP 3.0 1 October 18th, 2003 04:29 AM
Passing parameters between pages burdickdave ASP.NET 1.x and 2.0 Application Design 3 July 7th, 2003 02:11 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.