in reply to Verifying Current Working Directory: getcwd() and absolute path
you could test every element of the path to see if it is a symbolic link, and then check to see where it points. that seems like an awfully lot of work though. i'm not sure why you need to verify. chdir() will return false if it fails.