I need to hide a html page until users are logged in. You start with making the page php, but HTML content is still visible. The HTML also contains some Javascript and it would be nice if this could be shielded permanently. Wrapping the whole HTML content inside <?php tags make it invisible, but also stops it from working.
How do I block the whole page until the user is logged in, also when viewing sourcecode?
|