I have been coding for a few years now and I cannot believe I cannot figure this out. I am working on a windows 2003 system and I want to upload a file to a folder that is in the parent directory of my script. Here is a better example
-WWWROOT
--Photos (This is the folder I want to put the picture in)
--Admin
--*upload.php (this is the upload script)
The upload script is in the admin folder, and I want to upload to the Photos directory, I cannot get this to work, been banging my head against this problem for a few hours now and been searching online, cannot get anything to work. I tried a ../photos and ./photos but neither one worked. Any info would help me tons, I am just not sure how to move up a directory so that I am in the wwwroot folder and then navigate into the Photos folder.
Thanks guys.