como hago ahora el formulario???
al q tengo esta asi
Código PHP:
<font><b>Tu Ip:</b></font> <span class="Online"><? echo $_SERVER['REMOTE_ADDR']; ?></span></p>
<form action="/puerto-check.php" method="get">
<label>Tu Ip
<input type="text" name="ip" id="ip" value="<? echo $_SERVER['REMOTE_ADDR']; ?>" />
</label>
<label>Puerto
<input type="text" name="puerto" id="puerto" value="6112" />
</label>
<label>
<input type="submit" id="Enviar" value="Enviar" />
</label>
<br>
</p>
</form>
siempre que intento ver en el puerto-check.php q me lo editaste y me dijiste me tira el mismo error q me tiraba ami q es
Warning: fsockopen() expects parameter 2 to be long, string given in /home/nomak/public_html/puerto-check.php on line 4