Hi? How can I allow only a visitor to view only some part of the page and while my IP(assigned IP) can view all pages.
+1
A:
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.
maschka
2010-07-26 01:23:17
Thanks For your reply man. I only need an htaccess.:) But still it works.It can be used.
kim edgard
2010-07-27 03:08:59