| How to protect a PHP page |
|
|
|
PHPMembers membership software is able to protect PHP pages from being accessed by unauthorized visitors. To protect a PHP page, please put the following code at the beginning of the file.<?php You may need to modify the first two lines of the code according to your website settings. If you would like to learn more, please visit Custom Development Section. Note: When running PHP as a CGI Binary and not in library mode, Apache will send any PHP based request directly to the PHP executable. Therefore folder and link protections do not work on PHP pages. This is the only way to protect your PHP pages. |




