There were a few errors in the index.php file. The
JavaScript syntax was not completely correct, and some
of the comments have been taken out.
IMPORTANT!
After downloading the attached index.php, replace it
with the one you currently have.
You will see three lines in the code like this:
setCookie("username", username,
now, "/worldrpg", "worldrpg", false);
You can use Find to search for it. Do not edit the first
three variables. /worldrpg (the 4th one) should be
changed to whatever folder WorldRPG is on your server,
worldrpg (the 5th one) should be changed to your
server, and false (the 6th one) should be changed to
wether your server requires secure transmission of
cookies. Edit all three to be like that. The third time you
see it it will look like this:
setCookie("<? echo $nomcookie;?>", visits,
now, "/worldrpg", "worldrpg", false);
This is the same except "username" has been replaced
with a PHP statement. Ignore that and continue editing
the last three variables.
For example, the setCookie function on the
http://raylu.zer0host.com/worldrpg looks like this:
setCookie("username", username,
now, "/worldrpg", "raylu.zer0host.com", false);
index.php replacement
Logged In: YES
user_id=1012965
More updates in the CVS repository
(http://cvs.sourceforge.net/viewcvs.py/worldrpg/WorldRPG/ind
ex.php).
File download at bottom. Instructions still remain the same.
index.php (CVS 1.6)