Frank-De-Ruiter Posted May 6, 2008 Share Posted May 6, 2008 Hello all, Im trying to make an PHP script that will start the MTA:DM Server with the function: shell_exec() But im not sure how to do this. The server runs on linux: Ubuntu 7.10 The server is located in: /home/xtreme/MTA-Servers/DGC-DM And the program i need to start = mta_server Could someone help me with this? Greatings Frank Link to comment
Stevvo Posted May 11, 2008 Share Posted May 11, 2008 <?php exec('/home/xtreme/MTA-Servers/DGC-DM/mta_server'); ?> I think that will work, exec starts an executable, shell_exec is for a command. Link to comment
Stevvo Posted May 11, 2008 Share Posted May 11, 2008 <?phpexec('/home/xtreme/MTA-Servers/DGC-DM/mta_server');?> I think that will work, exec starts an executable, shell_exec is for a command. Link to comment
Recommended Posts