[Tool/Web/Other] [PHP] starting the server with php
#1

Ok, im having no luck with this and its making me frustrated, im trying to make a php panel to start stop and restart the server and when it starts, it says i haven't changed the pass and i have....

This is the code im using:
Код:
		$Command = "j:\\SAMPSERVER\\samp-server.exe";
			$Shell = new COM("WScript.Shell");
			$output = $Shell->Exec($Command)->StdOut->ReadAll;
			echo '<textarea name="" cols="70" rows="15">'.$output.'</textarea>';
and this is the output:

Код:
----------
Loaded log file: "server_log.txt".
----------

SA:MP Dedicated Server
----------------------
v0.2X, ©2005-2008 SA:MP Team

Unable to exec file 'server.cfg'.
Error: Your password must be changed from the default password, please change it.
Anyone know why this is happening and how to stop it?

Thanks.
Reply


Messages In This Thread
[PHP] starting the server with php - by StrickenKid - 05.09.2009, 23:31
Re: [PHP] starting the server with php - by CJ101 - 05.09.2009, 23:39
Re: [PHP] starting the server with php - by StrickenKid - 05.09.2009, 23:46
Re: [PHP] starting the server with php - by Mrkrabz - 06.09.2009, 09:47
Re: [PHP] starting the server with php - by Norn - 06.09.2009, 11:34
Re: [PHP] starting the server with php - by Mrkrabz - 06.09.2009, 11:48
Re: [PHP] starting the server with php - by DeathOnaStick - 12.04.2011, 15:19
Re: [PHP] starting the server with php - by saiberfun - 12.04.2011, 16:25
Re: [PHP] starting the server with php - by Mauzen - 12.04.2011, 17:10
Re: [PHP] starting the server with php - by DeathOnaStick - 12.04.2011, 18:51

Forum Jump:


Users browsing this thread: 2 Guest(s)