File: bzfquery_example.php

package info (click to toggle)
bzflag 2.4.30-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 26,488 kB
  • sloc: cpp: 150,376; ansic: 3,463; sh: 2,535; makefile: 2,194; perl: 486; python: 260; objc: 246; php: 206
file content (13 lines) | stat: -rw-r--r-- 179 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

  include('bzfquery.php');

  // Query the server
  $data = bzfquery("localhost:5154");

  // Display the server info
  echo '<pre>';
  bzfdump($data);
  echo '</pre>';

?>