Re: [PHP] safe_mode_include_dir

2007-12-15 Thread Richard Lynch
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

RE: [PHP] safe_mode_include_dir

2007-12-13 Thread Andrés Robinet
> -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

Re: [PHP] safe_mode_include_dir

2007-12-13 Thread Tony Beyers
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 > >

Re: [PHP] safe_mode_include_dir

2007-12-13 Thread Daniel Brown
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

Re: [PHP] safe_mode_include_dir

2007-12-13 Thread Nisse Engström
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

RE: [PHP] safe_mode_include_dir

2007-12-12 Thread Andrés Robinet
> -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

Re: [PHP] safe_mode_include_dir

2007-12-12 Thread Tony Beyers
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

Re: [PHP] safe_mode_include_dir

2007-12-12 Thread Daniel Brown
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

[PHP] safe_mode_include_dir

2007-12-12 Thread Tony Beyers
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

[PHP] safe_mode_include_dir

2007-12-12 Thread Tony Beyers
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

[PHP] safe_mode_include_dir

2003-08-22 Thread Mark Clarkstone
does this include sub dirs ? -- bye -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] safe_mode_include_dir not working

2002-03-20 Thread Estelle Martin
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