https://bugzilla.wikimedia.org/show_bug.cgi?id=32823
--- Comment #5 from Antoine "hashar" Musso <[email protected]> 2011-12-07 13:54:40 UTC --- You can look at the remote client address with $_SERVER['REMOTE_ADDR'] , something like: if( preg_match( $_SERVER['REMOTE_ADDR'], '^192\.168\.0\.' ) { // local LAN clients } else if ( $_SERVER['REMOTE_ADDR'] === '127.0.0.1' ) { // localhost! } else { // external access? } -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
