I would like to open access to a page at specific time frame in php.
Say for E.g 9:00AM to 12:00PM – User will be able view a page after which they would get you are not allowed to view this page at this time.
Is this possible in PHP without accessing database?
If so can somebody guide me?
Thanks!
You’d better use .htaccess directives. The idea is described here http://www.blog.highub.com/apache/http-server/htaccess-deny-diractory-access-during-a-specific-time/