home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 May / PCWorld_2002-05_cd.bin / Komunik / sambar / sambar51p.exe / sysadmin / control / network / wwwping.asp < prev   
Encoding:
Text File  |  2001-07-17  |  684 b   |  35 lines

  1. <HTML>
  2. <HEAD><TITLE>Sambar Server Network Control Panel</TITLE>
  3. <% 
  4. #include "../header.asp"
  5. #include "../menu.asp"
  6. area = "wwwping";
  7. #include "submenu.asp"
  8. %>
  9. <BR>
  10. <BLOCKQUOTE><BLOCKQUOTE>
  11. <FORM method=get action=wwwping.asp>
  12. <INPUT NAME=host VALUE="<%=getParameter($params, "host"); %>">
  13. <INPUT TYPE=submit VALUE="WWWPing Host">
  14. </FORM>
  15. <BR>
  16. <%
  17. host = getParameter($params, "host");
  18. if (host != NULL)
  19. {
  20.     params = allocParameters();
  21.     setParameter(params, "name", host);
  22.     ret = rpc("wwwstatus", params);
  23.     if (ret == -1)
  24.     {
  25.         printf("WWWPing <I>%s</I> failed.", host);
  26.     }
  27. }
  28.  
  29. %>
  30. </BLOCKQUOTE></BLOCKQUOTE>
  31. <%
  32. #include "../footer.asp"
  33. %>
  34. </BODY></HTML>
  35.