...

View Full Version : Navigating From DOCUMENT_ROOT



djh101
11-01-2010, 10:02 AM
I switched from GoDaddy free hosting to 000webhost free hosting. On GoDaddy I used getenv("DOCUMENT_ROOT)" to get to the base of my site [for my includes]. With 000webs I errored:

Warning: include() [function.include]: open_basedir restriction in effect. File(/usr/local/apache/htdocs/config/index.php) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a4010105/public_html/include/php_head.php on line 5

Any ideas? On getting from /usr/local/apache/.. to /home/a4010105/public_html/ ?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum