File: bzfquery_example.php

package info (click to toggle)
bzflag 2.4.2%2Bds1-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 28,016 kB
  • ctags: 18,545
  • sloc: cpp: 149,420; sh: 13,654; ansic: 3,831; makefile: 2,404; perl: 482; python: 260; objc: 251; php: 162; 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>';

?>