Skip to main content
Inspiring
July 22, 2008
Answered

Username & Access

  • July 22, 2008
  • 2 replies
  • 315 views
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
This topic has been closed for replies.
Correct answer Prellyan_Luxtintner
$MM_authorizedUsers = "1,2,3";
works

2 replies

Prellyan_LuxtintnerAuthorCorrect answer
Inspiring
July 22, 2008
$MM_authorizedUsers = "1,2,3";
works
Inspiring
July 22, 2008
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