Ok.. my site is run by php...... and im tryin too make it so someof the files can only be viewed by members.....
instead of require('./global.php') i require data.php (whihc ends up requirin global anyway) .. all of the files i want to be member only require data.php and no other files do
so i figuired instead of having to put this code in evry page i could just put it in data.php so in other pages i just have the
PHP Code:
eval("dooutput(\"".gettemplate('templatename')."\");");
and it automatically directs them to the other template if there not members... any suggestions?