Navigation

Search

cleanRequest

Description

Cleans the request variables (ENV, GET, POST, COOKIE, SERVER) and makes sure the query string was parsed correctly.

Syntax

void cleanRequest ()


Notes

  • Handles the URLs passed by the queryless URLs option.
  • Makes sure, regardless of php.ini, everything has slashes.
  • Sets up $board, $topic, and $scripturl and $_REQUEST['start'].
  • Determines, or rather tries to determine, the client's IP.
View all versions of this function