Re: not sure, what now

From: Date: Sun, 26 Feb 2006 03:31:00 +0000
Subject: Re: not sure, what now
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-231092@lists.php.net to get a copy of this message
On Feb 25, 2006, at 2:22 PM, Schalk wrote:
*Warning*: main(): open_basedir restriction in effect. File(../inc/siteconfig.php) is not within the allowed path(s): (/home/httpd/vhosts/sealbeachprofessionals.com/httpdocs:/tmp) in /home/httpd/vhosts/sealbeachprofessionals.com/httpdocs/home.php on line 1
Try changing all includes that look like this: include('/folder/file.php'); ... to this: include($_SERVER['DOCUMENT_ROOT'].'/folder/file.php');

« previous php.general (#231092) next »