On Thu, December 13, 2007 1:49 pm, Nisse Engström wrote:
> On Wed, 12 Dec 2007 15:43:28 -0500, "Daniel Brown" wrote:
>
>> Is there a specific reason you're using require_once() instead
>> of
>> include_once() ? There actually is a difference include() and
>> include_once() will only inclu
> -Original Message-
> From: Tony Beyers [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 13, 2007 4:56 PM
> To: PHP General list
> Subject: Re: [PHP] safe_mode_include_dir
>
> No luck with these solutions. What does work is:
>
> require_once(dirname(__FIL
Message-
> > From: Tony Beyers [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, December 12, 2007 5:55 PM
> > To: PHP General list
> > Subject: Re: [PHP] safe_mode_include_dir
> >
> > Sorry about the double posting. I thought I sent the first email
> >
On Dec 13, 2007 2:49 PM, Nisse Engström <[EMAIL PROTECTED]> wrote:
> On Wed, 12 Dec 2007 15:43:28 -0500, "Daniel Brown" wrote:
>
> > Is there a specific reason you're using require_once() instead of
> > include_once() ? There actually is a difference include() and
> > include_once() will o
On Wed, 12 Dec 2007 15:43:28 -0500, "Daniel Brown" wrote:
> Is there a specific reason you're using require_once() instead of
> include_once() ? There actually is a difference include() and
> include_once() will only include the file if that line of code is
> executed, whereas require() a
> -Original Message-
> From: Tony Beyers [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 12, 2007 5:55 PM
> To: PHP General list
> Subject: Re: [PHP] safe_mode_include_dir
>
> Sorry about the double posting. I thought I sent the first email
> before
Sorry about the double posting. I thought I sent the first email
before I was subscribed.
I definitely should've pointed out that the code works with safe_mode
off so I know the paths are correct.
I'm actually not the author of the code. I'm a sys admin trying to
upgrade the site with safe_mode o
Tony,
Calm down. It may take us 21 minutes to respond sometimes, but we
will. No need to repost. ;-P
On Dec 12, 2007 3:26 PM, Tony Beyers <[EMAIL PROTECTED]> wrote:
> I'm running php 5.2.5 with these settings in a virtualhost block in
> apache 2.0.61:
> php_admin_flag safe_mode
I'm running php 5.2.5 with these settings in a virtualhost block in
apache 2.0.61:
php_admin_flag safe_mode on
php_admin_value include_path "/afs/msu.edu/.../web"
php_admin_value safe_mode_include_dir "/afs/msu.edu/.../web"
I've got an index.php file in web/support/ that doe
I'm running php 5.2.5 with these settings in a virtualhost block in apache
2.0.61:
php_admin_flag safe_mode on
php_admin_value include_path "/afs/msu.edu/.../web"
php_admin_value safe_mode_include_dir "/afs/msu.edu/.../web"
I've got an index.php file in web/support/ that d
does this include sub dirs ?
--
bye
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I have PHP 4.1.2 as Apache module, Safe-Mode On. I want to use the
safe_mode_include_dir directive and ... this does not work.
I have this in the directory directive of httpd.conf, I put the include_path
to exactly the same path, I use complete path, and I always get the
"safe-mode restric
12 matches
Mail list logo