.htaccess Allowing only the rest of the pages to view
Hi? How can I allow only a visitor to view only some part of the page an开发者_如何学Cd while my IP(assigned IP) can view all pages.
If you are using PHP (as the tag of your question suggests), try including the following in your page:
<? if ($_SERVER['REMOTE_ADDR'] == "127.0.0.1") { ?>
[part of page only you can see here]
<? } ?>
where you replace 127.0.0.1 with your IP.
精彩评论