GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   server path locator (https://gfy.com/showthread.php?t=215735)

Nima 01-01-2004 07:38 PM

server path locator
 
anyone got a script that you run from WWW and it tells you the absolute server path

Juicy D. Links 01-01-2004 07:40 PM

ssh into the server and when your in the dir type "pwd" it will give the path to dir you are in

Nima 01-01-2004 07:41 PM

the thing is I dont know the full path of the dir so I can go to it and type that

Juicy D. Links 01-01-2004 07:44 PM

Is the dir on a www pah such as"

Http://www.mydickiscute.com/goodlooking/iamhot

or is the dir in the servers ineternal files such as a:

usr/blabla/bla

Alky 01-01-2004 07:49 PM

simple enough
PHP Code:

echo realpath("./"); 


Nima 01-01-2004 07:53 PM

I figured out the user
was right in front of my eyes lol

thanks for tyring to help everybody :thumbsup

xxxoutsourcing 01-01-2004 08:06 PM

Quote:

Originally posted by juicylinks
ssh into the server and when your in the dir type "pwd" it will give the path to dir you are in
:thumbsup


All times are GMT -7. The time now is 06:35 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123