Re: Why this open_basedir warning?
| From: | Ernest E Vogelsinger | Date: | Thu, 07 Nov 2002 22:09:04 +0000 |
| Subject: | Re: Why this open_basedir warning? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-123256@lists.php.net to get a copy of this message | ||
At 22:19 07.11.2002, Charles Wiltgen said:
--------------------[snip]--------------------
>Crap. Good and bad news.
>
>So I hardcoded "/home/.pix/cwiltgen/coremessaging.com/index.php" and it
>worked every time.
>
>But then I hardcoded "/home/cwiltgen/coremessaging.com/index.php" (which is
>what $_SERVER['DOCUMENT_ROOT'] is returning) and *it* worked every time.
>
>So then I changed
>
> include($this->getSourceDirPath() . "index.php");
>
>...to...
>
> $foo = ($this->getSourceDirPath() . "index.php");
> include($foo);
>
>...and IT worked every time. So the problem appears to be related to using
>concatenation in my include statement (?).
>
>Odd. Many thanks for the response!
--------------------[snip]--------------------
Now _THAT'S_ odd - hmm... no explanation. *shrug*
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/