Codice PHP:
mkdir("/path/to/my/$variabile"); 
ad esempio...