Translations:Manual:Coding conventions/PHP/294/en

Do not access the PHP superglobals $get, $post, etc, directly; use $example instead; there are various functions depending on what type of value you want.You can get a $webrequest from the nearest $requestcontext, or if absolutely necessary $fallback. Equally, do not access $server directly; use $getip if you want to get the IP address of the current user.