The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Validity Time
#1
I need to check if the user in within a date/time range of permission to access the protected page.

I define the time-window at the user creation, then I can update it, if necessary (usually not).

The user can login, but can see the pages only when inside the time-window.

Attached there is my modification: seems to work.

Hope this helps, but any update/corrections are welcome Smile

Oscar

PS: How can I send a file??? Big Grin Big Grin Big Grin
  Reply


Messages In This Thread
Validity Time - by oscar - 09-15-2017, 06:36 PM
Validity Time - by mudmin - 09-16-2017, 02:12 PM
Validity Time - by oscar - 09-16-2017, 03:15 PM
Validity Time - by mudmin - 09-17-2017, 07:16 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)