Welcome! Log In Create A New Profile

Advanced

Re: variables in "include"

July 20, 2009 08:01PM
On Mon, Jul 20, 2009 at 4:52 PM, Marcus Clyne<maccaday@gmail.com> wrote:

> Wrt PHP, I've not tried it out so I'm not sure precisely how it works.  I'm
> assuming that all directories are searched, though, and that lower-levels
> override higher levels.  In that case, it makes sense to start at the
> bottom, since then you will only set each option once - if you discover the
> option at a higher level, then you don't need to save it, because you
> already have an option that is more specific.  It makes sense to do it this
> way if you don't need the option to prevent parsing of options in lower
> directories, but with server-level htaccess files, you would want that.

i was explained that it searches for cwd/current dir, and then down to
the document root in that order. i am not sure if it stops once it
hits a file though or continues. i want to say it stops. i might be
wrong. i got the explanation on IRC and actually asked to try to write
it up so they could post it but i didn't think about asking about the
stopping-on-finding-a-file deal.

> The stat call wouldn't be a big overhead if carried out asynchronously, but
> would really slow down the server if it wasn't.

okay, then make it async :)
Subject Author Posted

variables in "include"

Kaspars Dambis July 20, 2009 06:40AM

Re: variables in "include"

Marcus Clyne July 20, 2009 08:56AM

Re: variables in "include"

Kaspars July 20, 2009 03:24PM

Re: variables in "include"

Marcus Clyne July 20, 2009 03:54PM

Re: variables in "include"

mike July 20, 2009 04:52PM

Re: variables in "include"

Kaspars July 20, 2009 05:25PM

Re: variables in "include"

mike July 20, 2009 05:52PM

Re: variables in "include"

Kaspars July 20, 2009 06:22PM

Re: variables in "include"

mike July 20, 2009 06:29PM

Re: variables in "include"

Kaspars July 20, 2009 06:48PM

Re: variables in "include"

Kaspars July 20, 2009 06:54PM

Re: variables in "include"

mike July 20, 2009 07:01PM

Re: variables in "include"

Marcus Clyne July 20, 2009 06:13PM

Re: variables in "include"

mike July 20, 2009 06:25PM

Re: variables in "include"

mike July 20, 2009 08:01PM

Re: variables in "include"

Marcus Clyne July 20, 2009 09:10PM

Re: variables in "include"

Marcus Clyne July 20, 2009 07:52PM

Re: variables in "include"

Kaspars July 20, 2009 06:45PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 106
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready