[pmwiki-users] how to make pages in the group 'Project' accessible only from one fixed IP
Farkas, Illes
fij at elte.hu
Thu Oct 8 14:53:50 CDT 2009
On Thu, Oct 8, 2009 at 6:15 PM, Hans <design5 at softflow.co.uk> wrote:
> try
>
> $group = PageVar($pagename, '$Group');
> if ($group=='Project')
> if (@$_SERVER['REMOTE_ADDR'] != '<selected IP>')
> Redirect('Main.HomePage');
>
thanks, it works, nice cleanilles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20091008/53f9bff4/attachment.html
More information about the pmwiki-users
mailing list