How can I find out whats the Absolute Path to a server?
for instance usr/local/data.......
any ideas?
It's not my server, so I don't know it.......
in the command line type 'pwd' if you don't have acess to the command line, phpinfo() should have the path ... or simply run pwd, system("pwd") or any other command line executable from php
pwd
THANKS A LOT MAN!!!!!!! phpinfo(); woked fine! 🙂
You can also use
$_SERVER['DOCUMENT_ROOT']
to get a straight answer or use it in variables!!!