start server in php
#6

ok i figure out now i can run commands in exec on my comp .. but now when i run i get samp-server.exe not found any one knows why?

hhere is my code
Код:
<?php
  exec("cd C:\\xampp\\htdocs\\samp");
  exec("start samp-server.exe");
  echo "Server started!";
?>
Reply


Messages In This Thread
start server in php - by jamesbond007 - 12.06.2011, 09:26
Re: start server in php - by Iphone1234g - 12.06.2011, 09:32
Re: start server in php - by Ironboy500[TW] - 12.06.2011, 10:14
Re: start server in php - by jamesbond007 - 12.06.2011, 10:21
Re: start server in php - by Ash. - 12.06.2011, 10:22
Re: start server in php - by jamesbond007 - 12.06.2011, 11:12
Re: start server in php - by jamesbond007 - 12.06.2011, 12:52
Re: start server in php - by Calgon - 12.06.2011, 13:07
Re: start server in php - by Cyanide - 12.06.2011, 13:11
Re: start server in php - by Westie - 12.06.2011, 21:21

Forum Jump:


Users browsing this thread: 1 Guest(s)