File: bzfquery_example.php

package info (click to toggle)
bzflag 2.0.8.20060605
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 29,168 kB
  • ctags: 33,169
  • sloc: cpp: 132,719; ansic: 14,122; sh: 13,441; makefile: 2,330; php: 428; python: 334; perl: 287; objc: 243; xml: 180
file content (13 lines) | stat: -rw-r--r-- 191 bytes parent folder | download
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>';

?>