Server Statuc on website?

General Discussion about our game servers
Post Reply
Posts: 1
Joined: Wed Oct 18, 2017 12:27 am

Server Statuc on website?

Post by crzyone9584 » Wed Oct 18, 2017 12:30 am

I'm using the following code for a friend of mine who uses PingPerfect to host a 7d2d server. Since I do not have access to his panel (which i don't want) I cano nly go based off of the info he gave me to create a ping check to see if the server is up and running.

Code: Select all

						exec("ping -c 2 " . $host, $output, $result);
						if ($result == 0){
							echo "Ping successful!";
							echo "Ping unsuccessful!";
It returns Ping unsuccessful all the time. Yet I know for a fact the server is up and running as I am able to connect to it and stay connected when trying to run my php code to get the status. Does your company have an official php server status widget for websites?

Site Admin
Posts: 673
Joined: Sat Apr 20, 2013 11:16 pm

Re: Server Statuc on website?

Post by Ragonz » Fri Oct 20, 2017 6:41 pm

why not just use gametracker?
Grab a game server from us by clicking the picture below
Got an issue? Submit a Support Ticket

Post Reply

Return to “Non - Specific gameserver support”