|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Industry Role:
Join Date: Nov 2003
Location: Toronto
Posts: 4,001
|
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
|
|
|
|
|
|
#2 | |
|
Confirmed User
Join Date: Jul 2004
Location: Las Vegas
Posts: 1,720
|
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 |
|
|
|
|
|
|
#3 |
|
Sofa King Band
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
|
If it's a php script, $_SERVER[DOCUMENT_ROOT]; will work too.
|
|
|
|
|
|
#4 |
|
Confirmed User
Industry Role:
Join Date: Nov 2003
Location: Toronto
Posts: 4,001
|
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
|
|
|
|
|
|
#5 |
|
Confirmed User
Industry Role:
Join Date: Nov 2003
Location: Toronto
Posts: 4,001
|
What's that php script that pulls up all the server/php information that you can upload? Does that tell you the root path?
|
|
|
|
|
|
#6 |
|
Confirmed User
Join Date: Jul 2004
Location: Las Vegas
Posts: 1,720
|
That would be phpinfo.php
Just make a new document and put in Code:
<? phpinfo(); ?> |
|
|
|
|
|
#7 |
|
Confirmed User
Industry Role:
Join Date: Nov 2003
Location: Toronto
Posts: 4,001
|
Thanks rick. My server provider serverprovider told me to use servercheck.cgi and it did the trick as well. Thanks again!
|
|
|
|