dstaley
02-10-2003, 10:07 PM
OK, I have had some luck with PHP. I have created a button on my Apache server page, it kicks off the PHP script, and I get the "server started" message fine, and some permutations of what I've tried give the PHP errors I've heard about.
However, I can't seem to get Quake initiated. Up until now, I've been able to log in as root or my other account and just type "ffa" to start a free-for-all (I've got the string in an alias in /etc/bashrc). I've tried copying my alias value into a script file, naming it "ffa.sh" and saving the contents of my alias into this file. This results in a file with these contents:
quake3 +set dedicated 1 +set com_hunkmegs 32 +exec deathmatch.config
I can execute this script OK from a terminal window, but when I call it from PHP it doesn't work. Any idea why?
However, I can't seem to get Quake initiated. Up until now, I've been able to log in as root or my other account and just type "ffa" to start a free-for-all (I've got the string in an alias in /etc/bashrc). I've tried copying my alias value into a script file, naming it "ffa.sh" and saving the contents of my alias into this file. This results in a file with these contents:
quake3 +set dedicated 1 +set com_hunkmegs 32 +exec deathmatch.config
I can execute this script OK from a terminal window, but when I call it from PHP it doesn't work. Any idea why?