Page 1 of 1

How to find out the full path of my site?

Posted: Mon Jul 10, 2006 8:13 pm
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

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

Posted: Tue Jul 11, 2006 10:22 am
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