I want to be able to create folders in php based on user input.
File #1 would get the user input and pass it along to File #2.
File #1 will have an input area where the user can enter the phrases that will be converted into folder names.
The input area must be able to accommodate a vertical list of phrases. I want to be able to grab a vertical column of phrases from Excel and just paste them into the input area.
You should assume that potentially hundreds of phrases will be processed at the same time.
File #2 will take the user input, remove the spaces and create folders.
There will be at most four words in each of the phrases being inputted. There could be as little as just one.
dogs would become a folder called dogs.
dog training would become a folder called dogtraining.
american dog training would become americandogtraining.
american dog training conference would become americandogtrainingconference
All the folder names will be completely lower case.
Assume that there will be sufficient permissions to make the folders.
Test to see if the folder already exists, if it does, then do nothing with that phrase.