Hello,
Is it possible to pass mkdir() a relative url instead of an absolute url? My hosting company decided to change the directory name for the root of a client's usr directory and I've had to update the functions accordingly. If possible I would rather not have functions hardwired to the usr root.
function create_folder($username)
{
mkdir("/home/.this has been changed/username/domain.com/subdir/$username", 0755);
}
Thanks,
Jason