i'm trying to modify Kill Kenny atm, but it redirects me to *ROOT*/proarcade.php not to *FORUMROOT*/proarcade.php.
this is the code i'm using:
PHP Code:
// set up vars to return
vpaver = "100B2";
score = score;
action = "gameover";
game = gamename;
score_loc = location+"/proarcade.php";
// this needs to match the Admin CP value
// and should be between 0 and 31
hashoffset = 5;
// do security shuffle to return newhash
subhash1 = gamehash.substr(0, hashoffset);
subhash2 = gamehash.substr(hashoffset);
newhash = subhash2.concat(subhash1);
// redirect back to vbProArcade
getURL(score_loc, "_self", "POST");
stop();
anyone know why this is happening?