[QUOTE=micheal332001]Hi there
I use CPMS as my main index.php file too and i have added this code to it to save the scores of the arcade.
PHP Code:
if($_POST['module'] == "pnFlashGames"){
$_GET[act] = "Arcade";
$_GET['module'] = "arcade";
}
if($_POST['func'] == "storeScore"){
$_GET['do'] = "pnFStoreScore";
}
if($_POST['func'] == "saveGame"){
$_GET['do'] = "pnFSaveGame";
}
if($_POST['func'] == "loadGame"){
$_GET['do'] = "pnFLoadGame";
}
$act = $_GET[act];
$showuser= $_GET[showuser];
if($act == "Arcade") {
include "arcade.php";
exit();
}
if(!empty($showuser) && $showuser >= 1) {
$u = $showuser;
$_GET[u] = $showuser;
include "member.php";
exit();
}
Just put that at the top of the cmps index.php file under <?php
Then upload it and all should be fine[/QUOT
love you guys that worked, i guess we need to let guys know when they change the file name from cmps_index.php to what ever they name it to add that script that was useful now i think everything is straaight all ineed is to add games once they get to it i guess... :banana: :banana: :banana: