Complete PHP FTP Reference
The ftp_mkdir() function creates a directory on the FTP server.
This function returns the name and path of the new directory on success and FALSE on failure.
| Parameter | Description |
|---|---|
| ftp_connection | Required. Specifies the FTP connection to use |
| dir | Required. Specifies the name of the directory to create |
The output of the code above will be:
Complete PHP FTP Reference
Your message has been sent to W3Schools.