1
jsdwight
use xoops variables
  • 2008/8/8 18:14

  • jsdwight

  • Just popping in

  • Posts: 3

  • Since: 2008/8/8 1


I wrapped an html page with the standard

include("../mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
//
include(XOOPS_ROOT_PATH."/footer.php");

which works fine except the main html content shows even if your not logged in, if you know or bookmark the URL. I've seen in other posts where you can test using;
if ($xoops_isuser)
but that variable and any other $xoops variables are not available from this page. Is there another file you have to include to use these variables for external html pages?

Login

Who's Online

128 user(s) are online (67 user(s) are browsing Support Forums)


Members: 0


Guests: 128


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits