File: bzfquery_example.php

package info (click to toggle)
bzflag 2.0.13.20080902-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 27,564 kB
  • ctags: 34,716
  • sloc: cpp: 139,842; ansic: 14,510; sh: 10,715; makefile: 2,454; 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>';

?>