I create a file folder (dir) on the server for the session user logged in by inserting $_SESSION[MM_Username] as shown below. The folder (dir) is created. I use the exact same $_SESSION[MM_Username] in the variable $uploaddir below that, but the file doesn’t make it into the new folder created just above. I"v tried single quotes like ‘$_SESSION[MM_Username]’ and $_SESSION turns blue as it should, but its [MM_Username] stays black and the script fails as well.
Any help would be much appreciated. Thank you
[php]<?php
mkdir("/wamp/www/DIGITALDATABASE/$_SESSION[MM_Username]", 0700);
?>