server path locator

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nezster
    Confirmed User
    • Feb 2003
    • 2192

    #1

    server path locator

    anyone got a script that you run from WWW and it tells you the absolute server path
  • juicylinks
    So Fucking Banned
    • Apr 2001
    • 122992

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

    Comment

    • Nezster
      Confirmed User
      • Feb 2003
      • 2192

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

      Comment

      • juicylinks
        So Fucking Banned
        • Apr 2001
        • 122992

        #4
        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

        Comment

        • Alky
          Confirmed User
          • Apr 2002
          • 5651

          #5
          simple enough
          PHP Code:
          echo realpath("./"); 
          

          Comment

          • Nezster
            Confirmed User
            • Feb 2003
            • 2192

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

            thanks for tyring to help everybody

            Comment

            • xxxoutsourcing
              Confirmed User
              • Oct 2003
              • 3888

              #7
              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

              xxxoutsourcing.com
              ICQ:119936 | Aim:xxxoutsourcing | MSN:msn@ xxxoutsourcing.com | Yahoo:xxxoutsourcing
              Submitters, Designers, Programmers, Cartoonist, Creative Writers, Video & Photo Editors
              Convert your Paysite into a cartoon site convert2toons.com

              Comment

              Working...