Guest User

Untitled

a guest
Oct 23rd, 2019
100
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <title>
  5. ip wyliczarka</title>
  6. <meta charset=utf-8 />
  7.  
  8.  
  9. </head>
  10.  
  11. <body>
  12.  
  13. <?php
  14.  
  15. $adres = "192.168.8.4";
  16. $maska = "255.255.255.0";
  17.  
  18. list ($aj, $ad, $at, $ac) = explode (". ", $adres);
  19.  
  20. $binaj = decbin[$aj]
  21. $binad = decbin[$ad]
  22. $binat = decbin[$at]
  23. $binac = decbin[$ac]
  24.  
  25. list ($mj, $md, $mt, $mc) = explode (". ", $adres);
  26. $binmj = decbin[$mj]
  27. $binmd = decbin[$md]
  28. $binmt = decbin[$mt]
  29. $binmc = decbin[$mc]
  30. echo = decbin
  31. ?>
  32.  
  33. </body>
  34. </html>
RAW Paste Data