S
Sar
Guest
Ok, for the last few months I've left this, as I had other more important things to attend to, but now I have the time to sort this out.
Basically, my Config Maker isn't working, and I think it may have been the change in PHP to register_globals to OFF (I think - I'm a n00b at PHP).
The input takes the form:
And the generated page grabs this information in the form of a variable named $pn1 and prints it like so:
("seta name" is a Q3 console variable to set the players name via the q3.cfg file)
Any ideas as to how to either re-write this, or to get it working some other way?
As I said, this config generator in itself was a major achievement for me, as I know practically nothing about PHP, html is my limit I'm afraid.
TIA.

Basically, my Config Maker isn't working, and I think it may have been the change in PHP to register_globals to OFF (I think - I'm a n00b at PHP).
The input takes the form:
Code:
[b]<font size="2">Name</font>
<input type="text" name="pn1" size="20">
[/b]</font></p>
And the generated page grabs this information in the form of a variable named $pn1 and prints it like so:
Code:
print("
seta name \"$pn1\"\n");
("seta name" is a Q3 console variable to set the players name via the q3.cfg file)
Any ideas as to how to either re-write this, or to get it working some other way?
As I said, this config generator in itself was a major achievement for me, as I know practically nothing about PHP, html is my limit I'm afraid.
TIA.