Re: note 11426 added to include
| From: | Jesus M. Castagnetto | Date: | Wed, 21 Feb 2001 04:22:07 +0000 |
| Subject: | Re: note 11426 added to include | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-11329@lists.php.net to get a copy of this message | ||
Read realpath(), include_once() and require_once().
Any workaround is not needed if those functions and
constructs are used.
I will add the editor's comment above to your note.
--- vvo@geocities.com wrote:
> Again, about the problem of file A including file B
> including file C...
>
> It is not clear to me, is it a feature or a bug?
> Seems like people have come up with a number of
> "workarounds", but I don't like either one of them.
> The right thing to do is to correct the relative
> path resolution in the PHP engine, but not put this
> burden on developers. I'll try to find out if this
> issue has been logged as a bug yet...
>
> http://www.php.net/manual/en/function.include.php
>
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> php-notes-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-notes-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
=====
--- Jesus M. Castagnetto <jmcastagnetto@php.net>
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/