On Wed, Oct 14, 2009 at 7:27 PM, Patrick R. Michaud <span dir="ltr">&lt;<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Thu, Oct 08, 2009 at 05:15:28PM +0100, Hans wrote:<br>
&gt; Thursday, October 8, 2009, 2:25:44 PM, Farkas, Illes wrote:<br>
&gt;<br>
&gt; &gt; Shall I put something like this into local/config.php ?<br>
&gt;<br>
&gt; &gt; if ( &lt;group is &#39;Project&#39; -- how to write this?&gt; &amp;&amp;<br>
&gt; &gt; @$_SERVER[&#39;REMOTE_ADDR&#39;] != &#39;&lt;selected IP&gt;&#39;){<br>
&gt; &gt;       &lt;instead of the requested page set page to &#39;Main.HomePage&#39;&gt;<br>
&gt; &gt; }<br>
&gt;<br>
&gt; try<br>
&gt;<br>
&gt; $group = PageVar($pagename, &#39;$Group&#39;);<br>
&gt; if ($group==&#39;Project&#39;)<br>
&gt;    if (@$_SERVER[&#39;REMOTE_ADDR&#39;] != &#39;&lt;selected IP&gt;&#39;)<br>
&gt;        Redirect(&#39;Main.HomePage&#39;);<br>
<br>
</div></div>Or even create a group-specific local/Project.php file<br>
that performs the IP test.<br>
<br>
Note that this solution doesn&#39;t block access to the pages<br>
via (:include:) and the like.</blockquote><div><br></div><div>Thanks. What do you precisely mean by &quot;and the like&quot;? Where can I learn what (:include:) and &quot;the like&quot; are?</div><div><br></div></div>