Código HTML:
<form action="Main.php" method="POST" target ="mainFrame" name="form"> <td><input type='hidden' size="10" name='name' value='<?php echo $_SESSION['username']?>' readonly="readonly" /></td> <td align="center"><input type="text" name="IPini" value="<?php echo "{$_SERVER["REMOTE_ADDR"]}"?>" readonly="readonly" /></td> <td align="center"><input type="text" name="IPfin" value="10.201." maxlength="14"/></td> <td align="center"><input type="text" name="ancho" value="0" size="8" maxlength="8"/></td> <td align="center"><input type="text" name="delay" value="0" size="8" maxlength="3"/></td> <td align="center"><input type="checkbox" name="simetrico" checked /></td> <td align="center"><input type="checkbox" name="graficar" onclick="send(this.checked, this, this.form);" /></td> <td align="center"><input type="checkbox" name="status" onclick="check(this.checked, this, this.form);" /></td> </form>