Does anyone know the eqivalent of Server.MapPath in asp for PHP? Im trying to code a function to make a directory, but I am getting permission denied errors, and I am uncertain if I am in the right directory! Thanks