That wasn't a typo. This code is pulled directly from the phpBB installation (install.php). It is in fact:
$phpbb_root_path = './../';
include($phpbb_root_path.'extension.inc');
Jesse Santana
Project Lead - Enterprise Services Group
Information Technology Services
California State University, Long Beach
1250 Bellflower Blvd.
Long Beach, CA 90840
Office: (562)985-8511
Fax: (562)985-8855
Paul Blondé <jpb@xxxxxxxx>
08/10/2007 02:03 PM |
|
-----Original Message-----
>
>I use ../../ all over the place on PHP 5.2.1 - the only complaints I get
>from PHP is if I have not set the include path correctly.
>
>HTH
>
>Keith
>
The only thing I noticed, though, was that he posted a path with "./../",
not "../../", which could have been a typo but might not have been. I seem
to recall that some *NIX variants (notably Solaris) used to support that
style for disambiguity reasons or some such nonsense, but I can't locate the
reference to it anymore and Google chokes on even a quoted search for that.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Paul Blondé
Web Programmer
enTel Communications Inc
jpb@xxxxxxxx
250.633.5151
866.633.2644
- Follow-Ups:
- RE: PHP v4 vs. PHP v5 behavior (fwd)
- From: Keith Roberts
- RE: PHP v4 vs. PHP v5 behavior (fwd)
- References:
- RE: PHP v4 vs. PHP v5 behavior (fwd)
- From: Paul Blondé
- RE: PHP v4 vs. PHP v5 behavior (fwd)
- Prev by Date: Re: PHP v4 vs. PHP v5 behavior
- Next by Date: RE: PHP v4 vs. PHP v5 behavior
- Previous by thread: RE: PHP v4 vs. PHP v5 behavior (fwd)
- Next by thread: RE: PHP v4 vs. PHP v5 behavior (fwd)
- Index(es):