RE: [PHP-INSTALL] PHP v4 vs. PHP v5 behavior (fwd)
| From: | Jesse Santana | Date: | Fri, 10 Aug 2007 21:27:13 +0000 |
| Subject: | RE: [PHP-INSTALL] PHP v4 vs. PHP v5 behavior (fwd) | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-18183@lists.php.net to get a copy of this message | ||
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@entel.ca>
08/10/2007 02:03 PM
To
"'Keith Roberts'" <keith@karsites.net>, <php-install@lists.php.net>
cc
Subject
RE: [PHP-INSTALL] PHP v4 vs. PHP v5 behavior (fwd)
-----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@entel.ca
250.633.5151
866.633.2644