View Full Version : How do I find out my server path?
09-17-2003, 09:12 PM
09-17-2003, 11:08 PM
I'm not quite sure if you mean the PATH environment variable or the document root of your website, anyway, I'd upload a small php file and have a look at it's output:
Down at the bottom is a table with a lot of server-related and environment variables and their values. Hopefully you find the one you need there - it almost always works for me this way. :)
09-18-2003, 05:07 PM
Oh, I was referring to the internal server path to my directory. I need it for a couple of things and my php knowledge is < 0.
09-22-2003, 11:13 AM
Then I think you should echo out current working directoy:
echo CURWD(); #might be also CURRWD(), not sure!
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.