o ok so in that file that is going to have all the links to the downloads like forum.zip in the page that file is on i should add require("pathtoforums/global.php");
if(!$bbuserinfo[userid]>0) {
echo "You must login to the forums to download files";
exit;
}
but wut if i dont use that kind of coding with the <?php in every page i just use that code once and that would be the index which i dont want the require code there
|