To create a folder in PHP you can use the following snippet.

Sample PHP

mkdir('folderName');

2 thought on “How to create a folder in PHP”

Leave a Reply