File: bzfquery_example.php

package info (click to toggle)
bzflag 2.0.16.20100405
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 27,508 kB
  • ctags: 31,338
  • sloc: cpp: 140,118; ansic: 14,429; sh: 10,922; makefile: 2,459; perl: 477; php: 428; python: 345; objc: 243; xml: 24
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>';

?>