Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Username & Access

Explorer ,
Jul 22, 2008 Jul 22, 2008

Copy link to clipboard

Copied

Hi there,
I am trying to make a page accessible to registered users by their username, password and access level.
Where do i set the value that allows the access level on the page.
I have a mysql database with the field accesslevel with a 0-100 numeric value - where in the displayed/returned page do i insert the value to allow access.
Thanks
Chris
TOPICS
Server side applications

Views

276
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Jul 22, 2008 Jul 22, 2008
$MM_authorizedUsers = "1,2,3";
works

Votes

Translate
Explorer ,
Jul 22, 2008 Jul 22, 2008

Copy link to clipboard

Copied

Actually i got that sorted but I want to have multiple levels per page
$MM_authorizedUsers = "1","2","3";
but i get unexpected parse ; expected error

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 22, 2008 Jul 22, 2008

Copy link to clipboard

Copied

LATEST
$MM_authorizedUsers = "1,2,3";
works

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines