Raised This Month: $48 Target: $400
 12% 

[php] best way for get srcds server name


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 02-13-2019 , 04:39   [php] best way for get srcds server name
Reply With Quote #1

hi guys!
how i can get server name for web Page??

may this?
must i use function?

https://github.com/xPaw/PHP-Source-Query

please help me!!
thank you

Last edited by Dr.Mohammad; 02-13-2019 at 04:48.
Dr.Mohammad is offline
detc
Junior Member
Join Date: May 2016
Old Yesterday , 11:08   Re: [php] best way for get srcds server name
Reply With Quote #2

Take a look at the example provided here. You can get the hostname using GetInfo(), which returns an array. Looking at the source, the second element in that array should be the server hostname.

https://github.com/xPaw/PHP-Source-Q...mples/View.php
detc is online now
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:47.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode