Ver Mensaje Individual
  #3 (permalink)  
Antiguo 16/10/2007, 20:49
franco190453
 
Fecha de Ingreso: abril-2006
Mensajes: 1.128
Antigüedad: 18 años
Puntos: 33
Re: hacer "ping" mediante pagina web

guif:
Para hacer ping, si tienes windows:
Codigo html Y php>

<form method="POST" name="pingeando" action="pingear.php">
<TD><input type="text" name="pingeo" size="30" maxlength="30"></TD>
<TD BGCOLOR="66FFCC"><input type="submit" value="PING" name="submit"></TD>
</TR>
</form>
pingear.php:
<?php
$ipx = $_POST['pingeo'];
$ejecutar = `ping $ipx`;
echo "<body bgcolor=\"#0066FF\" text=\"#000000\" link=\"#0000FF\" alink=\"#FF0000\" vlink=\"#800080\">";
echo "Los Resultados Del Ping Para La IP# $ipx es :<br>";
echo "$ejecutar<br>";
?>

Saludos
Y espero te ayude.
Franco