p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > Web Programming > HTML > HTML Code Clinic
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 28th, 2009, 05:29 AM
Authorized User
Points: 229, Level: 4
Points: 229, Level: 4 Points: 229, Level: 4 Points: 229, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2005
Location: , , .
Posts: 49
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.

Code:
<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.

Code:
<html>
<head>
<title>gambling is block by web content filter.[Powered by DrayTek]</title>
</head>
 
<body>
<center>
<br>
<br>
<br>
<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.
</center>
</body>
<BR>
</html>
Any help would be great.

THANKS!!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

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 11:56 PM
Passing values between asp pages arnniema ASP Forms 1 September 2nd, 2005 09:06 AM
Problem passing variables between 2 pages jdang67 ASP.NET 1.1 3 October 18th, 2004 10:15 AM
passing data between pages johnhardy BOOK: Beginning ASP 3.0 1 October 18th, 2003 05:29 AM
Passing parameters between pages burdickdave ASP.NET 1.x and 2.0 Application Design 3 July 7th, 2003 03:11 PM



All times are GMT -4. The time now is 03:55 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc