Yep, if you look at this here:
You can start at this function:
http://us3.php.net/manual/en/feature...i.open-basedir
This function allows PHP to open a certain directory. From there you can learn how to open up files, edit them, upload, and then also login.