It looks like it works ; thank you Peter.

2011/10/13 Peter Bowers <[email protected]>:
> On Thu, Oct 13, 2011 at 5:45 AM, ABClf <[email protected]> wrote:
>> if my ip, do nothing,
>> else include actionlog recipe
>
> if ($_SERVER['REMOTE_ADDR'] != 'www.xxx.yyy.zzz')
>   include_once("$FarmD/cookbook/actionlog.php");
>
> Be aware that a lot of these $_SERVER values can be spoofed, so it's
> not fool-proof.
>
> -Peter
>



-- 

---------------------------------------
| A | de la langue française
| B | http://www.languefrancaise.net/
| C | [email protected]
---------------------------------------

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to