We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e0c749 commit a03919eCopy full SHA for a03919e
Example.php
@@ -2,7 +2,7 @@
2
require __DIR__ . '/SourceQuery/SourceQuery.class.php';
3
4
$query = new SourceQuery();
5
- function info($ip, $port)
+ function ServerInfo($ip, $port)
6
{
7
$ret = "Error loading server info for " . $ip . ":" . $port;
8
try
@@ -14,7 +14,7 @@ function info($ip, $port)
14
return ret;
15
}
16
17
- echo "Insurgency: " . info("vnbinsurgtdm.game.nfoservers.com", 27015);
+ echo "Insurgency: " . ServerInfo("fuckyouvilnowputyourfuckingipinhereyourself", 27015);
18
19
$Query->Disconnect( );
20
?>
0 commit comments