Author Topic: finding the absolute file path  (Read 2657 times)

0 Members and 1 Guest are viewing this topic.

Offline freediver

  • album.pl Tester
  • **
  • Posts: 27
  • Karma: +0/-0
    • OzPolitic
finding the absolute file path
« on: January 15, 2008, 23:37:57 »
I recently changed hosts and the gallery stopped working because the root directory name for the absolute file path had changed. The instructions said to use debugging, but that didn't work because of the error. So I found it by editing a file in the cPanel file manager.

Stuff I learned the hard way:

http://www.ozpolitic.com/articles/starting-your-own-website.html#transferring-hosts
Founding member of

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: finding the absolute file path
« Reply #1 on: January 22, 2008, 14:45:46 »
Thanks for the tip!

Offline frister

  • album.pl Donor
  • album.pl Hacker
  • ****
  • Posts: 230
  • Karma: +42/-0
  • half baked ideas are better than none
    • fristersoft travelogue
Re: finding the absolute file path
« Reply #2 on: January 24, 2008, 20:26:58 »
If you put perldigger.pl in your cgi-bin, it will tell you all sorts of things about your server, including document root path. It's available for free download from many places.

I don't recommend leaving it on the server after you get the info. It's too easy for others to find and use against you.