Материал из Энциклопедия о программировании
Перейти к: навигация, поиск

$wgRequest (wgRequest) is used as a global singleton that contains an instance of the WebRequest class. The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form, handling removal of "magic quotes" slashes, stripping illegal input characters and normalizing Unicode sequences.