PHP function chdir()

Availability in PHP 4.0

Change directory

Parameters

Parameter Data type Default value Note
$directory string not The new current directory

Return values

bool

Returns true on success, otherwise false on failure.

Other resources

Official chdir documentation

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.