Xen
04-10-2006, 04:10 PM
Hi @ll
Following Problem:
I want to have a php-script that executes an funktion with correspondent parameters on a dedicated server.
html-page is on webserver A, php-code ist on webserver B at the same time in B is also a dedicated gameserver. I wan the php-code to execute the functoin to start/stop an egaming server on B.
tried till now:
exec(), pasthru(), ssh2_exec(), system(), ssh2_connect, ssh2_exec(), shell_exec()
result:
error 127
edited the variable in php.ini: save_mode_exec_dir
and let her show to the directory where the funktion to execute ist
->problem not solved
with the idea to change the necessity of access need
i tried with a script (not-php) where the funktion with the parameters is,
and the php-code only has to execute this script
still the same problem or output just "Array" (i place allways an echo to see what is happening), trying to access the components of the array wasn't without any success.
What can you recommend me?
Thx for any help in advance.
Greets, Xen
Following Problem:
I want to have a php-script that executes an funktion with correspondent parameters on a dedicated server.
html-page is on webserver A, php-code ist on webserver B at the same time in B is also a dedicated gameserver. I wan the php-code to execute the functoin to start/stop an egaming server on B.
tried till now:
exec(), pasthru(), ssh2_exec(), system(), ssh2_connect, ssh2_exec(), shell_exec()
result:
error 127
edited the variable in php.ini: save_mode_exec_dir
and let her show to the directory where the funktion to execute ist
->problem not solved
with the idea to change the necessity of access need
i tried with a script (not-php) where the funktion with the parameters is,
and the php-code only has to execute this script
still the same problem or output just "Array" (i place allways an echo to see what is happening), trying to access the components of the array wasn't without any success.
What can you recommend me?
Thx for any help in advance.
Greets, Xen