Simon Balthier
05.08.2008, 09:45
Hallo!
Ich hätt da mal ein Problem... ^^
Ich bin im Moment dabei eine Vorschaltseite zu erstellen, in der die IP-Adresse eines Gerätes eingegeben werden soll.
Diese IP-Adresse soll dann als Variable an die nächste Seite weitergegeben werden, in der Sie in einen Link eingefügt werden soll:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>SOHO Router - Advance Config Page / ADSL or SHDSL Parameter</title>
</head>
<body link="#d8ff3c" vlink="#d8ff3c" alink="#6600cc">
<table width="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0">
<tr><td><font color="#333399" FACE="Times, Arial" size= 2>
<center><font color="#FF8000" FACE="Verdana, Arial" SIZE="5">
<strong>ADVANCED - SHDSL</strong>
</font>
</center>
<br>
<p>
<strong><font size=3 color="#990000">Operation Mode:</font></strong>
<br>
<form METHOD="POST" action="http://"<?php echo$_GET['IP']; ?>"/cgi-bin/adslmode.exe">
<ul type="square">
<strong><li>Setup Operation Mode:<br></li></strong>
<table border=0>
<tr><td align=right><font color=#333399 FACE=Times, Arial size=2>
Annex Type: </font></td>
<td><font face=Arial size=2>
<input NAME="SHDSL_ANNEX" TYPE="radio" VALUE=0 >Annex A
<input NAME="SHDSL_ANNEX" TYPE="radio" VALUE=1 Checked>Annex B
<input NAME="SHDSL_ANNEX" TYPE="radio" VALUE=2 >Annex AB
</font></td></tr>
<tr><td align=right><font color=#333399 FACE=Times, Arial size=2>
Data Rate(n*64kbps): </font></td>
<td><font face=Arial size=2>
<input NAME="SHDSL_DATARATE" TYPE="text" VALUE="0" maxlength=2 size=10>
(range:0~36, n=0 for adaptive mode)</font></td></tr>
<tr><td align=right><font color=#333399 FACE=Times, Arial size=2>
SNR margin: </font></td>
<td><font face=Arial size=2>
<input NAME="SHDSL_SNEXT_MARGIN" TYPE="text" VALUE="0" maxlength=3 size=10>
(range:-10~10)</font></td></tr>
</table>
</ul>
</p>
<br>
<hr>
<div align="center">
<a href="http://"<?php echo$_GET['IP']; ?>"/Bconfig/Bconfig.sht" target="WorkWin">
<img src="http://"<?php echo$_GET['IP']; ?>"/images/cancel.gif" width="75" height="21" border=0 alt="Cancel">
</a>
<a href="http://"<?php echo$_GET['IP']; ?>"/Bconfig/adslmode.sht" target="WorkWin">
<img src="http://"<?php echo$_GET['IP']; ?>"/images/reset.gif" width="75" height="21" border=0 alt="Reset">
</a>
<input type="image" src="http://"<?php echo$_GET['IP']; ?>"/images/finish.gif" border=0 name="Finish">
</div>
</form>
</font>
</td></tr>
</table>
</BODY>
</HTML>
Allerdings glaube ich is das Schmarn, was ich da geschrieben habe.
Weiß hier jemand vielleicht, wie man die Variablen richtig in einen "a href" Tag einliest?
Bin für jede Hilfe dankbar!
Ich hätt da mal ein Problem... ^^
Ich bin im Moment dabei eine Vorschaltseite zu erstellen, in der die IP-Adresse eines Gerätes eingegeben werden soll.
Diese IP-Adresse soll dann als Variable an die nächste Seite weitergegeben werden, in der Sie in einen Link eingefügt werden soll:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>SOHO Router - Advance Config Page / ADSL or SHDSL Parameter</title>
</head>
<body link="#d8ff3c" vlink="#d8ff3c" alink="#6600cc">
<table width="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0">
<tr><td><font color="#333399" FACE="Times, Arial" size= 2>
<center><font color="#FF8000" FACE="Verdana, Arial" SIZE="5">
<strong>ADVANCED - SHDSL</strong>
</font>
</center>
<br>
<p>
<strong><font size=3 color="#990000">Operation Mode:</font></strong>
<br>
<form METHOD="POST" action="http://"<?php echo$_GET['IP']; ?>"/cgi-bin/adslmode.exe">
<ul type="square">
<strong><li>Setup Operation Mode:<br></li></strong>
<table border=0>
<tr><td align=right><font color=#333399 FACE=Times, Arial size=2>
Annex Type: </font></td>
<td><font face=Arial size=2>
<input NAME="SHDSL_ANNEX" TYPE="radio" VALUE=0 >Annex A
<input NAME="SHDSL_ANNEX" TYPE="radio" VALUE=1 Checked>Annex B
<input NAME="SHDSL_ANNEX" TYPE="radio" VALUE=2 >Annex AB
</font></td></tr>
<tr><td align=right><font color=#333399 FACE=Times, Arial size=2>
Data Rate(n*64kbps): </font></td>
<td><font face=Arial size=2>
<input NAME="SHDSL_DATARATE" TYPE="text" VALUE="0" maxlength=2 size=10>
(range:0~36, n=0 for adaptive mode)</font></td></tr>
<tr><td align=right><font color=#333399 FACE=Times, Arial size=2>
SNR margin: </font></td>
<td><font face=Arial size=2>
<input NAME="SHDSL_SNEXT_MARGIN" TYPE="text" VALUE="0" maxlength=3 size=10>
(range:-10~10)</font></td></tr>
</table>
</ul>
</p>
<br>
<hr>
<div align="center">
<a href="http://"<?php echo$_GET['IP']; ?>"/Bconfig/Bconfig.sht" target="WorkWin">
<img src="http://"<?php echo$_GET['IP']; ?>"/images/cancel.gif" width="75" height="21" border=0 alt="Cancel">
</a>
<a href="http://"<?php echo$_GET['IP']; ?>"/Bconfig/adslmode.sht" target="WorkWin">
<img src="http://"<?php echo$_GET['IP']; ?>"/images/reset.gif" width="75" height="21" border=0 alt="Reset">
</a>
<input type="image" src="http://"<?php echo$_GET['IP']; ?>"/images/finish.gif" border=0 name="Finish">
</div>
</form>
</font>
</td></tr>
</table>
</BODY>
</HTML>
Allerdings glaube ich is das Schmarn, was ich da geschrieben habe.
Weiß hier jemand vielleicht, wie man die Variablen richtig in einen "a href" Tag einliest?
Bin für jede Hilfe dankbar!