PHP Manual

PHP funkce getcwd()

2019-09-11T08:04:04.000Z

Obsah článku

Dostupnost ve verzích: PHP 4.0

Gets the current working directory

Parametry

Funkce nemá žádné vstupní parametry.

string

the current working directory on success, or false on
failure.



On some Unix variants, getcwd will return
false if any one of the parent directories does not have the
readable or search mode set, even if the current directory
does. See chmod for more information on
modes and permissions.

Další zdroje

Oficiální dokumentace funkce getcwd

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.
355.

Potřebujete poradit s PHP?

Nabízím trénink vývojářů, konzultace, školení a analýzu návrhových vzorů. Osobně v Praze nebo online.

Napište mi, pokud si nevíte rady.

Lektor: Jan Barášek

V jiných jazycích

Status:
All systems normal.
2025