Quote:
Originally Posted by DragonByte Tech
Upload to your forum root and then just go to http://www.YOURSITE.com/forum/checkdir.php
That should show you the path to your forum.
NOTE: On some Unix variants, getcwd() (the function used in checkdir.php) will return FALSE if any one of the parent directories does not have the readable or search mode set, even if the current directory does.
I hope this helps. If that file fails, you could contact your hosting company and ask them for the path. They most likely will be able to provide it for you.
- David
|
Are you sure that this is the correct code of this file?
PHP Code:
<?php
echo DIR;
?>
There isn't nothing called "getcwd()" in the code.
Sry for my english.