FreeHostia Forums
http://forum.freehostia.com/

PHP Absolute Path
http://forum.freehostia.com/viewtopic.php?f=7&t=20530
Page 1 of 1

Author:  jamwad87 [ Tue Mar 01, 2011 10:56 pm ]
Post subject:  PHP Absolute Path

What is the PHP absolute path on freehostia? I want to be able to say
Code:
include('someabsolutepath/myfile.php');

in all of my files.

I know that with cPanel hosts, it's
Code:
include('home/user/public_html/mydir/myfile.php');


Thanks

Author:  Andy [ Wed Mar 02, 2011 8:50 am ]
Post subject: 

Hello,

This is just an example:

/home/www/yourdomain-root-dir/some-subfolder/yourfile.php

Basically the path of the account folder is:

/

When you add a host in your account, its system directory being automatically created in the /www/ folder.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/