Jump to content

flo110

Newbie
  • Posts

    10
  • Joined

  • Last visited

About flo110

  • Birthday 05/11/1990

Contact Methods

Recent Profile Visitors

1,008 profile views

flo110's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Collaborator Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

1

Reputation

    A great tool, works like a charm. Thanks!
  1. Just gonna leave this here if anyone needs the AJAX implementation using JQuery. HTML: <button id="my_button">Click Me</button> JS: $("#my_button").click(function(){ $.ajax({url: "/path/to/connect.php", success: function(result){ alert("The result is:" + result); }}); }); After you clicked it and the query you made in the connect.php file, it should popup a message saying "success" or in case of failure nothing will happen.
  2. Stumbled upon this clean php function: <?php // Function to check response time function pingDomain($domain){ $starttime = microtime(true); $file = fsockopen ($domain, 80, $errno, $errstr, 10); $stoptime = microtime(true); $status = 0; if (!$file) $status = -1; // Site is down else { fclose($file); $status = ($stoptime - $starttime) * 1000; $status = floor($status); } return $status; } ?> Works like a charm, maybe you should tweak the timeout a little bit if it feels too long. As an extra it returns the response time which is pretty cool for statistics. Read more about it here.
  3. You should read the manual that php.net provides: http://php.net/manual/en/class.ziparchive.php Also make sure your php version is bigger than 5.2.0
  4. flo110

    Adblock on !! =/

    What browser are you using?
  5. flo110

    Rust Players

    Try Apocalypse Modding Team! We have a Rust server too: IP: net.connect amt-eu.rammnet.com:28015 I could provide you the server files too (not for the experimental version). Pm me if you want.
  6. What if i don't have a domain? Just an ip ?
×
×
  • Create New...