![]() |
Base path question
I am installing a script for someone and their hosting live support takes 10 minutes to not answer my question on what the Base path (ex /home/username/www) is for the account. Is there any way to figure this out without getting the info from the host? Kind of in a rush here
|
Quote:
If you can SSH or telnet into the machine just type pwd and that will give you the full path.. If you can't get in, You'll have to wait for support to help |
If it's a php script, $_SERVER[DOCUMENT_ROOT]; will work too.
|
Thanks for the advise but telnet takes 3 hours to activate with this host. I will just wait another 10 min for the guy to reply on live support and hopefully it will be with an answer this time
|
What's that php script that pulls up all the server/php information that you can upload? Does that tell you the root path?
|
That would be phpinfo.php
Just make a new document and put in Code:
<? phpinfo(); ?> |
Thanks rick. My server provider serverprovider told me to use servercheck.cgi and it did the trick as well. Thanks again!
|
| All times are GMT -7. The time now is 03:51 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123