Easy Tutorial
❮ Func String Hebrev Func Filesystem Parse Ini File ❯

PHP ftp_mkdir() Function



Definition and Usage

The ftp_mkdir() function creates a new directory on the FTP server.

If successful, the function returns the name and path of the new directory. If it fails, it returns FALSE.

Syntax

Parameter Description
ftp_connection Required. Specifies the FTP connection to use.
dir Required. Specifies the name of the directory to create.

Example

The above code will output:


❮ Func String Hebrev Func Filesystem Parse Ini File ❯