How to find out the full path of my site?

Having trouble installing serendipity?
Post Reply
plofhead
Regular
Posts: 45
Joined: Fri Jun 23, 2006 9:01 am
Location: Netherlands
Contact:

How to find out the full path of my site?

Post by plofhead »

Hi,

I just switched to another server an copied all my blog files. It seems to work, but I don't know how to find out the full path name of my site.
Since my provider doesn't allow to run phpinfo, is there another way?

Please help, I'm not able to update my site anymore.

Regards,
Bert
To bee or not to bee, that is the question
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: How to find out the full path of my site?

Post by garvinhicking »

Hi!

You could write a simple PHP script:

Code: Select all

<?php
echo dirname(__FILE__);
?>
Store that in your s9y directory and call it via HTTP, it will tell you the directory name.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply