PHP Manual

PHP function get_current_user()

2019-09-11T08:04:03.000Z

Obsah článku

Availability in PHP 4.0

Gets the name of the owner of the current PHP script

Parameters

The function has no input parameters.

Return values

string

The username as a string.

Other resources

Official documentation for get-current-user

Jan Barášek   Více o autorovi

Autor článku pracuje jako seniorní vývojář a software architekt v Praze. Navrhuje a spravuje velké webové aplikace, které znáte a používáte. Od roku 2009 nabral bohaté zkušenosti, které tímto webem předává dál.

Rád vám pomůžu:

Související články

1.
38.

V jiných jazycích

Status:
All systems normal.
2025